22 lines
495 B
Objective-C
Executable File
22 lines
495 B
Objective-C
Executable File
//
|
|
// NSObject+TFPopupMethodExchange.h
|
|
// TFPopupDemo
|
|
//
|
|
// Created by zhutaofeng on 2019/8/15.
|
|
// Copyright © 2019 ztf. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <objc/runtime.h>
|
|
|
|
@interface NSObject (TFPopupMethodExchange)
|
|
/**
|
|
* 交换类方法和交换实例方法
|
|
*/
|
|
+(BOOL)popup_instanceMethodExchange:(SEL)originSel toClass:(Class)toClass toSel:(SEL)toSel;
|
|
|
|
+(BOOL)popup_classMethodExchange:(SEL)originSel toClass:(Class)toClass toSel:(SEL)toSel;
|
|
|
|
@end
|
|
|