iOS Build a Simple iPhone App with Objective-C Getting Started With Xcode String Basics

lori pinkerton
lori pinkerton
140 Points

This is what I typed for the NSString exercise: NSString *myString =@"Pub Crawl"; I keeps saying it's incorrect

Please help

string_assignment.m
//Enter your code below!
NSString *myString =@"Pub Crawl";

2 Answers

If we're looking at the same coding challenge, it looks like you need the variable name to be bestSmartphone and the string to be "iPhone". Your syntax is correct though!