Latest 0.1.0
Homepage https://github.com/AndyM129/AMKLocaleDescription
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

控制台本地化输出中文,拒绝Unicode

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

以如下代码为例:

NSString *str = @"中文ABC";
NSArray *array = @[@"中文ABC", @"中文ABC"];
NSDictionary *dict = @{@"str": str, @"array":array};
NSLog(@"%@:%@", self.title, dict);

使用该库之前系统默认的输出:

AMKLocaleDescription_Example[4032:5495582] 控制台本地化输出中文Demo:{
    array =     (
                 "U4e2dU6587ABC",
                 "U4e2dU6587ABC"
                 );
    str = "U4e2dU6587ABC";
}

使用该库之后的输出:

AMKLocaleDescription_Example[4045:5499534] 控制台本地化输出中文Demo:<__NSDictionaryI 0x1c027eb80> {
    array = [
             "中文ABC",
             "中文ABC"
             ]
    str = "中文ABC",
}

Requirements

Installation

AMKLocaleDescription is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'AMKLocaleDescription'

Author

AndyM129, [email protected]

License

AMKLocaleDescription is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "AMKLocaleDescription",
    "version": "0.1.0",
    "summary": "A short description of AMKLocaleDescription.",
    "description": "TODO: A pod of AMKLocaleDescription.",
    "homepage": "https://github.com/AndyM129/AMKLocaleDescription",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Andy__M": "[email protected]"
    },
    "source": {
        "git": "https://github.com/AndyM129/AMKLocaleDescription.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": [
        "AMKLocaleDescription/Classes/*.{h,m}"
    ],
    "public_header_files": [
        "AMKLocaleDescription/Classes/*.h"
    ]
}

Pin It on Pinterest

Share This