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

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -