Add pod MASShortcut 2.3.6

This commit is contained in:
Charlie Qiu
2017-03-10 22:35:50 +08:00
parent e003b89c2b
commit 52709213e4
57 changed files with 3504 additions and 373 deletions

View File

@ -0,0 +1,13 @@
/**
Reads a localized string from the frameworks bundle.
Normally you would use NSLocalizedString to read the localized
strings, but thats just a shortcut for loading the strings from
the main bundle. And once the framework ends up in an app, the
main bundle will be the apps bundle and wont contain our strings.
So we introduced this helper function that makes sure to load the
strings from the frameworks bundle. Please avoid using
NSLocalizedString throughout the framework, it wouldnt work
properly.
*/
NSString *MASLocalizedString(NSString *key, NSString *comment);