Guest User

Untitled

a guest
Aug 10th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. extension SomeViewController {
  2. func foo() -> Bool {
  3. return false
  4. }
  5. }
  6.  
  7. class SomeViewController: UIViewController {
  8.  
  9. override func viewDidLoad() {
  10. super.viewDidLoad()
  11. }
  12. }
  13.  
  14. class SomeViewController: UIViewController {
  15.  
  16. override func viewDidLoad() {
  17. super.viewDidLoad()
  18. }
  19. }
  20.  
  21. extension SomeViewController {
  22. func foo() -> Bool {
  23. return false
  24. }
  25. }
  26.  
  27. view controller does not have an outlet named (subview)
  28.  
  29. // This caused the (!) problem in Interface Builder
  30.  
  31. #if( MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_10 )
  32. @interface CLChatWindowController : NSObject <WebPolicyDelegate, WebUIDelegate, WebFrameLoadDelegate>
  33. #else
  34. @interface CLChatWindowController : NSObject
  35. #endif
  36. ...
  37.  
  38.  
  39. // Removing all the Preprocessor code fixed the problem
  40.  
  41. @interface CLChatWindowController : NSObject <WebPolicyDelegate, WebUIDelegate, WebFrameLoadDelegate>
  42. ....
Add Comment
Please, Sign In to add comment