• 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: Array Controller sort descriptors vs. SQLite data store (was Re: localized compare and SQLite persistent store)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Array Controller sort descriptors vs. SQLite data store (was Re: localized compare and SQLite persistent store)


  • Subject: Re: Array Controller sort descriptors vs. SQLite data store (was Re: localized compare and SQLite persistent store)
  • From: Jim Correia <email@hidden>
  • Date: Wed, 7 Sep 2005 11:55:25 -0400

On Sep 7, 2005, at 11:35 AM, Jim Correia wrote:

1) an NSTableView which was using localizedCaseInsensitiveCompare: for the columns

2) derived attributes

I have a "source list" for which I've manually set the sort descriptors based on name and priority. Priority isn't a model attribute, but a constant returned from a KVC compliant method based on the object type.

Upon loading the UI, the controller fetches and logs

2005-09-07 11:28:08.782 Organizer[1820] *** NSRunLoop ignoring exception 'unresolved keypath: priority' that raised during posting of delayed perform with target 4c2b20 and selector 'invokeWithTarget:'

In fact CoreRecipes has the same problem, but it doesn't surface because

a) it is using the XML store
b) it uses a tree controller instead of an array controller for the source list


I added an additional source list to my copy of CoreRecipes which uses an array controller based source list, and I get the same exception about the unresolved keypath: priority.

Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Array Controller sort descriptors vs. SQLite data store (was Re: localized compare and SQLite persistent store) (From: Jim Correia <email@hidden>)

  • Prev by Date: Re: iTunes playlist icons
  • Next by Date: Re: Core Data Accessor method generation
  • Previous by thread: Array Controller sort descriptors vs. SQLite data store (was Re: localized compare and SQLite persistent store)
  • Next by thread: IB - HowTo put an NSButtonCell in TableColumn
  • Index(es):
    • Date
    • Thread