Home > DeveloperSection > Interviews > What is the differnce between boxName and self.boxName in iOS?

Posted on    October-11-2015 11:35 PM

 iPhone iPhone  Ios  Objective C 
 1 Answer(s)
  893  View(s)
Rate this:

Tarun Kumar

Total Post:107

Posted on    October-11-2015 11:35 PM

In iOS if we want to access name directly then we use 'boxName' and
'self.boxName' also use for accessing name through accessors but it will work if property/synthesize is created, if it is not there then it will throw error.

Don't want to miss updates? Please click the below button!

Follow MindStick