pEpObjCAdapter/NSDictionary+Extension.h
author Dirk Zimmermann <dirk@pep-project.org>
Thu, 14 Sep 2017 12:35:05 +0200
changeset 227 7f6770ed38ea
parent 226 aebc0fdcb859
child 498 11b4ce5ebd2d
permissions -rw-r--r--
IOS-714 NSDictionary.commType
     1 //
     2 //  NSDictionary_NSDictionary_Extension.h
     3 //  pEpObjCAdapter
     4 //
     5 //  Created by Dirk Zimmermann on 04.09.17.
     6 //  Copyright © 2017 p≡p. All rights reserved.
     7 //
     8 
     9 #import <Foundation/Foundation.h>
    10 
    11 #import "pEpEngine.h"
    12 
    13 @interface NSDictionary (Extension)
    14 
    15 /**
    16  If we interpret the self as a dictionary denoting a p≡p Identity,
    17  does the comm type denote a PGP user?
    18  */
    19 @property (nonatomic, readonly) PEP_comm_type commType;
    20 
    21 /**
    22  If we interpret the self as a dictionary denoting a p≡p Identity,
    23  does the comm type denote a PGP user?
    24  */
    25 @property (nonatomic, readonly) BOOL containsPGPCommType;
    26 
    27 /**
    28  Saves itself to the filesystem, under `NSApplicationSupportDirectory`.
    29  */
    30 - (void)debugSaveToFilePath:(NSString * _Nonnull)filePath;
    31 
    32 @end