IOS-1575 Nullability for PEPSync. IOS-1575
authorDirk Zimmermann <dz@pep.security>
Mon, 20 May 2019 14:46:37 +0200
branchIOS-1575
changeset 94280fc04888567
parent 941 bf0680151d20
child 943 e298e7074977
IOS-1575 Nullability for PEPSync.
pEpObjCAdapter/PEPSync.h
     1.1 --- a/pEpObjCAdapter/PEPSync.h	Mon May 20 10:33:28 2019 +0200
     1.2 +++ b/pEpObjCAdapter/PEPSync.h	Mon May 20 14:46:37 2019 +0200
     1.3 @@ -24,17 +24,17 @@
     1.4  /**
     1.5   Creates an engine session.
     1.6   */
     1.7 -+ (PEP_SESSION)createSession:(NSError **)error;
     1.8 ++ (PEP_SESSION _Nullable)createSession:(NSError * _Nullable * _Nullable)error;
     1.9  
    1.10  /**
    1.11   Releases an engine session that was created by `createSession`.
    1.12   */
    1.13 -+ (void)releaseSession:(PEP_SESSION)session;
    1.14 ++ (void)releaseSession:(PEP_SESSION _Nullable)session;
    1.15  
    1.16 -- (instancetype)initWithSendMessageDelegate:(id<PEPSendMessageDelegate>
    1.17 -                                             _Nonnull)sendMessageDelegate
    1.18 -                    notifyHandshakeDelegate:(id<PEPNotifyHandshakeDelegate>
    1.19 -                                             _Nonnull)notifyHandshakeDelegate;
    1.20 +- (instancetype _Nonnull)initWithSendMessageDelegate:(id <PEPSendMessageDelegate>
    1.21 +                                                      _Nonnull)sendMessageDelegate
    1.22 +                             notifyHandshakeDelegate:(id<PEPNotifyHandshakeDelegate>
    1.23 +                                                      _Nonnull)notifyHandshakeDelegate;
    1.24  
    1.25  - (void)startup;
    1.26