Reputation: 431
when I use objective-c to develop ios App,I want to know the different of __strong id obj and id __strong obj.I dont know the meaning of the firsrt one,who can tell me the answer?thank you very much
Upvotes: 0
Views: 71
Reputation: 971
The semantic meaning of both __strong id obj and id __strong obj are identical. The latter is the proper form but the compiler will accept either.
See http://clang.llvm.org/docs/AutomaticReferenceCounting.html#semantics
Upvotes: 1