On 2013 Apr 29, at 15:21, Quincey Morris <[email protected]> 
wrote:

> You should generate your own unique file name, then. There's no value in 
> preserving the incoming file name anyway, is there, since you're returning a 
> different URL, right?

Don't be afraid to do what Quincey says, Steve.  Off hand, I can think of at 
least two places in my NSDocument subclasses where I've had to work around 
stuff sent to me by Cocoa which makes no sense.

The document system in Cocoa is really complicated, and in Lion and Mountain 
Lion it became even more so.  I wonder if anyone at Apple has ever worked out 
all of the states in all of the corner cases, or if that is even humanly 
possible.  Maybe in their new building they'll have some really big conference 
rooms with really big whiteboards.


_______________________________________________

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]

Reply via email to