Skip to content

Commit

Permalink
refactor xcframework
Browse files Browse the repository at this point in the history
  • Loading branch information
QSD_faris committed Jan 8, 2024
1 parent 312ab00 commit 0477ea4
Show file tree
Hide file tree
Showing 15 changed files with 481 additions and 1,381 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,6 @@ using UInt = size_t;
#if __has_warning("-Watimport-in-framework-header")
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
#endif
@import UIKit;
@import WebKit;
#endif

#endif
Expand All @@ -252,36 +250,6 @@ using UInt = size_t;
#endif

#if defined(__OBJC__)
@class NSString;
@class NSBundle;
@class NSCoder;

SWIFT_CLASS("_TtC16DeskproFramework13CustomWebView")
@interface CustomWebView : UIViewController
- (void)viewDidLoad;
- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
@end

@class WKWebView;
@class WKFrameInfo;

@interface CustomWebView (SWIFT_EXTENSION(DeskproFramework)) <WKUIDelegate>
- (void)webView:(WKWebView * _Nonnull)webView runJavaScriptAlertPanelWithMessage:(NSString * _Nonnull)message initiatedByFrame:(WKFrameInfo * _Nonnull)frame completionHandler:(void (^ _Nonnull)(void))completionHandler;
@end

@class WKNavigation;

@interface CustomWebView (SWIFT_EXTENSION(DeskproFramework)) <WKNavigationDelegate>
- (void)webView:(WKWebView * _Nonnull)webView didFinishNavigation:(WKNavigation * _Null_unspecified)navigation;
@end

@class WKUserContentController;
@class WKScriptMessage;

@interface CustomWebView (SWIFT_EXTENSION(DeskproFramework)) <WKScriptMessageHandler>
- (void)userContentController:(WKUserContentController * _Nonnull)userContentController didReceiveScriptMessage:(WKScriptMessage * _Nonnull)message;
@end

#endif
#if defined(__cplusplus)
Expand Down
Loading

0 comments on commit 0477ea4

Please sign in to comment.