Last active
April 3, 2021 03:01
-
-
Save rockwotj/06be34674738e4b9db03efb7b6797816 to your computer and use it in GitHub Desktop.
Generated ObjC Swift Interface
This file contains hidden or 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
SWIFT_CLASS("_TtC3Foo9TestClass") | |
@interface TestClass : NSObject | |
- (void)fooWithLabel:(NSString * _Nonnull)arg; | |
- (void)foo1:(NSString * _Nonnull)arg; | |
- (void)barWithLabel:(NSString * _Nonnull)arg other:(NSInteger)ar; | |
- (void)bar1:(NSString * _Nonnull)arg other:(NSDictionary<NSString *, id> * _Nonnull)ar; | |
- (void)quxWithLabel:(NSString * _Nonnull)arg :(NSInteger)ar; | |
- (void)qux1:(NSString * _Nonnull)arg :(NSArray * _Nonnull)ar; | |
- (void)thudWithArg:(int64_t)arg ar:(double)ar; | |
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; | |
@end |
This file contains hidden or 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
@objc class TestClass : NSObject { | |
@objc func foo(label arg: String) { | |
print("Hello \(arg)") | |
} | |
@objc func foo1(_ arg: String) { | |
print("Hello \(arg)") | |
} | |
@objc func bar(label arg: String, other ar: Int) { | |
print("Hello \(arg)") | |
} | |
@objc func bar1(_ arg: String, other ar: [String:AnyObject]) { | |
print("Hello \(arg)") | |
} | |
@objc func qux(label arg: String, _ ar: Int) { | |
print("Hello \(arg)") | |
} | |
@objc func qux1(_ arg: String, _ ar: [Any]) { | |
print("Hello \(arg)") | |
} | |
@objc func thud(arg: Int64, ar: Double) { | |
print("Hello \(arg)") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment