IOS-1575 Deciding for Nullability. IOS-1575
authorDirk Zimmermann <dz@pep.security>
Mon, 20 May 2019 14:46:37 +0200
branchIOS-1575
changeset 9639c02a7b7b8ec
parent 962 73155048cd69
child 964 fc4cfd885c2b
IOS-1575 Deciding for Nullability.
pEpObjCAdapterFramework/PEPAttachment.h
pEpObjCAdapterFramework/PEPMessage.h
     1.1 --- a/pEpObjCAdapterFramework/PEPAttachment.h	Mon May 20 14:46:37 2019 +0200
     1.2 +++ b/pEpObjCAdapterFramework/PEPAttachment.h	Mon May 20 14:46:37 2019 +0200
     1.3 @@ -12,12 +12,12 @@
     1.4  
     1.5  @interface PEPAttachment : NSObject
     1.6  
     1.7 -@property (nonatomic) NSData *data;
     1.8 +@property (nonatomic, nonnull) NSData *data;
     1.9  @property (nonatomic) NSInteger size;
    1.10  @property (nonatomic, nullable) NSString *mimeType;
    1.11  @property (nonatomic, nullable) NSString *filename;
    1.12  @property (nonatomic) PEPContentDisposition contentDisposition;
    1.13  
    1.14 -- (_Nonnull instancetype)initWithData:(NSData *)data;
    1.15 +- (_Nonnull instancetype)initWithData:(NSData * _Nonnull)data;
    1.16  
    1.17  @end
     2.1 --- a/pEpObjCAdapterFramework/PEPMessage.h	Mon May 20 14:46:37 2019 +0200
     2.2 +++ b/pEpObjCAdapterFramework/PEPMessage.h	Mon May 20 14:46:37 2019 +0200
     2.3 @@ -44,7 +44,7 @@
     2.4  /**
     2.5   For backwards compatiblity.
     2.6   */
     2.7 -- (instancetype _Nonnull)initWithDictionary:(PEPDict *)dict;
     2.8 +- (instancetype _Nonnull)initWithDictionary:(PEPDict * _Nonnull)dict;
     2.9  
    2.10  /**
    2.11   For backwards compatiblity.