Closed macmade closed 9 years ago
Methods initWithDictionary: miss return types.
initWithDictionary:
Compiling with -Wmissing-method-return-type will issue an error.
-Wmissing-method-return-type
- initWithDictionary:(NSDictionary *)dict; - initWithDictionary:(NSDictionary *)dict failureReason:(NSString**)error;
Should be:
- (instancetype)initWithDictionary:(NSDictionary *)dict; - (instancetype)initWithDictionary:(NSDictionary *)dict failureReason:(NSString**)error;
Fixed in pre-release version 1.3: ca9686875b94f00b20bac92c94182204e631312f. Thanks : )
Methods
initWithDictionary:
miss return types.Compiling with
-Wmissing-method-return-type
will issue an error.Should be: