ios - In objective c, when creating objects, why do we need to use *? -


this question has answer here:

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

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -