Re: NSTableView, NSTextView weirdness
Re: NSTableView, NSTextView weirdness
- Subject: Re: NSTableView, NSTextView weirdness
- From: John McGruer <email@hidden>
- Date: Thu, 28 Nov 2002 09:24:45 +0800
NSTextView is a subclass of NSControl and as such you have to use:
[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.
_______________________________________________
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.