/ swift

swift equivalent of obejctive-c self class

자동완성이 안되어서 조금 헤매였다.

// objective-c
[self class]
// swift
self.dynamicType

http://stackoverflow.com/questions/24049673/swift-class-introspection-generics