CommentSep 10, 20171
Properties are used in Objective-C to ensure that the instance variables of a class can be accessed outside the class. All property declarations begin with the @property keyword. In the example given below, height variable must be declared as a property inside the Box class. Box *box1 = [[Box alloc]init]; box1.height = 5.0