• 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: NSPredicate / NSArray addObserver:forKeyPath:options:context: exception
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPredicate / NSArray addObserver:forKeyPath:options:context: exception


  • Subject: Re: NSPredicate / NSArray addObserver:forKeyPath:options:context: exception
  • From: Mikkel Eide Eriksen <email@hidden>
  • Date: Sat, 29 Sep 2012 19:06:25 +0200

On 29/09/2012, at 18.49, email@hidden wrote:
> Message: 5
> Date: Sat, 29 Sep 2012 13:48:40 +0200
> From: Willeke <email@hidden>
> To: Cocoa-Dev List <email@hidden>
> Subject: Re: NSPredicate / NSArray
> 	addObserver:forKeyPath:options:context:	exception
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset=us-ascii
>
> Is "Auto Rearrange Content" of the array controller switched on? The array controller can't observe to-many relationships.

That did it! I turned it off, and the predicate started filtering without throwing exceptions.

> Does NSPredicateEditor work with to-many relationships? I don't think so, but I'm not sure.

The filter predicate does appear to be filtering to-many correctly on first inspection.

Mikkel
_______________________________________________

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: Re: Crash when loading NSViewController view with NSArrayController
  • Next by Date: Re: The joy of unexpected SIGABRTs
  • Previous by thread: Re: Crash when loading NSViewController view with NSArrayController [solved]
  • Next by thread: Constraints Question
  • Index(es):
    • Date
    • Thread