Re: Custom NSTextField Cell
Re: Custom NSTextField Cell
- Subject: Re: Custom NSTextField Cell
- From: SA Dev <email@hidden>
- Date: Tue, 2 Aug 2005 16:35:42 -0400
Oh, and FWIW, I can understand why you'd want to do everything in
IB (the easy way), but there are many situations where you have to do
things programmatically. This isn't one of them (though extra steps
are involved), but you shouldn't be hesitant to do things in code. If
you can set it in IB, you can set it in code.
On Aug 2, 2005, at 4:06 PM, Todd Yandell wrote:
On Aug 2, 2005, at 2:54 PM, SA Dev wrote:
How about on awakeFromNib, you tell your text field -
setCell:myCustomCellInstance ... ?
Yes, that works. But the problem is doing that loses all of the
configuration I set in IB. It all goes back to the default settings
(control size, font size, etc.). It doesn't make any sense to get
it all set up in IB, just to redo it in code. I'm looking for a way
to substitute my class and still keep all of the values I set in IB.
Thanks!
Todd
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40silentalcove.net
This email sent to email@hidden
_______________________________________________
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