Re: Limiting NSTextField to numbers?
Re: Limiting NSTextField to numbers?
- Subject: Re: Limiting NSTextField to numbers?
- From: Andy Lee <email@hidden>
- Date: Wed, 21 Jan 2009 12:09:43 -0500
I haven't used a formatter myself, but I typed "formatter" in the
search field of the Library window in IB, and it gave me three kinds
of formatter object I could drag and drop, including NSNumberFormatter.
--Andy
On Jan 21, 2009, at 11:14 AM, Brooke Gravitt wrote:
On Wed, Jan 21, 2009 at 11:07 AM, I. Savant
<email@hidden> wrote:
See NSNumberFormatter.
Thanks for the RTFM.
It looks like you can no longer get an NSNumberFormatter from the
Views pane in Interface Builder & wire it up as was ( recent? )
convention. Is there still a way to do this? I'm not even sure how to
subclass objects in IB anymore, the GUI is quite a bit different than
in 2.x. Am I missing it? All the Cocoa books & web references point to
dragging the formatter from the Views pane onto your text field and
configuring it, then overriding the methods.
Brooke
_______________________________________________
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
_______________________________________________
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