Re: Upgrading NSDocument format, best practice
Re: Upgrading NSDocument format, best practice
- Subject: Re: Upgrading NSDocument format, best practice
- From: "I. Savant" <email@hidden>
- Date: Wed, 16 Sep 2009 10:52:54 -0400
On Sep 16, 2009, at 10:48 AM, Graham Cox wrote:
So far I haven't experienced any problems and it prompts for save
just like any untitled document would.
Hmmm ... it just seems wrong to me, though. :-) Perhaps it's not a
"short-circuiting" in the sense I so dramatically described, but a
well-defined mechanism already exists in Cocoa. In your case, I would
imagine a ".mydoctemplate" as a non-editing-role type for ".mydoc"
would be "more Cocoa-like". That's my opinion, though, not gospel.
For that matter, isn't this a job for "stationary"? Does Cocoa
respect it and "do the right thing"? I see you yourself had asked this
very question:
http://lists.apple.com/archives/Cocoa-dev/2008/Oct/msg00804.html
:-)
--
I.S.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden