• 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: NSTableView questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView questions


  • Subject: Re: NSTableView questions
  • From: "I. Savant" <email@hidden>
  • Date: Tue, 25 Sep 2007 13:59:47 -0400

On 9/25/07, I. Savant <email@hidden> wrote:
> > set up the data source array in the initialization of your controlling
> > object.  so if you have AppController with an NSMutableArray property you
> > would setup initialize / setup the data source array in AppControllers
> > init.  i guess this assumes you have AppController instantiated in your nib
> > file

  As a followup:

http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Protocols/NSNibAwaking_Protocol/Reference/Reference.html

"Because the order in which objects are instantiated from an archive
is not guaranteed, your initialization methods should not send
messages to other objects in the hierarchy. Messages to other objects
can be sent safely from within awakeFromNib—by which time it's assured
that all the objects are unarchived and initialized (though not
necessarily awakened, of course)."

--
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

References: 
 >NSTableView questions (From: Hrishikesh Muruk <email@hidden>)
 >Re: NSTableView questions (From: "Clint Shryock" <email@hidden>)
 >Re: NSTableView questions (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: NSTableView questions
  • Next by Date: Re: how to build finalcut-pro style gui apps?
  • Previous by thread: Re: NSTableView questions
  • Next by thread: NSTask -launch override
  • Index(es):
    • Date
    • Thread