On 24 Apr 2014, at 10:06 am, edward taffel <[email protected]> wrote: > at present, i’m finding it difficult to find a point, prior to NSDocument > initializing autosaved documents, to show a progress window. everything above > readFromURL is off the main thread & there is nothing in the application > delegate protocol that precedes—so far as i’m aware. any thoughts here? >
Design your progress stuff so that it can be initiated from any thread. It's not a big problem - I use -performSelectorOnMainThread: etc. Then you can insert code to establish progress anywhere that's convenient - usually at the start of the work itself. --Graham _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
