iOS-Runtime-Headers icon indicating copy to clipboard operation
iOS-Runtime-Headers copied to clipboard

why almost all objects is descripted as “id” type?

Open Args opened this issue 8 years ago • 1 comments

and how can i know the key of dictionary if a method like this initWithDictionary:(id)arg1?

Args avatar Nov 22 '16 07:11 Args

Methods paramenters do not contain type encoding information, just that they are objects (@). Properties and instance variables do contain more type information.

LeoNatan avatar Jan 16 '17 14:01 LeoNatan