Skip to content

Commit

Permalink
- ios swift compilar
Browse files Browse the repository at this point in the history
  • Loading branch information
erpankajpatel committed Dec 21, 2021
1 parent 2488a8e commit 832e943
Show file tree
Hide file tree
Showing 24 changed files with 348 additions and 176 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#if __has_warning("-Watimport-in-framework-header")
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
#endif
@import CoreGraphics;
@import UIKit;
@import WebKit;
#endif

#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
Expand Down Expand Up @@ -221,22 +219,6 @@ SWIFT_CLASS("_TtC13PhylloConnect19LoginViewController")



SWIFT_CLASS("_TtC13PhylloConnect12SVGImageView")
@interface SVGImageView : UIView
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
- (void)awakeFromNib;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE;
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
@end

@class WKWebView;
@class WKNavigation;

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





Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,18 @@ import _Concurrency
@_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder)
@objc deinit
}
@objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class SVGImageView : UIKit.UIView {
@objc dynamic public init()
@objc override dynamic public func awakeFromNib()
@objc deinit
@_Concurrency.MainActor(unsafe) public func load(url: Swift.String)
}
extension PhylloConnect.SVGImageView : WebKit.WKNavigationDelegate {
@_Concurrency.MainActor(unsafe) @objc dynamic public func webView(_ webView: WebKit.WKWebView, didFinish navigation: WebKit.WKNavigation!)
}
public struct PhylloConfig {
public static var shared: PhylloConnect.PhylloConfig
public static var shared: PhylloConfig
public init()
public var env: PhylloConnect.PhylloEnvironment
public var env: PhylloEnvironment
public var phylloVC: UIKit.UIViewController
public var developerName: Swift.String
public var deepLinkURL: Swift.String
public var sdkToken: Swift.String
public var userId: Swift.String
}
public class PhylloConnect {
required public init(configuration: PhylloConnect.PhylloConfig)
required public init(configuration: PhylloConfig)
public func launchSDK(workPlatformId: Swift.String)
@objc deinit
}
Expand All @@ -47,6 +38,6 @@ public enum PhylloEnvironment : Swift.String {
get
}
}
extension PhylloConnect.PhylloEnvironment : Swift.Equatable {}
extension PhylloConnect.PhylloEnvironment : Swift.Hashable {}
extension PhylloConnect.PhylloEnvironment : Swift.RawRepresentable {}
extension PhylloEnvironment : Swift.Equatable {}
extension PhylloEnvironment : Swift.Hashable {}
extension PhylloEnvironment : Swift.RawRepresentable {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)
// swift-module-flags: -target arm64-apple-ios12.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name PhylloConnect
import Foundation
@_exported import PhylloConnect
import Swift
import UIKit
import WebKit
import _Concurrency
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor(unsafe) public class LoginViewController : UIKit.UIViewController {
@_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidLoad()
@_Concurrency.MainActor(unsafe) @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
@_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder)
@objc deinit
}
public struct PhylloConfig {
public static var shared: PhylloConnect.PhylloConfig
public init()
public var env: PhylloConnect.PhylloEnvironment
public var phylloVC: UIKit.UIViewController
public var developerName: Swift.String
public var deepLinkURL: Swift.String
public var sdkToken: Swift.String
public var userId: Swift.String
}
public class PhylloConnect {
required public init(configuration: PhylloConnect.PhylloConfig)
public func launchSDK(workPlatformId: Swift.String)
@objc deinit
}
public enum PhylloEnvironment : Swift.String {
case dev
case sandbox
case prod
public init?(rawValue: Swift.String)
public typealias RawValue = Swift.String
public var rawValue: Swift.String {
get
}
}
extension PhylloConnect.PhylloEnvironment : Swift.Equatable {}
extension PhylloConnect.PhylloEnvironment : Swift.Hashable {}
extension PhylloConnect.PhylloEnvironment : Swift.RawRepresentable {}
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,18 @@ import _Concurrency
@_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder)
@objc deinit
}
@objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class SVGImageView : UIKit.UIView {
@objc dynamic public init()
@objc override dynamic public func awakeFromNib()
@objc deinit
@_Concurrency.MainActor(unsafe) public func load(url: Swift.String)
}
extension PhylloConnect.SVGImageView : WebKit.WKNavigationDelegate {
@_Concurrency.MainActor(unsafe) @objc dynamic public func webView(_ webView: WebKit.WKWebView, didFinish navigation: WebKit.WKNavigation!)
}
public struct PhylloConfig {
public static var shared: PhylloConnect.PhylloConfig
public static var shared: PhylloConfig
public init()
public var env: PhylloConnect.PhylloEnvironment
public var env: PhylloEnvironment
public var phylloVC: UIKit.UIViewController
public var developerName: Swift.String
public var deepLinkURL: Swift.String
public var sdkToken: Swift.String
public var userId: Swift.String
}
public class PhylloConnect {
required public init(configuration: PhylloConnect.PhylloConfig)
required public init(configuration: PhylloConfig)
public func launchSDK(workPlatformId: Swift.String)
@objc deinit
}
Expand All @@ -47,6 +38,6 @@ public enum PhylloEnvironment : Swift.String {
get
}
}
extension PhylloConnect.PhylloEnvironment : Swift.Equatable {}
extension PhylloConnect.PhylloEnvironment : Swift.Hashable {}
extension PhylloConnect.PhylloEnvironment : Swift.RawRepresentable {}
extension PhylloEnvironment : Swift.Equatable {}
extension PhylloEnvironment : Swift.Hashable {}
extension PhylloEnvironment : Swift.RawRepresentable {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)
// swift-module-flags: -target arm64-apple-ios12.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name PhylloConnect
import Foundation
@_exported import PhylloConnect
import Swift
import UIKit
import WebKit
import _Concurrency
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor(unsafe) public class LoginViewController : UIKit.UIViewController {
@_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidLoad()
@_Concurrency.MainActor(unsafe) @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
@_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder)
@objc deinit
}
public struct PhylloConfig {
public static var shared: PhylloConnect.PhylloConfig
public init()
public var env: PhylloConnect.PhylloEnvironment
public var phylloVC: UIKit.UIViewController
public var developerName: Swift.String
public var deepLinkURL: Swift.String
public var sdkToken: Swift.String
public var userId: Swift.String
}
public class PhylloConnect {
required public init(configuration: PhylloConnect.PhylloConfig)
public func launchSDK(workPlatformId: Swift.String)
@objc deinit
}
public enum PhylloEnvironment : Swift.String {
case dev
case sandbox
case prod
public init?(rawValue: Swift.String)
public typealias RawValue = Swift.String
public var rawValue: Swift.String {
get
}
}
extension PhylloConnect.PhylloEnvironment : Swift.Equatable {}
extension PhylloConnect.PhylloEnvironment : Swift.Hashable {}
extension PhylloConnect.PhylloEnvironment : Swift.RawRepresentable {}
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#if __has_warning("-Watimport-in-framework-header")
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
#endif
@import CoreGraphics;
@import UIKit;
@import WebKit;
#endif

