Re: Restoring saved fileWrapper items problem
Re: Restoring saved fileWrapper items problem
- Subject: Re: Restoring saved fileWrapper items problem
- From: Uli Kusterer <email@hidden>
- Date: Mon, 13 May 2013 18:14:41 +0200
You're prolly running afoul of the fact that the -read... call gets called before the NIB is loaded. In general, the recommendation is that you put your code to load the UI into a separate method, and keep the images in ivars. Then readXXX just sets the ivar, and the update UI method gets called in both windowControllerDidLoadNib and readXXX.
Loading the images directly and then keeping them in the views violates Model-View-Controller.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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