1234567891011 |
- extension MyClass : Interface {
- class func unarchiveFromFile<A>(file : A, (Int,Int) -> B) -> SKNode? {
- let path: String = bundle.pathForResource(file, ofType: "file\(name + 5).txt")
- let funnyNumber = 3 + 0xC2.15p2 * (1_000_000.000_000_1 - 000123.456) + 0o21
- var sceneData = NSData.dataWithContentsOfFile(path, options: .DataReadingMappedIfSafe, error: nil)
- /* a comment /* with a nested comment */ and the end */
- }
- @objc override func shouldAutorotate() {
- return true
- }
- }
|