I have an NSArrayController that, at the request of the user, can be given a 
new fetch predicate. To do that I use the setFetchPredicate: method. How can I 
detect when this predicate has been applied and the appropriate fetching is 
done? I have not come across any delegate method for it.

I suspect that this is made tricky because of the following quote from the docs 
under the fetch: method of NSObjectController (which by the way is a superclass 
of NSArrayController):

"Beginning with Mac OS X v10.4 the result of this method is deferred until the 
next iteration of the runloop so that the error presentation mechanism can 
provide feedback as a sheet."

So the problem is that it finishes somewhere in the next runloop iteration, 
making it harder to do some custom things after it finishes.

Thanks, U.
_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Spaces. 
It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to