Vote count:
0
I have been making iPhone apps for a couple of month now and i still haven't really understand what self does. I know its a pointer to the receiver but that doesn't really tell me anything. I think i would understand it more if someone show me an example when i should use it and explain what would happened if i not use it. I have only been using self for calling methods.
[self myMethod]
// calling a method
Third and last question: what can call self on expect properties and methods?
asked 54 secs ago
Aucun commentaire:
Enregistrer un commentaire