1
wei
2021-01-21 62d098cb78296feaa6f786a20748921338db838c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//
//  NSObject+TPCategory.h
//  TYLibraryExample
//
//  Created by 冯晓 on 16/2/16.
//  Copyright © 2016年 Tuya. All rights reserved.
//
 
#import <Foundation/Foundation.h>
 
@interface NSObject (TYSDKCategory)
 
- (NSInteger)tysdk_toInt;
 
- (NSUInteger)tysdk_toUInt;
 
- (NSString *)tysdk_toString;
 
- (float)tysdk_toFloat;
 
- (double)tysdk_toDouble;
 
- (NSArray *)tysdk_toArray;
 
- (NSDictionary *)tysdk_toDictionary;
 
- (BOOL)tysdk_toBool;
 
+ (BOOL)tysdk_swizzleInstanceMethod:(SEL)originalSel with:(SEL)newSel;
 
+ (BOOL)tysdk_swizzleClassMethod:(SEL)originalSel with:(SEL)newSel;
 
@end