bonus-material-app/nativeplugins/Mpaas-Scan/ios/mPaas.framework/Headers/APFastMethodSwizzling.h

32 lines
630 B
C
Raw Normal View History

2024-12-20 09:23:59 +08:00
//
// APFastMethodSwizzling.h
// APMobileFoundation
//
// Created by myy on 2017/4/21.
// Copyright © 2017年 Alipay. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <objc/runtime.h>
#ifdef __cplusplus
extern "C" {
#endif // __cplusplus
/**
* instance使用method_exchangeImplementations的替代方法
* https://www.atatech.org/articles/56564
*
* instance方法class方法
*/
BOOL instanceMethod_fastExchangeImplementations(Class origCls, SEL origSEL, Class newCls, SEL newSEL);
#ifdef __cplusplus
}
#endif // __cplusplus