Re: Bindings, Tables: when are add requests satisfied?
Re: Bindings, Tables: when are add requests satisfied?
- Subject: Re: Bindings, Tables: when are add requests satisfied?
- From: m <email@hidden>
- Date: Sat, 6 Aug 2005 04:34:15 -0700
On Aug 6, 2005, at 3:28 AM, Scott Anguish wrote:
I'm working with a table bound to an array via an
NSArrayController subclass.
Is it actually the case that calling NSArrayController's
addObject: method merely **schedules** the addition of an object?
It seems that once addObject: is called, I have to wait until some
time after the current run loop before my override of newObject
actually gets called.
In Mac OS X v10.4 and later, the target-action methods are
deferred, so that the error mechanism can display a sheet.
That's kind of surprising... This isn't in the documentation, is it?
In my copy of the docs it says that addObject: "Adds object to the
receiver’s content array and the arranged objects array."
Perhaps I'm being too literal minded, but my interpretation of this
is that after (and I mean *right* after) I call addObject, the object
should have been added.
Bug in the documentation?
_murat _______________________________________________
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