上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 40 下一页

ios开发dismiss所有控制器

摘要: -(void)dismissToRootViewController { UIViewController *vc = self; while (vc.presentingViewController) { vc = vc.presentingViewController; } ... 阅读全文
posted @ 2018-04-13 15:05 土匪7 阅读(352) 评论(0) 推荐(0) 编辑

[报错]ios开发 failed to read file attributes for

摘要: 下载第三方demo,运行报错: failed to read file attributes for https://stackoverflow.com/questions/46301270/failed-to-read-file-attributes-for-images-xcassets-in- 阅读全文
posted @ 2018-04-10 19:51 土匪7 阅读(233) 评论(0) 推荐(0) 编辑

textfield内边距

摘要: 使用QMUITextField self.inputTf.textInset = UIEdgeInsetsMake(0, -6, 0, 10); 阅读全文
posted @ 2018-04-09 11:31 土匪7 阅读(137) 评论(0) 推荐(0) 编辑

iOS 修改TabBar的item间距

摘要: 效果: 阅读全文
posted @ 2018-03-31 20:09 土匪7 阅读(598) 评论(0) 推荐(0) 编辑

iOS只给矩形两个边加圆角

摘要: - (void)updataTopCornerRadius { CGRect clipRect = CGRectMake(0, 0, self.headPhotoIv.width, self.headPhotoIv.width); UIBezierPath *maskPath = [UIBezierPath bezierPathWithRoundedRect:clipRect b... 阅读全文
posted @ 2018-03-28 17:32 土匪7 阅读(148) 评论(0) 推荐(0) 编辑

iOS开发使用pdf切图

摘要: 把pdf资源拖到Assets.xcassets里面, 打开最右边的按钮, scales选择single scale就可以像以前一样使用了: [UIImage imageName:@"xxxx"]; 阅读全文
posted @ 2018-03-21 14:42 土匪7 阅读(191) 评论(0) 推荐(0) 编辑

左移右移

摘要: a=00000011 左移 a<<2 = 00011 0000 右移 a>>2 0000 0000' 左移右移指的是把数字整体移动几个位置 阅读全文
posted @ 2018-03-14 20:03 土匪7 阅读(67) 评论(0) 推荐(0) 编辑

<笔记>Effective Objective-C 2.0 编写高质量iOS与

摘要: 1. 内存管理-引用计数 2. 非对象类型 int float double char 3.运行时--编译器(编译时)函数调用 4.@class 缩短编译时间,降低依赖,耦合 5.使用字面量而不是alloc init,字面量是 a)使代码简洁易懂的语法糖, b)如果插入了nil对象,使用字面量会崩溃 阅读全文
posted @ 2018-03-13 15:46 土匪7 阅读(108) 评论(0) 推荐(0) 编辑

第一次跟玉玉一起过生日

摘要: 周六 玉玉跟高中同学逛玉渊潭, 同学在游戏公司一年利润十几亿,一年发16个月工资 周日大都会红丝绒蛋糕,玉玉很喜欢吃,是酸奶酪和红豆蛋糕, 给玉玉买了一个金项链,很开心,一瓶白葡萄酒,稍微有点酸,味道不错,送玉玉去北京南站,回家就玩刺激战场, 十二点多才睡觉,眼睛疼了 看了个帖子,讲准备跳槽的,准备 阅读全文
posted @ 2018-03-12 16:01 土匪7 阅读(160) 评论(0) 推荐(0) 编辑

高德点聚合之后按规则过滤

摘要: 高德点聚合之后按规则过滤 阅读全文
posted @ 2018-03-12 11:25 土匪7 阅读(281) 评论(0) 推荐(0) 编辑
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 40 下一页