pointers - Objective C Primitive Types -
i've been reading objective-c datatypes , primitive types inherits c.
data types bool inherited type-def bool, declared like:
bool mybool; where nsstring declared like:
nsstring * mystring; my doubt how know when use * , when not to? primitive types don't need *, know that, that's little confusing because
eg:
nsstring * mystring; where
nsinteger myint; so doubt is, understand using * objective c's own data types no * primitive types.
but in example above nsinteger primitive type. how differentiate between primitive , non-primitive data types ? (ns prefix isn't correct answer)
Comments
Post a Comment