Re: Problem with multiple instances of a nib
Re: Problem with multiple instances of a nib
- Subject: Re: Problem with multiple instances of a nib
- From: Graham Cox <email@hidden>
- Date: Mon, 23 Nov 2009 09:26:46 +1100
On 23/11/2009, at 9:06 AM, PCWiz wrote:
> @interface ImagePanelController : NSObject {
I don't know what the problem is with your code, but why not make ImagePanelController a subclass of NSWindowController? That way you get a) a cleaner, simpler API for loading the nib, and b) an already debugged class that will do what you want with less work. The path to an easier life with Cocoa usually consists of doing things the conventional way.
--Graham
_______________________________________________
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