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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to