pEpObjCAdapter/NSDictionary+Debug.h
author Dirk Zimmermann <dz@pep.security>
Thu, 12 Sep 2019 16:41:52 +0200
branchIOSAD-141
changeset 1245 cd15ff3a40b9
parent 623 fade443297e3
permissions -rw-r--r--
IOSAD-141 Don't share session between threads.
     1 //
     2 //  NSDictionary+Debug.h
     3 //  pEpObjCAdapter
     4 //
     5 //  Created by Dirk Zimmermann on 07.06.18.
     6 //  Copyright © 2018 p≡p. All rights reserved.
     7 //
     8 
     9 #import <Foundation/Foundation.h>
    10 
    11 @interface NSDictionary (Debug)
    12 
    13 /**
    14  Saves itself to the filesystem, under `NSApplicationSupportDirectory`.
    15  */
    16 - (void)debugSaveToFilePath:(NSString * _Nonnull)filePath;
    17 
    18 /**
    19  Treating this object as a pEp messages, find out the references and print them (for debugging).
    20  */
    21 - (void)dumpReferences;
    22 
    23 @end