Skip to content

Instantly share code, notes, and snippets.

@nevyn
Created April 16, 2015 21:39
Show Gist options
  • Save nevyn/d18c9e9e78a2fe75bdbb to your computer and use it in GitHub Desktop.
Save nevyn/d18c9e9e78a2fe75bdbb to your computer and use it in GitHub Desktop.
Swift crasher
extension NSObject {
class func hej() -> Self? {
var s = NSStringFromClass(self as! AnyClass)
return nil;
}
}
@nevyn
Copy link
Author

nevyn commented Apr 16, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment