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
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@227
    11
#import "pEpEngine.h"
dirk@227
    12
dirk@215
    13
@interface NSDictionary (Extension)
dirk@215
    14
dirk@225
    15
/**
dirk@226
    16
 If we interpret the self as a dictionary denoting a p≡p Identity,
dirk@226
    17
 does the comm type denote a PGP user?
dirk@226
    18
 */
dirk@227
    19
@property (nonatomic, readonly) PEP_comm_type commType;
dirk@227
    20
dirk@227
    21
/**
dirk@225
    22
 Saves itself to the filesystem, under `NSApplicationSupportDirectory`.
dirk@225
    23
 */
dirk@216
    24
- (void)debugSaveToFilePath:(NSString * _Nonnull)filePath;
dirk@215
    25
dirk@215
    26
@end