nst / iOS-Runtime-Headers

iOS Objective-C headers as derived from runtime introspection
https://github.com/nst/RuntimeBrowser
7.95k stars 1.61k forks source link

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

Open Args opened 7 years ago

Args commented 7 years ago

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

LeoNatan commented 7 years ago

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