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
protocol protokol {} | |
class klass : protokol {} | |
let array : [protokol] = [klass()] as [klass] // EXC_BAD_ACCESS | |
////////////////////////////////////////////////// | |
class klass {} | |
var global : [Any] = [] | |
let block : () -> () = { | |
global = [klass()] as [klass] |
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
import UIKit | |
/* BEGIN BOILERPLATE CODE */ | |
class XYZNestedData { | |
var actualData : String? | |
init(actualData: String) { | |
self.actualData = actualData; | |
} | |
} |