On Nov 2, 2009, at 2:51 PM, Richard Somers wrote:
<snip>
I think the problem is with the add: method. The documentation states "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."I can not figure out how to work around this.
Use the -newObject method to create a new instance, do what you need to do with it, then pass it to -addObject:.
Otherwise, defer the work you need to do with the value until the next runloop as well, using -performSelector:withObject:afterDelay:.
Jason
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ 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