Skip to content

Instantly share code, notes, and snippets.

@castus
Created February 11, 2018 20:08
Show Gist options
  • Save castus/c2105db45eb49af372980c799604b4c9 to your computer and use it in GitHub Desktop.
Save castus/c2105db45eb49af372980c799604b4c9 to your computer and use it in GitHub Desktop.
import Foundation
class User: NSObject {
let name: String
let age: Int
@objc init(name: String, age: Int) {
self.name = name
self.age = age
super.init()
}
@objc func hireOC() -> Bool {
return true
}
func hire() -> Bool {
return true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment