Re: Detecting when fetch: finishes

2009-06-04 Thread mmalc Crawford
On Jun 4, 2009, at 2:45 AM, Ulai Beekam wrote: How would you get around this problem? I would do what the Programming Guide suggests in the link I gave. (Execute the fetch manually.) mmalc ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

RE: Detecting when fetch: finishes

2009-06-04 Thread Ulai Beekam
in other words, no way to know when the fetching with the new fetch predicate completes. How would you get around this problem? > From: mmalc_li...@me.com > Date: Wed, 3 Jun 2009 22:41:48 -0700 > To: cocoa-dev@lists.apple.com > Subject

Re: Detecting when fetch: finishes

2009-06-03 Thread mmalc Crawford
On Jun 3, 2009, at 4:12 PM, Ulai Beekam wrote: 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 hav

Re: Detecting when fetch: finishes

2009-06-03 Thread Kyle Sluder
On Wed, Jun 3, 2009 at 6:21 PM, Keary Suska wrote: > I wonder if you can make an NSArrayController subclass, override > -fetchWithRequest:merge:error: to just call super, and after the call (which > should be synchronous), call your special post-processing method. Just a > stab in the dark, but mi

Re: Detecting when fetch: finishes

2009-06-03 Thread Keary Suska
.@esoteritech.com To: cocoa-dev@lists.apple.com Date: Wed, 3 Jun 2009 17:31:32 -0600 Subject: Re: Detecting when fetch: finishes On Jun 3, 2009, at 5:12 PM, Ulai Beekam wrote: I have an NSArrayController that, at the request of the user, can be given a new fetch predicate. To do that I use t

RE: Detecting when fetch: finishes

2009-06-03 Thread Ulai Beekam
? > From: cocoa-...@esoteritech.com > To: cocoa-dev@lists.apple.com > Date: Wed, 3 Jun 2009 17:31:32 -0600 > Subject: Re: Detecting when fetch: finishes > > On Jun 3, 2009, at 5:12 PM, Ulai Beekam wrote: > >> I have an NSArrayControl

Re: Detecting when fetch: finishes

2009-06-03 Thread Keary Suska
On Jun 3, 2009, at 5:12 PM, Ulai Beekam wrote: 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

Detecting when fetch: finishes

2009-06-03 Thread Ulai Beekam
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 sus