Last active
March 8, 2021 10:36
-
-
Save dinotrnka/7b826a66f7784800551d5c140e1626e9 to your computer and use it in GitHub Desktop.
NativeCallProxy.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Foundation/Foundation.h> | |
@protocol NativeCallsProtocol | |
@required | |
- (void) sendMessageToMobileApp:(NSString*)message; | |
// other methods | |
@end | |
__attribute__ ((visibility("default"))) | |
@interface FrameworkLibAPI : NSObject | |
+(void) registerAPIforNativeCalls:(id<NativeCallsProtocol>) aApi; | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment