Trying to make Arc happy


Gerriet M. Denkmann
 

I just switched on: Implicit ownership types on out parameters = CLANG_WARN_OBJC_EXPLICIT_OWNERSHIP_TYPE

and now I get complaints about stuff like:

- (BOOL)isNiceAndHas: (NSArray **)friends;

Method parameter of type ‘NSArray *__autoreleasing *' with no explicit ownership

How can I help Arc to understand what is going on? Any annotations to be used?

Gerriet.

Join {cocoa@apple-dev.groups.io to automatically receive all group messages.