pEpObjCAdapter/PEPSession.m
branchIOSAD-49
changeset 257 3720764b9381
parent 255 e8749386fdf0
child 268 afba0883d4d9
     1.1 --- a/pEpObjCAdapter/PEPSession.m	Fri Oct 06 09:52:54 2017 +0200
     1.2 +++ b/pEpObjCAdapter/PEPSession.m	Fri Oct 06 12:11:30 2017 +0200
     1.3 @@ -28,6 +28,13 @@
     1.4  
     1.5  - (id)init
     1.6  {
     1.7 +    //"Denied access to assure clients do not call [PEPSession new] accidentally. Use initInternal instead.
     1.8 +    NSAssert(false, @"Dear client. You must not init a session. Use [PEPObjCAdapter session] instead");
     1.9 +    return nil;
    1.10 +}
    1.11 +
    1.12 +- (id)initInternal
    1.13 +{
    1.14      [PEPSession setupTrustWordsDB];
    1.15  
    1.16      [[PEPObjCAdapter initLock] lock];