On Thu, May 10, 2012 at 2:24 AM, Graham Cox <graham....@bigpond.com> 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 (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