• 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: Lance Bland <email@hidden>
  • Date: Fri, 22 Feb 2002 21:11:20 -0500

On Friday, February 22, 2002, at 08:12 PM, Jonathan W. Hendry wrote:

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.

We just preformat all the values that go into text fields and place them in as strings. It is much easier than having to subclass all the text fields in IB or making a custom palette. Also, we've had compatibility problems with custom palettes between versions of IB, and some of our nibs stopped loading when we used custom palettes.

By the way, is there now documentation for making palettes for IB? Or is it still header files only? A pointer to the docs would be appreciated. (not a tutorial, but actual reference documentation describing the methods).

I think the statement that a text field should show the value of 0.4 as 0.4 is a fair specification for a default behavior of a text field.

-lance


_______________________________________________
Lance Bland
System Administrator at VVI
mailto:email@hidden
http://www.vvi.com
Realtime, bulk and web data reporting and visualization
_______________________________________________
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: "Jonathan W. Hendry" <email@hidden>
    • Re: number formatting
      • From: Bob Savage <email@hidden>
References: 
 >Re: number formatting (From: "Jonathan W. Hendry" <email@hidden>)

  • Prev by Date: Re: Cocoa newbie - document-based Cocoa app with OpenGL
  • Next by Date: Re: clicking in NSCells
  • Previous by thread: Re: number formatting
  • Next by thread: Re: number formatting
  • Index(es):
    • Date
    • Thread