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 protected])
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]