Re: NSTableView searching and predicates
Re: NSTableView searching and predicates
- Subject: Re: NSTableView searching and predicates
- From: Daniel Wambold <email@hidden>
- Date: Fri, 03 Aug 2007 11:47:31 -0400
Regarding verbosity: I wasn't sure at the time whether the crashes
were due to NSPredicate objects or NSString objects that were
released prematurely. I will pare down the code as I can, but as a
rank novice, I often don't know what I don't need. Thanks for the
advice.
Regarding the fetch: I had encountered an article explaining how to
write filters for NSTableViews, but in retrospect, it was likely
targeted to the pre-10.4 programmer. That was what I was trying to
execute in that code. As things stand, I have removed the custom -
(NSArray *)arrangeObjects:(NSArray *)objects method entirely, and I
am where I have described: fraught with trouble as soon as I filter
the results and click on an entry in the NSTableView other than the
one that's selected, if any.
Thanks again for your ongoing assistance!
-Dan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden