Re: number formatting
Re: number formatting
- Subject: Re: number formatting
- From: "Jonathan W. Hendry" <email@hidden>
- Date: Fri, 22 Feb 2002 19:12:06 -0600
>
Subclass NSTextfield, in your subclass init method add your shared
>
formatter object, in IB create instances of your subclass. Nothing
>
could be easier. Alternatively, you could attach your shared formatter
>
in code after your nib loads, or even have your subclass of NSTextfield
>
pose as NSTextfield so you get this behavior with no modification
>
(although I wouldn't recommend that).
Or set up a text field in IB with the desired formatter, and plop
that on a custom palette. Use that formatted text field when building
new UIs.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.