• 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: Question about Saving a document
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about Saving a document


  • Subject: Re: Question about Saving a document
  • From: Paul Lynch <email@hidden>
  • Date: Mon, 5 Jun 2006 11:50:35 +0100


On 5 Jun 2006, at 11:42, Francis Derive wrote:

My document nib has :
	- an instance of a simple model object,

You don't want to have your model instantiated in the nib, in general, although there are situations where it could be appropriate.


Create an instance variable in your document subclass and set it to the model object. Then you can access it in the dataOfType:/ readFromData: methods.

Paul
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Question about Saving a document
      • From: Francis Derive <email@hidden>
    • Re: Question about Saving a document
      • From: Francis Derive <email@hidden>
References: 
 >Question about Saving a document (From: Francis Derive <email@hidden>)

  • Prev by Date: Question about Saving a document
  • Next by Date: Re: Issues with the NSFormatter
  • Previous by thread: Question about Saving a document
  • Next by thread: Re: Question about Saving a document
  • Index(es):
    • Date
    • Thread