How to use Localizable.strings stored in a CocoaTouch Framework?
问题 I'd like to add multi-language support to a CocoaTouch Framework. The problem: The Localizable.strings file I created only gets used by NSLocalizedString when it's part of the main app and its target. I'd like to store it inside the Framework to keep things separate. How can I use the Localizable.strings when placed inside a CocoaTouch Framework? 回答1: Use: NSLocalizedString("Good", tableName: nil, bundle: NSBundle(forClass: self), value: "", comment: "") or you can create public func like