Re: NSTextField subclass - not using NSTextFieldCell subclass when unarchived from nib?
Re: NSTextField subclass - not using NSTextFieldCell subclass when unarchived from nib?
- Subject: Re: NSTextField subclass - not using NSTextFieldCell subclass when unarchived from nib?
- From: Jim Correia <email@hidden>
- Date: Sat, 29 Jul 2006 10:22:34 -0400
On Jul 29, 2006, at 10:11 AM, Julio Cesar Silva dos Santos wrote:
Try the following test:
if ([self isKindOfClass:[MyTextField class]]) {
...
}
I can remove the test altogether (and end up with a +initialize that
doesn't follow the best practices in the documentation) and it still
doesn't work :-)
It appears this issue has come up before:
http://www.cocoabuilder.com/archive/message/cocoa/2005/8/2/143422
At that time it appears the only solution was to programatically
create the controls. Is that still the status quo, or is there a way
to make this work from the .nib? (as I mentioned in my original post,
this *does* work for NSTokenField/NSTokenFieldCell subclasses.)
Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden