Binding Array of NSNumbers
Binding Array of NSNumbers
- Subject: Binding Array of NSNumbers
- From: Mike Shields <email@hidden>
- Date: Fri, 11 Feb 2005 01:28:32 -0500
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.
I'm sure I'm just too tired of starting at this to figure it out, so
I'm wondering if anyone out there has the answer.
Thanks,
-Mike
_______________________________________________
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