Re: Binding Array of NSNumbers
Re: Binding Array of NSNumbers
- Subject: Re: Binding Array of NSNumbers
- From: Kevin Ballard <email@hidden>
- Date: Fri, 11 Feb 2005 02:40:22 -0500
What about selection.stringValue? Or even just selection?
On Feb 11, 2005, at 1:28 AM, Mike Shields wrote:
What I've got is an NSArrayController whose content array is an array
of NSNumbers. I have a way of selecting which index is the current
selection and want to display the value of the selection in an
NSTextField. If I bind the text field to selection.floatValue (which
doesn't seem right in any case), well that crashes in an infinite loop
of calls to CFNumberGetValue. Leaving out the key path completely
fails as you'd expect.
--
Kevin Ballard
email@hidden
http://www.tildesoft.com
http://kevin.sb.org
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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