• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: number formatting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: number formatting
      • From: Lance Bland <email@hidden>
References: 
 >Re: number formatting (From: email@hidden)

  • Prev by Date: NSWorkspaceRecycleOperation and auto-renaming items moved to Trash
  • Next by Date: Re: NSView subclass input question
  • Previous by thread: Re: number formatting
  • Next by thread: Re: number formatting
  • Index(es):
    • Date
    • Thread