会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
$OREO$
博客园
首页
新随笔
联系
管理
订阅
2016年11月25日
iOS控件之UILabel,UIButton,TextField,Textview,UISwitch,,UISegmentedControl,SwitchSliderSegmentedController
摘要: 在storyboard中拖出以下控件,然后设置好输出口。 storyboard样式: .h文件 .m文件 //点击button改变label的text //UITextField和TextView点击输入时键盘会自动划出,但不会自动收起需要让其放弃第一响应者身份实现 // 点击其中其中一个switc
阅读全文
posted @ 2016-11-25 16:25 $OREO$
阅读(255)
评论(0)
推荐(0)
2016年11月8日
手工引用计数中规则
摘要: 使用设值方法为属性赋值时 assign、retain、copy三个特性的实现 self.property = newValue; assign的特性会是这样: property = newValue; retain特性会是这样 if (property!=0) { [property release
阅读全文
posted @ 2016-11-08 21:38 $OREO$
阅读(162)
评论(0)
推荐(0)
NSBundle常用方法
摘要:
阅读全文
posted @ 2016-11-08 20:26 $OREO$
阅读(93)
评论(0)
推荐(0)
公告