pEpObjCAdapter/NSDictionary+Extension.h
author Dirk Zimmermann <dirk@pep-project.org>
Thu, 14 Sep 2017 12:14:48 +0200
changeset 226 aebc0fdcb859
parent 225 591656ce62f0
child 227 7f6770ed38ea
permissions -rw-r--r--
IOS-714 containsPGPCommType now a property
     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 @interface NSDictionary (Extension)
    12 
    13 /**
    14  If we interpret the self as a dictionary denoting a p≡p Identity,
    15  does the comm type denote a PGP user?
    16  */
    17 @property (nonatomic, readonly) BOOL containsPGPCommType;
    18 
    19 /**
    20  Saves itself to the filesystem, under `NSApplicationSupportDirectory`.
    21  */
    22 - (void)debugSaveToFilePath:(NSString * _Nonnull)filePath;
    23 
    24 @end