undeclared identifier

0 Marconius Richardson · June 17, 2014
I am very new to coding, so I may not convey my question in the proper terminology...

I am going through Bucky's Objective-C tutorials, and I'm stuck.  I understand these tutorials were made years ago, and Xcode and maybe even the language has evolved a little since then.  

What exactly is the purpose of '*r' in the line Rectangle *r = [[Rectangle alloc]init] ?  When I get an error mark that says "Use of undeclared identifier 'r', how exactly do I correct this?  

Post a Reply

Replies

Oldest  Newest  Rating
0 Marconius Richardson · June 17, 2014
REVISION:

I got it to work by deleting the @property and @synthesize lines.  


NEW QUESTION:

Can anyone tell me what exactly these are and when I do and do not need to use them?
  • 1

iOS Development / Swift

106,999 followers
About

This forum is for questions, comments, and general discussion about iOS Development and Swift.

Links
Moderators
Bucky Roberts Administrator