I am receiving a compiler warning: ³NSString may not respond to characterAtIndex² from the following code. This is from MathPaper Chapter 12 of Building Cocoa Apps. Any help is appreciated. Thanks.
- (void)appendString:(NSString *)string { int i; for (i=0;i<[string length];i++) { unichar c = [string characterAtindex:i]; switch(c) { case '\n': case '{': case '}': case '\\': [self appendChar:'\\']; break; default: break; } [self appendChar:c]; } } _______________________________________________ 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