Re: NSTableView, NSTextView weirdness
Re: NSTableView, NSTextView weirdness
- Subject: Re: NSTableView, NSTextView weirdness
- From: Scott Anguish <email@hidden>
- Date: Wed, 27 Nov 2002 20:41:11 -0500
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.
_______________________________________________
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.