Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Foundation
- @objc class ReplaceMe: NSObject {
- func hello() {
- print("hello world")
- }
- }
- #import "ViewController.h"
- @import foo;
- @implementation ViewController
- - (void)viewDidLoad {
- [super viewDidLoad];
- ReplaceMe *foo = [[ReplaceMe alloc] init];
- [foo hello];
- }
- @end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement