• 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: NSValueTransformer used with table colulms
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSValueTransformer used with table colulms


  • Subject: Re: NSValueTransformer used with table colulms
  • From: Bjoern Kriews <email@hidden>
  • Date: Thu, 25 Mar 2004 20:58:19 +0100

On 25.03.2004, at 18:41, mmalcolm crawford wrote:

On Mar 25, 2004, at 2:12 AM, Mike Thorpe wrote:

When it runs I get garbage in the column for non-zero values. It seems as if the NSTableView still thinks it's an NSNumber instead of an NSString.

Do you have a formatter or something else attached to the column?

Malcolm, could you kindly explain if and how one can use formatters
with bindings in place ?

For example, I have an NSTextField (non-editable) where I'd like
to format the contents in a way that NSNumberFormatter already supplies.

I don't want to use ValueTransformers for this because
ValueTransformers can not easily be customized, AFAIK I have
to register a different instance for each slight change in formatting.
Especially for Numbers and Dates I like to use what is available in IB.

Is it possible at all ?

Thanks a lot, Bjoern
_______________________________________________
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: NSValueTransformer used with table colulms
      • From: mmalcolm crawford <email@hidden>
References: 
 >NSValueTransformer used with table colulms (From: Mike Thorpe <email@hidden>)
 >Re: NSValueTransformer used with table colulms (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: Undo with a field editor
  • Next by Date: NSAppleScript leaking memory?
  • Previous by thread: Re: NSValueTransformer used with table colulms
  • Next by thread: Re: NSValueTransformer used with table colulms
  • Index(es):
    • Date
    • Thread