• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTableView searching and predicates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Making my own constants for Cocoa structs
  • Next by Date: Re: Making my own constants for Cocoa structs
  • Previous by thread: Re: NSTableView searching and predicates
  • Next by thread: Outline view and expanding most recent item
  • Index(es):
    • Date
    • Thread