Re: newbie question -views and MCV model
Re: newbie question -views and MCV model
- Subject: Re: newbie question -views and MCV model
- From: Alexander Spohr <email@hidden>
- Date: Fri, 15 Jan 2010 09:27:48 +0100
Am 15.01.2010 um 05:57 schrieb Martin Beroiz:
> My problem is with the controller. I subclassed NSViewController (with the name FilterBankViewController) and tried to bind the class with the file's owner. But I noticed that in IB I cannot do that, actually the bind tab says it's "Not Applicable".
You need to set the FilesOwner’s class to FilterBankViewController.
The FilesOwner is a placeholder for the object that becomes the owner of the nib-file :)
Then you alloc your FilterBankViewController and have it load the nib with itself as the owner.
See
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
of NSViewController.
atze
_______________________________________________
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