• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: saveDocument:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >saveDocument: (From: ecir hana <email@hidden>)
 >Re: saveDocument: (From: Fritz Anderson <email@hidden>)
 >Re: saveDocument: (From: ecir hana <email@hidden>)
 >Re: saveDocument: (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: __bridge_transfer on a method return value
  • Next by Date: Re: Accessibility issues with NSPopover
  • Previous by thread: Re: saveDocument:
  • Next by thread: self.myTextField.stringValue = @"" fails
  • Index(es):
    • Date
    • Thread