Advertisement
Guest User

Untitled

a guest
Oct 28th, 2016
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. import Foundation
  2.  
  3. @objc class ReplaceMe: NSObject {
  4. func hello() {
  5. print("hello world")
  6. }
  7. }
  8.  
  9. #import "ViewController.h"
  10. @import foo;
  11.  
  12. @implementation ViewController
  13.  
  14. - (void)viewDidLoad {
  15. [super viewDidLoad];
  16.  
  17. ReplaceMe *foo = [[ReplaceMe alloc] init];
  18. [foo hello];
  19. }
  20.  
  21. @end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement