On Nov 10, 2013, at 1:14 PM, Kyle Sluder <k...@ksluder.com> wrote:

>> On Nov 10, 2013, at 1:06 PM, Charles Srstka <cocoa...@charlessoft.com> wrote:
>> 
>> What I usually do is just have NSDocument's readFromData/URL/fileWrapper/etc 
>> method not actually do much, and then in windowControllerDidLoadNib: put up 
>> a progress bar, and start the loading in a background thread. You can either 
>> do this by hiding the main window and displaying the progress bar in a 
>> separate window, or by showing the empty document window and putting up a 
>> sheet with the progress bar in it while the document window is populated 
>> with data.
> 
> This sounds like a violation of file coordination and NSDocument 
> file-activity rules. You really ought to load your document contents in the 
> initializer.


*initializer*?




--
Seth Willits




_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to