从来没有使用,但我认为应该是这样的:
Swift = 2.x
- NSBundle(forClass: self.dynamicType)
Swift 3.x
- Bundle(for: type(of: self))
Swift = 2.x
- NSBundle(forClass: self.dynamicType)
Swift 3.x
- Bundle(for: type(of: self))