Calling self in objective c method headers
Posted
by hakewake
on Stack Overflow
See other posts from Stack Overflow
or by hakewake
Published on 2010-05-12T02:58:35Z
Indexed on
2010/05/12
3:04 UTC
Read the original article
Hit count: 299
objective-c
|self
Lets say I made a method that can tabulate the total of x and y.
total = [self totalThemUp x:30 y:50];
Is self correctly used? Why so? I don't see any object in particular that is acted on.
Thanks for your help!
© Stack Overflow or respective owner