ios - In objective c, when creating objects, why do we need to use *? -
this question has answer here:
- use of * in objective c syntax 4 answers
in objective c, when creating objects, why need use *? example, creating
nsstring *string =@"i ma string";
in above code why need use *string
can explain please?
thanks in advance.
*
means pointer object, not actual object
Comments
Post a Comment