pEpObjCAdapter/NSMutableDictionary+PEP.h
author Dirk Zimmermann <dirk@pep-project.org>
Thu, 17 May 2018 09:33:33 +0200
changeset 616 9e50cc7cd612
parent 598 893ee5ebcd43
permissions -rw-r--r--
IOSAD-93 consistently using precomposedStringWithCanonicalMapping, stringWithUTF8String
dirk@597
     1
//
dirk@597
     2
//  NSMutableDictionary+PEP.h
dirk@597
     3
//  pEpObjCAdapter
dirk@597
     4
//
dirk@597
     5
//  Created by Dirk Zimmermann on 24.04.18.
dirk@597
     6
//  Copyright © 2018 p≡p. All rights reserved.
dirk@597
     7
//
dirk@597
     8
dirk@597
     9
#import <Foundation/Foundation.h>
dirk@597
    10
dirk@597
    11
#import "message.h"
dirk@597
    12
dirk@598
    13
void replaceDictionaryContentsWithMessage(NSMutableDictionary *dict, message *message);
dirk@598
    14
dirk@597
    15
@interface NSMutableDictionary (PEP)
dirk@597
    16
dirk@597
    17
/**
dirk@597
    18
 Replaces all content with `message`.
dirk@597
    19
 */
dirk@597
    20
- (void)replaceWithMessage:(message *)message;
dirk@597
    21
dirk@597
    22
@end