FreeRDP
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
TSXAdditions.h
1/*
2 Additions to Cocoa touch classes
3
4 Copyright 2013 Thincast Technologies GmbH, Authors: Dorian Johnson, Martin Fleisz
5
6 This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
7 If a copy of the MPL was not distributed with this file, You can obtain one at
8 http://mozilla.org/MPL/2.0/.
9 */
10
11#import <Foundation/Foundation.h>
12
13@interface NSObject (TSXAdditions)
14- (void)setValuesForKeyPathsWithDictionary:(NSDictionary *)keyedValues;
15@end
16
17#pragma mark -
18@interface NSString (TSXAdditions)
19+ (NSString *)stringWithUUID;
20- (NSData *)dataFromHexString;
21+ (NSString *)hexStringFromData:(const unsigned char *)data
22 ofSize:(unsigned int)size
23 withSeparator:(NSString *)sep
24 afterNthChar:(int)sepnth;
25@end
26
27@interface NSDictionary (TSXAdditions)
28- (id)mutableDeepCopy;
29@end
30
31@interface NSData (TSXAdditions)
32- (NSString *)hexadecimalString;
33- (NSString *)base64EncodedString;
34@end