NSTextView append Text help
NSTextView append Text help
- Subject: NSTextView append Text help
- From: Chad Eckles <email@hidden>
- Date: Thu, 30 Apr 2009 01:37:02 -0400
Hello I'm very new to iphone dev and am having some issues with appending
text from my NSTextView the
the NSTextView name is txvMain
code I have is
[txvMain replaceCharactersInRange:NSMakeRange([[txvMain string]length],0)
withString:@"Hello"]];
and the errors I'm getting are
Warning: "UITextView" may not respond to '-string'
(Message without a matching method signature will be assumed to return "id"
and accept "..." as arguments.)
Warning:"UITextView" may not respond to
'-replaceCharactersInRange:withString'
error: syntax error before"]" token
BTW: code came straight from my book.
_______________________________________________
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