Re: NSValueTransformer used with table colulms
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.