Type :help for assistance. $ xcrun swiftc Foo.swift ## will compile an executable $ xcrun swift-stdlib-tool ## assembles libraries for an application bundle $ xcrun swift-demangle _TtCSs29_NativeDictionaryStorageOwner _TtCSs29_NativeDictionaryStorageOwner ---> Swift._NativeDictionaryStorageOwner
} import Foundation import ObjectiveC.runtime var ivar = class_getInstanceVariable(MySwiftClass().dynamicType, "foo") var value : AnyObject = object_getIvar(MySwiftClass(), ivar)! Segmentation fault: 11
be presented in the IDE. enum MirrorDisposition { case Struct case Class case Enum case Tuple [...] } /// A protocol that provides a reflection interface to an underlying value. protocol MirrorType { [...] /// Get the number of logical children this value has. var count: Int { get } subscript (i: Int) -> (String, MirrorType) { get } /// Get a string description of this value. var summary: String { get } [...] }