Milestone 5: deliver embedded RDP sessions and lifecycle hardening
This commit is contained in:
34
third_party/FreeRDP/client/iOS/Additions/TSXAdditions.h
vendored
Normal file
34
third_party/FreeRDP/client/iOS/Additions/TSXAdditions.h
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
/*
|
||||
Additions to Cocoa touch classes
|
||||
|
||||
Copyright 2013 Thincast Technologies GmbH, Authors: Dorian Johnson, Martin Fleisz
|
||||
|
||||
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
|
||||
If a copy of the MPL was not distributed with this file, You can obtain one at
|
||||
http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@interface NSObject (TSXAdditions)
|
||||
- (void)setValuesForKeyPathsWithDictionary:(NSDictionary *)keyedValues;
|
||||
@end
|
||||
|
||||
#pragma mark -
|
||||
@interface NSString (TSXAdditions)
|
||||
+ (NSString *)stringWithUUID;
|
||||
- (NSData *)dataFromHexString;
|
||||
+ (NSString *)hexStringFromData:(const unsigned char *)data
|
||||
ofSize:(unsigned int)size
|
||||
withSeparator:(NSString *)sep
|
||||
afterNthChar:(int)sepnth;
|
||||
@end
|
||||
|
||||
@interface NSDictionary (TSXAdditions)
|
||||
- (id)mutableDeepCopy;
|
||||
@end
|
||||
|
||||
@interface NSData (TSXAdditions)
|
||||
- (NSString *)hexadecimalString;
|
||||
- (NSString *)base64EncodedString;
|
||||
@end
|
||||
Reference in New Issue
Block a user