Re: NSTreeController problems

2008-05-18 Thread Charles Srstka
On May 18, 2008, at 6:44 PM, Jonathan Dann wrote: Yeah that one's really useful. NSTreeController is so much easier to use in 10.5 but those extensions to NSTreeController NSTreeNode and NSIndexPath make it really simple to use. You're welcome. These ones I didn't post but I use ALL the tim

Re: NSTreeController problems

2008-05-18 Thread Jonathan Dann
On 18 May 2008, at 23:57, Charles Srstka wrote: On May 18, 2008, at 5:47 PM, Jonathan Dann wrote: Not any more, the documentation may not have been updated yet. The header for NSTreeController says differently as of 10.5. It's always good to check the docs and the comments in the header

Re: NSTreeController problems

2008-05-18 Thread Charles Srstka
On May 18, 2008, at 5:47 PM, Jonathan Dann wrote: Not any more, the documentation may not have been updated yet. The header for NSTreeController says differently as of 10.5. It's always good to check the docs and the comments in the header file. (control double click on the word NSTreeCo

Re: NSTreeController problems

2008-05-18 Thread Jonathan Dann
On 18 May 2008, at 21:57, Charles Srstka wrote: Thanks, that looks very useful. I only have one trepidation about it, which concerns this: On May 18, 2008, at 3:33 PM, Jonathan Dann wrote: - (NSArray *)rootNodes; { return [[self arrangedObjects] childNodes]; } Isn't -arrangedObjec

Re: NSTreeController problems

2008-05-18 Thread Charles Srstka
Thanks, that looks very useful. I only have one trepidation about it, which concerns this: On May 18, 2008, at 3:33 PM, Jonathan Dann wrote: - (NSArray *)rootNodes; { return [[self arrangedObjects] childNodes]; } Isn't -arrangedObjects one of those methods you're never supposed to

Re: NSTreeController problems

2008-05-18 Thread Jonathan Dann
On 18 May 2008, at 20:57, Charles Srstka wrote: Lately, I've been trying to update my stodgy old ways and try to incorporate some of the new technologies Cocoa has picked up over the years when starting new projects (my main app has had to be compatible with older OS X versions, so I haven

NSTreeController problems

2008-05-18 Thread Charles Srstka
Lately, I've been trying to update my stodgy old ways and try to incorporate some of the new technologies Cocoa has picked up over the years when starting new projects (my main app has had to be compatible with older OS X versions, so I haven't had much opportunity to jump into the world of