small medium large xlarge

Generic-user-small
02 Mar 2015, 14:58
wm (1 post)
typedef void (^ExportCompletionBlock)(NSData *jsonData, NSError *error);

@interface PPRExportOperation : NSOperation

@property (nonatomic, copy) ExportCompletionBlock completionBlock;

Gives two warnings in Xcode 6 on 10.10:

‘atomic’ attribute on property ‘completionBlock’ does not match the property inherited from ‘NSOperation’

and

Property type ‘ExportCompletionBlock’ (aka ‘void(^)(NSData *_strong, NSError *_strong)’) is incompatible with type ‘void(^)(void)’ inherited from ‘NSOperation’

What do i make of these warnings?

You must be logged in to comment