Re: NSTableView, NSTextView weirdness
Re: NSTableView, NSTextView weirdness
- Subject: Re: NSTableView, NSTextView weirdness
- From: Hasan Diwan <email@hidden>
- Date: Wed, 27 Nov 2002 20:47:56 -0500
Well, neither [valueView string], [[valueView string] copy] or
[valueView stringValue] work... Any other suggestions?
On Wednesday, November 27, 2002, at 08:41 PM, Scott Anguish wrote:
>
>
On Wednesday, November 27, 2002, at 08:24 PM, John McGruer wrote:
>
>
> NSTextView is a subclass of NSControl and as such you have to use:
>
>
>
>
No.. NSTextView is a subclass of NSView string is correct
>
>
NSTextField is a subclass of NSControl
>
>
>
> [textView stringValue]
>
>
>
> to return a string. Cheers...
>
>
>
> John
>
>
>
> On Thursday, Nov 28, 2002, at 00:36 Asia/Hong_Kong, Hasan Diwan wrote:
>
>
>
>> Matt:
>
>> [textView string] returns NULL as does [[textView string] copy]
>
>> On Tuesday, November 26, 2002, at 03:01 PM, matt neuburg wrote:
>
>>> You might wish to read up on TextView -string. This is a volatile
>
>>> fellow, and all you've got is a reference to him. If you want to
>
>>> store
>
>>> something that is independent and can survive, copy the string. m.
>
>
Hasan Diwan
OpenPGP KeyID: 0xBE42DCA6
Fingerprint: 1CB0 47E3 0A24 DAC1 DCCA 4225 F166 40C2 BE42 DCA6
http://www.cs.rpi.edu/~diwanh/gpg.key
[demime 0.98b removed an attachment of type application/pgp-signature which had a name of PGP.sig]
_______________________________________________
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.