Re: saveDocument:
Re: saveDocument:
- Subject: Re: saveDocument:
- From: ecir hana <email@hidden>
- Date: Thu, 10 May 2012 11:05:12 +0200
On Thu, May 10, 2012 at 2:24 AM, Graham Cox <email@hidden> wrote:
>
> If you build a document-based app using Xcode's template, it will work
> correctly from the very first time you run it. Then you can see how it's
> put together, and all of these things will slowly become obvious.
>
I'm doing precisely this. I run two projects in parallel, one by Xcode, one
by hand and compare the findings. The problem I have right now is that the
one from Xcode just works and I don't know why, it seems to do lots of
things under the hood. For instance, MyDocument.m does not even have to
have dataOfType:error: or readFromData:ofType:error: in order to show "Save
as" enabled in the menu. On the other hand, yes, that's something I totally
did not anticipate so I guess I learned something new.
> At the very least if you insist on this approach, you should read all of
> the documentation thoroughly, so you understand the (many) concepts that
> lie behind Cocoa's architecture.
>
I'm reading, really.
_______________________________________________
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