Let’s assume we’re using a NSDocument-based application.  If we’re opening a 
big file, like a gigabyte or more, does the system code automatically show a 
progress bar dialog?  Or does the user look at a whole bunch of nothing (i.e. 
wondering if the app locked up)?

If the latter, I guess we would (eventually) implement a opening progress 
window ourselves.  I’m thinking of a app-global window that contains a list.  
Each list item corresponds to an object of a NSOperation subclass; where the 
operation and list item have the same lifetime.  The operation could have a 
NSProgress object that the list item tracks.  (Hopefully NSProgress is 
sufficiently thread-safe.)  Is that workable?  Is there a better idea?

— 
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com 

_______________________________________________

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