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
dirk@215
     1
//
dirk@215
     2
//  NSDictionary_NSDictionary_Extension.h
dirk@215
     3
//  pEpObjCAdapter
dirk@215
     4
//
dirk@215
     5
//  Created by Dirk Zimmermann on 04.09.17.
dirk@215
     6
//  Copyright © 2017 p≡p. All rights reserved.
dirk@215
     7
//
dirk@215
     8
dirk@215
     9
#import <Foundation/Foundation.h>
dirk@215
    10
dirk@215
    11
@interface NSDictionary (Extension)
dirk@215
    12
dirk@225
    13
/**
dirk@226
    14
 If we interpret the self as a dictionary denoting a p≡p Identity,
dirk@226
    15
 does the comm type denote a PGP user?
dirk@226
    16
 */
dirk@226
    17
@property (nonatomic, readonly) BOOL containsPGPCommType;
dirk@226
    18
dirk@226
    19
/**
dirk@225
    20
 Saves itself to the filesystem, under `NSApplicationSupportDirectory`.
dirk@225
    21
 */
dirk@216
    22
- (void)debugSaveToFilePath:(NSString * _Nonnull)filePath;
dirk@215
    23
dirk@215
    24
@end