Re: NSNumberFormattter not working
Re: NSNumberFormattter not working
- Subject: Re: NSNumberFormattter not working
- From: Alastair Houghton <email@hidden>
- Date: Thu, 12 Jul 2007 20:09:11 +0100
On 12 Jul 2007, at 19:56, Ken Tozier wrote:
On Jul 12, 2007, at 2:44 PM, Alastair Houghton wrote:
There's no need for you to create a custom text field to do what
you're doing here.
Probably not. But I think there will be more uses for a dedicated
integer text field so just thought encapsulating the whole mess
would make it easier to use in the future.
Well you could just use a standard text field and call its -
setFormatter: method in your -awakeFromNib.
Kind regards,
Alastair.
--
http://alastairs-place.net
_______________________________________________
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