It seems to support nested classes/types. https://developer.apple.com/library/prerelease/ios/documentation/swift/conceptual/swift_programming_language/NestedTypes.html