会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
狸猫副园长
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
下一页
2019年5月22日
UITabBarController资料
摘要: 入门 "iOS开发UI篇—UITabBarController简单介绍" 依照上方先写一个demo出来,可基本了解UITabBarController。 重点如下: 1.UITabBarController的本质,它是一个ViewController的容器 2.使用过程 初始化UITabBarCon
阅读全文
posted @ 2019-05-22 13:14 狸猫副园长
阅读(123)
评论(0)
推荐(0)
2019年3月30日
lintcode157 判断字符串是否没有重复字符
摘要: 描述 实现一个算法确定字符串中的字符是否均唯一出现 样例 挑战 如果不使用额外的存储空间,你的算法该如何改变? 解法 解法1 最开始我能想到的是使用一个map,遍历字符串,如果map中存在该值则字符不是唯一出现,返回false;如果遍历完后都没有在map中找到这些字符,则字符是唯一出现。 特殊用例
阅读全文
posted @ 2019-03-30 16:53 狸猫副园长
阅读(337)
评论(0)
推荐(0)
2016年8月1日
设置TabBarItem选中时的图片及文字颜色
摘要: TabBarItem选中时,默认文字和图片都变为蓝色。使用以下代码可以进行修改。```objc MainViewController *mainVC = [[MainViewController alloc] init]; UINavigationController *mainNVC = [[UINavigationController alloc] initWithRootView...
阅读全文
posted @ 2016-08-01 22:44 狸猫副园长
阅读(790)
评论(0)
推荐(0)
扩展UIColor类
摘要: 在开发中,UI给出的颜色值有时候是十六进制的,有时候给出的是RGB(255,255,255)这样的形式的,而iOS系统提供的方法中并没有直接传递这两种值返回UIColor对象的,这里自己封装了一个以便使用。UIColor+LMColor.h```objc#import @interface UIColor(LMColor)/** * 获取透明度为1的随机颜色 * * @return 随机获得的...
阅读全文
posted @ 2016-08-01 22:40 狸猫副园长
阅读(392)
评论(0)
推荐(0)
设置UINavigationController相同标题
摘要: 设置UINavigationController相同标题
阅读全文
posted @ 2016-08-01 21:33 狸猫副园长
阅读(153)
评论(0)
推荐(0)
iOS打开手机QQ与指定用户聊天界面
摘要: iOS打开手机QQ与指定用户聊天界面
阅读全文
posted @ 2016-08-01 21:31 狸猫副园长
阅读(336)
评论(0)
推荐(0)
2016年7月22日
UIWindow
摘要: UIWindow学习笔记
阅读全文
posted @ 2016-07-22 22:28 狸猫副园长
阅读(285)
评论(0)
推荐(0)
2016年7月20日
Google Test资料
摘要: Google Test资料
阅读全文
posted @ 2016-07-20 23:47 狸猫副园长
阅读(184)
评论(0)
推荐(0)
Xcode集成Google Test
摘要: Xcode集成Google Test
阅读全文
posted @ 2016-07-20 23:45 狸猫副园长
阅读(946)
评论(0)
推荐(0)
文章索引
摘要: 博客文章索引
阅读全文
posted @ 2016-07-20 23:18 狸猫副园长
阅读(199)
评论(0)
推荐(0)
上一页
1
2
3
下一页
公告