pEpObjCAdapter/NSDictionary+Extension.h
author Dirk Zimmermann <dirk@pep-project.org>
Thu, 22 Feb 2018 10:19:32 +0100
changeset 498 11b4ce5ebd2d
parent 227 7f6770ed38ea
child 622 5c5d267a32a0
permissions -rw-r--r--
IOS-950 fix reversed logic in isPEPUser <-> containsPGPCT
     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  Saves itself to the filesystem, under `NSApplicationSupportDirectory`.
    23  */
    24 - (void)debugSaveToFilePath:(NSString * _Nonnull)filePath;
    25 
    26 @end