Re: Table data not initializing [Solved]
Re: Table data not initializing [Solved]
- Subject: Re: Table data not initializing [Solved]
- From: Scott Anguish <email@hidden>
- Date: Mon, 26 Apr 2004 19:16:28 -0400
is this a document based application?
If it is, then windowControllerDidLoadNib: is the place to do it.
otherwise awakeFromNib is a good place.
On Apr 26, 2004, at 6:29 PM, Ken Tozier wrote:
I was following an example from the book "Cocoa programming for Max OS
X" by Aaron Hillegass which initialized it's tableView data source
inside the "windowDidLoad" method. On a whim I put the init code inside
"awakeFromNib" and it worked.
I'm happy it works now but am wondering why code from someone with as
much experience as Aaron Hillegass didn't work. Is there some reason
NOT to put data source initialization inside "windowDidLoad"?
Ken
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.