This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am uberto on github. | |
* I am ramtop (https://keybase.io/ramtop) on keybase. | |
* I have a public key ASCOtE1ezv_CxcrGjuvY-_rrNCzrddbsNzrwPPFho6dORQo | |
To claim this, I am signing this object: |
This file contains 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
class Foo: NSObject{ func foo() -> String{return "foo"}} | |
class Bar {func bar() -> String{return "bar"}} | |
let b: AnyObject = Bar() | |
//fail b.bar() | |
let f: AnyObject = Foo() | |
f.foo() //it works! |
NewerOlder