Re: NSTextView to replace NSTextList confused
Re: NSTextView to replace NSTextList confused
- Subject: Re: NSTextView to replace NSTextList confused
- From: Nathan Kinsinger <email@hidden>
- Date: Sun, 29 Jun 2008 17:02:51 -0600
On Jun 29, 2008, at 4:48 PM, Papa-Raboon wrote:
This is great, I changed the line that said:
myNotes = [theNotes stringValue];
to:
myNotes = [theNotes string];
And it worked.
I am not sure where abouts in the class reference for NSTextView it
states that you should pass it a -string rather than a -stringValue
but it worked all the same.
Brilliant
Thanks again
Paul
It's inherited from NSText. Remember to look at superclasses when
looking for functionality.
Check out AppKiDo, it's an alternate browser for the Cocoa classes
that can show all methods for a class, including the ones it inherits:
http://homepage.mac.com/aglee/downloads/appkido.html
--Nathan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden