FROM : Bob Sabiston
DATE : Mon May 26 21:28:37 2008
that worked, thank you!
Bob
On May 26, 2008, at 2:17 PM, Nick Zitzmann wrote:
>
> On May 26, 2008, at 1:13 PM, Bob Sabiston wrote:
>
>> I'm trying to get an NSTableView to be editable, and I am having
>> trouble getting a numerical value from the supplied object. The
>> setObjectValue method (?) supplies an argument called aData for the
>> specific row and column. That aData is an NSObject, and an
>> NSString I think. How do I convert that to a double floating point
>> number?
>
>
> Use NSScanner's -scanDouble: method.
>
> Nick Zitzmann
> <http://www.chronosnet.com/>
>
>
>
DATE : Mon May 26 21:28:37 2008
that worked, thank you!
Bob
On May 26, 2008, at 2:17 PM, Nick Zitzmann wrote:
>
> On May 26, 2008, at 1:13 PM, Bob Sabiston wrote:
>
>> I'm trying to get an NSTableView to be editable, and I am having
>> trouble getting a numerical value from the supplied object. The
>> setObjectValue method (?) supplies an argument called aData for the
>> specific row and column. That aData is an NSObject, and an
>> NSString I think. How do I convert that to a double floating point
>> number?
>
>
> Use NSScanner's -scanDouble: method.
>
> Nick Zitzmann
> <http://www.chronosnet.com/>
>
>
>
| Related mails | Author | Date |
|---|---|---|
| Bob Sabiston | May 26, 21:13 | |
| Nick Zitzmann | May 26, 21:17 | |
| Bob Sabiston | May 26, 21:28 | |
| Chris Hanson | May 27, 01:28 |






Cocoa mail archive

