Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AFNetworking 2.0 ERROR:Property with 'retain (or strong)' attribute must be of object type [duplicate]

Updated my project to AFNetworking, Xcode show this error:

@property (nonatomic, strong) dispatch_queue_t completionQueue;

Property with 'retain or strong' attribute must be of object type.

I cannot understand why the official example there is no error warning?

like image 736
Chris Avatar asked Oct 16 '13 13:10

Chris


1 Answers

I get it, because I test on iOS5, dispatch_queue_t is objcet begin at iOS6

like image 103
Chris Avatar answered Nov 04 '22 00:11

Chris