#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
Expand Down Expand Up @@ -223,22 +221,6 @@ SWIFT_CLASS("_TtC13PhylloConnect19LoginViewController")



SWIFT_CLASS("_TtC13PhylloConnect12SVGImageView")
@interface SVGImageView : UIView
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
- (void)awakeFromNib;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE;
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
@end

@class WKWebView;
@class WKNavigation;

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





Expand Down Expand Up @@ -445,9 +427,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#if __has_warning("-Watimport-in-framework-header")
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
#endif
@import CoreGraphics;
@import UIKit;
@import WebKit;
#endif

#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
Expand Down Expand Up @@ -478,22 +458,6 @@ SWIFT_CLASS("_TtC13PhylloConnect19LoginViewController")



SWIFT_CLASS("_TtC13PhylloConnect12SVGImageView")
@interface SVGImageView : UIView
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
- (void)awakeFromNib;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE;
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
@end

@class WKWebView;
@class WKNavigation;

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





Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,18 @@ import _Concurrency
@_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder)
@objc deinit
}
@objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class SVGImageView : UIKit.UIView {
@objc dynamic public init()
@objc override dynamic public func awakeFromNib()
@objc deinit
@_Concurrency.MainActor(unsafe) public func load(url: Swift.String)
}
extension PhylloConnect.SVGImageView : WebKit.WKNavigationDelegate {
@_Concurrency.MainActor(unsafe) @objc dynamic public func webView(_ webView: WebKit.WKWebView, didFinish navigation: WebKit.WKNavigation!)
}
public struct PhylloConfig {
public static var shared: PhylloConnect.PhylloConfig
public static var shared: PhylloConfig
public init()
public var env: PhylloConnect.PhylloEnvironment
public var env: PhylloEnvironment
public var phylloVC: UIKit.UIViewController
public var developerName: Swift.String
public var deepLinkURL: Swift.String
public var sdkToken: Swift.String
public var userId: Swift.String
}
public class PhylloConnect {
required public init(configuration: PhylloConnect.PhylloConfig)
required public init(configuration: PhylloConfig)
public func launchSDK(workPlatformId: Swift.String)
@objc deinit
}
Expand All @@ -47,6 +38,6 @@ public enum PhylloEnvironment : Swift.String {
get
}
}
extension PhylloConnect.PhylloEnvironment : Swift.Equatable {}
extension PhylloConnect.PhylloEnvironment : Swift.Hashable {}
extension PhylloConnect.PhylloEnvironment : Swift.RawRepresentable {}
extension PhylloEnvironment : Swift.Equatable {}
extension PhylloEnvironment : Swift.Hashable {}
extension PhylloEnvironment : Swift.RawRepresentable {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)
// swift-module-flags: -target arm64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name PhylloConnect
import Foundation
@_exported import PhylloConnect
import Swift
import UIKit
import WebKit
import _Concurrency
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor(unsafe) public class LoginViewController : UIKit.UIViewController {
@_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidLoad()
@_Concurrency.MainActor(unsafe) @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
@_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder)
@objc deinit
}
public struct PhylloConfig {
public static var shared: PhylloConnect.PhylloConfig
public init()
public var env: PhylloConnect.PhylloEnvironment
public var phylloVC: UIKit.UIViewController
public var developerName: Swift.String
public var deepLinkURL: Swift.String
public var sdkToken: Swift.String
public var userId: Swift.String
}
public class PhylloConnect {
required public init(configuration: PhylloConnect.PhylloConfig)
public func launchSDK(workPlatformId: Swift.String)
@objc deinit
}
public enum PhylloEnvironment : Swift.String {
case dev
case sandbox
case prod
public init?(rawValue: Swift.String)
public typealias RawValue = Swift.String
public var rawValue: Swift.String {
get
}
}
extension PhylloConnect.PhylloEnvironment : Swift.Equatable {}
extension PhylloConnect.PhylloEnvironment : Swift.Hashable {}
extension PhylloConnect.PhylloEnvironment : Swift.RawRepresentable {}
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,18 @@ import _Concurrency
@_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder)
@objc deinit
}
@objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class SVGImageView : UIKit.UIView {
@objc dynamic public init()
@objc override dynamic public func awakeFromNib()
@objc deinit
@_Concurrency.MainActor(unsafe) public func load(url: Swift.String)
}
extension PhylloConnect.SVGImageView : WebKit.WKNavigationDelegate {
@_Concurrency.MainActor(unsafe) @objc dynamic public func webView(_ webView: WebKit.WKWebView, didFinish navigation: WebKit.WKNavigation!)
}
public struct PhylloConfig {
public static var shared: PhylloConnect.PhylloConfig
public static var shared: PhylloConfig
public init()
public var env: PhylloConnect.PhylloEnvironment
public var env: PhylloEnvironment
public var phylloVC: UIKit.UIViewController
public var developerName: Swift.String
public var deepLinkURL: Swift.String
public var sdkToken: Swift.String
public var userId: Swift.String
}
public class PhylloConnect {
required public init(configuration: PhylloConnect.PhylloConfig)
required public init(configuration: PhylloConfig)
public func launchSDK(workPlatformId: Swift.String)
@objc deinit
}
Expand All @@ -47,6 +38,6 @@ public enum PhylloEnvironment : Swift.String {
get
}
}
extension PhylloConnect.PhylloEnvironment : Swift.Equatable {}
extension PhylloConnect.PhylloEnvironment : Swift.Hashable {}
extension PhylloConnect.PhylloEnvironment : Swift.RawRepresentable {}
extension PhylloEnvironment : Swift.Equatable {}
extension PhylloEnvironment : Swift.Hashable {}
extension PhylloEnvironment : Swift.RawRepresentable {}
Loading

0 comments on commit 832e943

Please sign in to comment.