Hi!

I'm facing a little dilemma: in a modal dialog, I'd like to create a new core 
data entity with -[aNSArrayControllerInEntityMode insert:] and initialize some 
attributes of this new entity.

However, the creation and insertion of the new entity is delayed one run loop 
iteration; but, in a modal dialog, the run loop is stopped! So, what I am to 
do? Use -[NSApp beginModalSessionForWindow:] and -[NSApp 
endModalSessionForWindow:] instead of just [NSApp runModalForWindow:]?

Any suggestion?

Thanks,
Vincent_______________________________________________

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