self.dynamicType doesn't work any more, but type(of: self) is just Swift
3.0 So how do i get the class?

Use case in a unit test:

let bundle = NSBundle(forClass: type(of: self))

-- 
Nate Birkholz
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

Reply via email to