• 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
Bindings, Floats, and NSMutableDictionary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bindings, Floats, and NSMutableDictionary


  • Subject: Bindings, Floats, and NSMutableDictionary
  • From: John Spicer <email@hidden>
  • Date: Thu, 21 Oct 2004 11:30:08 -0500

We've got some data coming into our system as an NSMutableDictionary. One of the items is a float, but it's delivered to us as a string.

We use bindings to put the dictionary into a table. I had hoped to use a formatter to convert this data in the table from a string to a dollar value.

Alas, I get nothing, I think because the data item is a string in the dictionary.

There is no transform available for this in IB. Is there a simple way to do this in IB that I've missed? Or do I need to either a) ask for the data to be delivered as a float, or b) write a custom transform and attach it via code?

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Prev by Date: Increasing size of NSImage by adding padding
  • Next by Date: Re: Help Help or is there any logic to CFBundleHelpBookName
  • Previous by thread: Re: Increasing size of NSImage by adding padding
  • Next by thread: NSLayoutManager Problem
  • Index(es):
    • Date
    • Thread