Custom NSBox, init not called from IB/nib
Custom NSBox, init not called from IB/nib
- Subject: Custom NSBox, init not called from IB/nib
- From: Jacob Ole Juul Kolding <email@hidden>
- Date: Sun, 20 Jul 2008 23:31:49 +0200
Hello List
I quite new to Obj-C and Cocoa.
I've implemented a custom NSBox with an overwritten init function like this:
-(id) init { self = [super init]; if (self) { [self setBorderType:NSNoBorder]; } return self; }
Added a NSBox in IB and seleceted my custom class as the base class for the box, but my init function is never called?
Does anyone know what I might be doing wrong?
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden