(Using Xcode 4.2, writing for OS X Lion)
I have a hierarchy of stuff I want to display (at the same time) in both
outline view and a custom view. Sort of analagous to the Buck and Yacktman
(Cocoa Design Patterns) example in CH. 29, but with Outline instead of
Table. I'll most likely have a detail
Well, this isn't the first time I've felt stupid.
I had thought it should work that way, but I wasn't dragging _far_enough_
to the left.
Thanks for setting me straight!
John V.
On Sat, Sep 10, 2011 at 08:00:30PM -0700, Jerry Krinock wrote:
>
> On 2011 Sep 10, at 16:
nd" would still indicate it was
dropping on a child.
I'd appreciate any guidance.
John Velman
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderato
the same thing.
There are free HTML editors out there, if that's more to your taste than
plain text with markup. I tried Amaya, as I recall, but went back to
Vim/Pandoc.
There is an Apple help-authoring mailing list. Perhaps you should
subscibe. Fairly low traffic.
Best,
John Velman
NSTreeNode doesn't seem to be NSCoding compliant. How does one archive a
tree when using NSTreeNode? Does one, when saving, extract the represented
objects for archiving, then rebuild with NSTreeNodes when unarchiving?
Can't seem to find any examples or information.
Thanks,
J
Somewhere I read that printing is always a pain, but with Cocoa it's
somewhat less of a pain.
Not that I've done a lot of printing, but that was my impression. (Some
years ago I tried printing with Microsoft Visual C++ and that was really
bad -- maybe MSVC is better by now, but haven't touched MS
Forgot to note that I'm still working in OS X 10.5.8, XCode 3.1.4.
On Fri, Dec 11, 2009 at 11:06:38AM -0800, John Velman wrote:
>
> I'm at my wits end trying to add a service to my app, with no luck
> getting it into the servic
I'm at my wits end trying to add a service to my app, with no luck
getting it into the services menu of anything.
It appears to have the right info in both the lsregister dump, and the
~/Library/Preferences/pbs. ... .plist file. (I've included these below).
Could it be that something is wrong
in fact can't even get
it listed in the services menu, but I'll try to debug this a bit more on my
own before asking the list.)
Thanks,
John Velman
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or mode
On Thu, Aug 13, 2009 at 08:50:06PM -0500, Ken Thomases wrote:
> On Aug 13, 2009, at 4:07 PM, John Velman wrote:
>
>> - (BOOL)readFromData:(NSData *)data ofType:(NSString *)typeName
>> error:(NSError **)outError
>> {
>>NSLog(@"readFromData has been call
ad it, but some time ago, and I didn't re-read it for
this.
Sorry for the inconvenience!
John Velman
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators
this is due to returning NO.
But what is the unimplemented core routine?
I'm using Xcode 3.1.3, on OS X 10.5.8, Intel core 2 duo. My active
architecture is i386, sdk is 10.5, build configuration is Debug.
Thanks,
John Velman
___
Cocoa-dev mai
I don't know about UML diagram, but Doxygen can produce diagrams of
different types, and can also be used to produce Xcode documentation sets:
http://developer.apple.com/tools/creatingdocsetswithdoxygen.html
Best,
John Velman
On Wed, Jun 24, 2009 at 11:16:14AM -0400, Dennis Christopher
I haven't tried it, but it's on my todo list. The other day I ran across
ArgoUML at http://argouml.tigris.org/. It runs on "any Java platform".
I'd be interested in what you end up using.
John Velman
On Tue, Jun 23, 2009 at 06:49:18PM -0700, Brad Gibbs wrote:
> Hi
ing
programming topics for cocoa", and "Mac OS X Printing System Overview" I
found "Text Layout Programming Guide for Cocoa" especially useful.
Good luck. If there is any documentation like you are asking for, I'd
be happy to see it also.
If you don't get a bet
ld be more convenient.
Well, thanks again,
John Velman
On Mon, Dec 29, 2008 at 09:21:50AM -0800, John Velman wrote:
>
> Thanks, Martin.
[snip]
>
> Thanks again,
>
> John V.
>
>
> On Sun, Dec 28, 2008 at 11:23:32PM -0800, Martin Wierschin wrote:
> > Hi Joh
Thanks, Martin. I hadn't found the fact that the form feed character (also
\f, inside q quoted string) would cause the break and move to the new
container. This works for my current testing (I'm just writing a test
program to explore the text system and what tricks I can do with it). If I
need
start out in the
textContainer2. I can't see a way to do this using only one NSTextStorage
instance
>From what I can tell, it would seem to require two NSTextStorage instances
with corresponding layout managers and textContainers. It seems I'm
missing something.
I need a me
I'm missing something obvious, but I don't know what.
I want to use NSWorkspace to open an application from a command line
Foundation Tool.
When I try to build the simplest thing, I get
--
Undefined symbols:
".objc_class_name_NSWorkspace", referenced from:
[EMAIL PROTECTED]@[
icular in mind? I don't need undo and redo (all changes to database
are directly to database via sql, and one table in database keeps a
historical record which can be used for undo ...). Likewise, I don't need
'save', 'save as' , 'new'...
Well, Thanks Aga
ate for NSDocument-based applications."
Is there a NSDocument method I should be overriding? It's probably
obvious, but there is sooo much to read...
Thanks,
John Velman
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not
I'm new to objective-C and cocoa also, I I don't know the answer to your
specific question about "self". However, seems that one way to do it would
be to have the init of mySubObject have an initializer with argument, and
you would then create it something like this:
SubObject * mySubObject = [[S
all these unless I want to describe
the architecture to a third party. In another sense, it is important to
think of them in such a way as to encourage (for myself) appropriate MVC
modularization as I proceed.
Thanks for listening!
John Velman
>
> Cocoa-dev mailing list (Cocoa-dev@lists
g!
Thanks for your help and patience.
John Velman
On Mon, Oct 20, 2008 at 04:09:20PM -0700, Aki Inoue wrote:
>
> On 2008/10/20, at 13:46, John Velman wrote:
>
>> Thanks, Aki, this helps clear some things up. However, two questions:
>>
>> 1) What does "possibly&quo
[aTextView nextResponder]];
I tried this and it doesn't work. Could be I'm sending the message to the
wrong object?
Thanks,
John Velman
On Mon, Oct 20, 2008 at 12:29:00PM -0700, Aki Inoue wrote:
> John,
>
> "End editing" doesn't necessarily mean losing focus in
ation on field editors. By
default, text views don’t behave as field editors.
So where can I look to find out why my field editor is not behaving as a
field editor?
Thanks,
John Velman
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please
t 03:10:27PM -0400, I. Savant wrote:
> On Oct 7, 2008, at 2:55 PM, John Velman wrote:
>
>> I'm able to get the selected row index, but this seems to give the
>> "geographic" index of the selected row in the table, as sorted.
>
> Why don't you get the
o
Cocoa, new to Mac as well. (And very happy with both, as well as the
helpful people on this list.)
Thanks,
John V.
>
>
> On Oct 7, 2008, at 1:47 PM, John Velman wrote:
>
>> I've got a number of text boxes to be filled in by the user. Tab order
>> works fine us
y and map the
selection back to the original data.
I'm using IB and key value binding, and registering a notification to get
the fact of selection did change.
Thanks,
John Velman
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not p
llgass nor Anderson seem to cover these (I admit I read
impatiently and rely on the index a lot), and the Apple documentation (and
various archives) are so extensive I haven't been able to hit exactly the
key words to get to the answers.
Best,
John Velman
__
nages the presentation of the document in a
window. In MVC terms, a NSWindowController document is a view-controller: "
But I take your point!
Thanks, again,
John V.
On Tue, Sep 16, 2008 at 10:18:32AM -0700, Quincey Morris wrote:
> On Sep 16, 2008, at 09:49, John Velman wrote:
>
In my app, I'm using multiple windows to get multiple perspectives on the
model.
If I understand correctly, MyDocument should typically be the Model
controller as well as owner of the NSWindowControllers. And in a NIB (or
XIB), the NSWindowController is the File's Owner, and is the main "View
Con
Thanks. I think the self.document method you describe will do it for me.
This is part of the syntax (and a relation) that I'd missed. So much
to learn!
John V.
On Sat, Aug 30, 2008 at 06:16:17PM -0700, Quincey Morris wrote:
> On Aug 30, 2008, at 17:50, John Velman wrote:
>
&g
y", and a method "setCreatedby". Then in MyDocument, when I
alloc and init the instance of the masterWindowController, I follow
directly with [masterWindowController setCreatedby:self].
Or, is there a more Cocoa-ish way of doing this?
Thanks,
John Velman
__
emo
code (which just writes to the console) in the Action.
WONDERFUL. It works just fine. I can't believe how much time I've wasted
trying to do something more complicated. :-)
Thanks again!
John V.
On Mon, Aug 04, 2008 at 11:39:42AM -0700, John Velman wrote:
> Since I sent
>
> On Aug 4, 2008, at 11:56 AM, John Velman wrote:
>
>> After making changes to move the download from sqlite to sqlite3, and
>> checking that I have /usr/local/lib/libsqlite3.a, and putting
>> /usr/local/lib in the library search path of the project, the source for
&
I need a sqlite wrapper. After much surfing and reading, I decided to try
the one:
// Created by Dustin Mierau on Tue Apr 02 2002.
// Copyright (c) 2002 Blackhole Media, Inc. All rights reserved.
//
After making changes to move the download from sqlite to sqlite3, and
checking that I have
On Sat, Jul 12, 2008 at 08:25:39PM -0700, John Velman wrote:
> Thanks, Chris,
>
> Using the SQLite 3 api as you suggest sounds good, but there are a couple
--[snip]
Thanks to all who responded. Things are much clearer now.
Just a word about third party software. I didn't mea
See below:
On Sun, Jul 13, 2008 at 12:09:13PM +1000, Steve Steinitz wrote:
> Hi John,
>
> On 12/7/08, [EMAIL PROTECTED] wrote:
>
>> 1) a) generate my application in XCode, use the sqlite storage option, put
>> in some dummy data, then use sqlite3 to explore the resulting schema, b)
>> transform my
past week, but haven't come across anything directly
related to this.
Thanks,
John Velman
On Sat, Jul 12, 2008 at 05:27:56PM -0700, Chris Hanson wrote:
> On Jul 12, 2008, at 4:54 PM, John Velman wrote:
>
>> So, being new to Cocoa, XCode, objective-c, How do I get my data
This seems to be revisiting an old question, but I haven't been able to
find an answer.
I have an existing set of data in sqlite. To be honest, it isn't set up in
the schema I'd most like, yet, but in sqlite I know how to transform it,
and put it into the desired schema.
I like the features core
ul 10, 2008 at 01:54:22PM -0700, Jens Alfke wrote:
>
> On 10 Jul '08, at 10:19 AM, John Velman wrote:
>
>> If I set the SCM options properly, and use XCode3, following steps as
>> outlined in the NSPersistentDocument CoreDataUtilityTutorial (but setting
>> the SCM op
s without more study, but the amount of
available material is huge, and I need to get this project going pretty
soon.
Thanks,
John Velman
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments
43 matches
Mail list logo