Skip to content

Commit f0465f0

Browse files
authored
Merge pull request #1 from JemyCheung/main
更新相机授权,更新sdk1.0.0
2 parents ca73c0f + a843f77 commit f0465f0

File tree

84 files changed

+2920
-52
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+2920
-52
lines changed

.DS_Store

6 KB
Binary file not shown.

TDSCommon.framework/Headers

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Versions/Current/Headers
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
framework module TDSCommon {
2+
umbrella header "TDSCommon.h"
3+
4+
export *
5+
module * { export * }
6+
}

TDSCommon.framework/TDSCommon

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Versions/Current/TDSCommon
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
//
2+
// EngineBridgeError.h
3+
// EngineBridge
4+
//
5+
// Created by xe on 2020/9/28.
6+
// Copyright © 2020 xe. All rights reserved.
7+
//
8+
#import <Foundation/Foundation.h>
9+
10+
typedef NSString *KLTypeStr NS_STRING_ENUM;
11+
12+
FOUNDATION_EXPORT KLTypeStr const COMMAND_PARSE_ERROR;
13+
14+
FOUNDATION_EXPORT KLTypeStr const COMMAND_SERVICE_ERROR;
15+
16+
FOUNDATION_EXPORT KLTypeStr const COMMAND_METHOD_ERROR;
17+
18+
FOUNDATION_EXPORT KLTypeStr const COMMAND_ARGS_ERROR;
19+
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
//
2+
// NSArray+Safe.h
3+
// TapAchievement
4+
//
5+
// Created by TapTap-David on 2020/9/15.
6+
// Copyright © 2020 taptap. All rights reserved.
7+
//
8+
9+
#import <Foundation/Foundation.h>
10+
11+
@interface NSArray (Safe)
12+
13+
- (void)tds_each:(void (^)(id object, NSUInteger index))block;
14+
15+
- (void)tds_apply:(void (^)(id object, NSUInteger index))block;
16+
17+
- (NSArray *)tds_map:(id (^)(id object, NSUInteger index))block;
18+
19+
- (id)tds_reduce:(id (^)(id accumulated, id object))block;
20+
21+
- (NSArray *)tds_filter:(BOOL (^)(id object, NSUInteger index))block;
22+
23+
- (id)tds_safeObjectAtIndex:(NSUInteger)index;
24+
25+
@end
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
//
2+
// NSBundle+Tools.h
3+
// TDSAchievement
4+
//
5+
// Created by TapTap-David on 2020/8/26.
6+
// Copyright © 2020 taptap. All rights reserved.
7+
//
8+
#import <UIKit/UIKit.h>
9+
10+
@interface NSBundle (Tools)
11+
+ (instancetype)tds_bundleName:(NSString *)bundleName aClass:(Class)aClass;
12+
- (NSString *)tds_localizedStringForKey:(NSString *)key value:(NSString *)value;
13+
- (NSString *)tds_localizedStringForKey:(NSString *)key;
14+
15+
- (UIImage *)tds_imageName:(NSString *)imageName;
16+
@end
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
//
2+
// NSData+JSON.h
3+
// NativeApp
4+
//
5+
// Created by JiangJiahao on 2018/3/9.
6+
// Copyright © 2018年 JiangJiahao. All rights reserved.
7+
//
8+
9+
#import <Foundation/Foundation.h>
10+
11+
@interface NSData (JSON)
12+
13+
- (NSArray *)tds_arrayFromJsonData;
14+
15+
- (NSDictionary *)tds_dictionaryFromJsonData;
16+
17+
- (NSString *)tds_stringFromData;
18+
19+
@end
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
//
2+
// NSDictionary+JSON.h
3+
// NativeApp
4+
//
5+
// Created by JiangJiahao on 2018/10/11.
6+
// Copyright © 2018 JiangJiahao. All rights reserved.
7+
//
8+
9+
#import <Foundation/Foundation.h>
10+
11+
NS_ASSUME_NONNULL_BEGIN
12+
13+
@interface NSDictionary (JSON)
14+
- (NSString *)tds_jsonString;
15+
@end
16+
17+
NS_ASSUME_NONNULL_END
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
//
2+
// NSDictionary+TDSSafe.h
3+
// TDSCommon
4+
//
5+
// Created by Insomnia on 2020/10/20.
6+
//
7+
8+
#import <Foundation/Foundation.h>
9+
10+
NS_ASSUME_NONNULL_BEGIN
11+
12+
@interface NSDictionary (TDSSafe)
13+
14+
- (BOOL)tds_boolForKey:(NSString *)key;
15+
- (NSInteger)tds_integerForKey:(NSString *)key;
16+
- (NSDictionary *)tds_dicForKey:(NSString *)key;
17+
- (NSString *)tds_stringForKey:(NSString *)key;
18+
- (NSArray *)tds_arrayForKey:(NSString *)key;
19+
- (NSSet *)tds_setForKey:(NSString *)key;
20+
- (NSNumber *)tds_numberForKey:(NSString *)key;
21+
22+
@end
23+
24+
NS_ASSUME_NONNULL_END

0 commit comments

Comments
 (0)