- 博客(2)
- 收藏
- 关注
原创 Carthage的简单安装和使用
一、安装 下载pkg: https://github.com/Carthage/Carthage/releases 使用 Homebrew 进行安装: brew update brew install carthage 二、使用 第一步, 在项目的根目录下新建一个无后缀的Cartfile文件 第二步, 打开命令终端,cd到所在项目目录,执行 carthage update --platform i
2017-01-10 17:04:30 269
原创 NSArray元素去重
//4种方法对数组中的元素去重复 NSArray *array = @[@"12-11", @"12-11", @"12-11", @"12-12", @"12-13", @"12-14"]; array = [array valueForKeyPath:@"@distinctUnionOfObjects.self"]; NSLog(@"%@", array);
2016-06-02 16:35:14 316
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人