swift equivalent of obejctive-c self class

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

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

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

Subscribe to flynn's devnote

Don’t miss out on the latest issues. Sign up now to get access to the library of members-only issues.
jamie@example.com
Subscribe