
IOS-控件使用
小程cyc
这个作者很懒,什么都没留下…
展开
-
UIButton 上同时显示图片和文字
UIButton *searchButton = [UIButtonbuttonWithType:UIButtonTypeCustom]; UIImage *searchImage = [UIImageimageNamed:@"searchBarBg.png"]; searchButton.frame =CGRectMake(10, 10, searchImage.原创 2014-12-02 15:53:17 · 543 阅读 · 0 评论 -
userInteractionEnabled属性理解
A Boolean value that determines whether user events are ignored and removed from the event queue.一个布尔值,它决定了是否用户触发的事件被该视图对象忽略和把该视图对象从事件响应队列中移除。UIView userInteractionEnabled 默认值是YES一些原创 2015-02-27 16:11:56 · 926 阅读 · 0 评论 -
Objective-C Runtime
http://southpeak.github.io/blog/2014/10/25/objective-c-runtime-yun-xing-shi-zhi-lei-yu-dui-xiang/Objective-C Runtime 运行时之一:类与对象OCT 25TH, 2014 | COMMENTSObjective-C语言是一门动态语言,它将很多静转载 2015-02-27 16:16:31 · 450 阅读 · 0 评论 -
IOS的AutoresizingMask和AutoLayout
http://www.juwends.com/tech/apple/ios-autoresizingmask-autolayout.html初涉IOS开发,还没完全踏入,借了本名叫《IOS编程》的庞然大书来翻,虽然书中是用Objective-c的,虽然Swift已然出道,不过个人认为这个对我这种还没入行的人来说,影响不大,反正感觉Swift做IOS开发,很多api都是直接cop转载 2015-02-27 16:14:32 · 1808 阅读 · 0 评论 -
CAlayer层
http://www.cnblogs.com/wendingding/p/3800736.htmliOS开发UI篇—CAlayer层的属性一、position和anchorPoint1.简单介绍CALayer有2个非常重要的属性:position和anchorPoint@property CGPoint position;用来设置CALa转载 2015-02-27 16:23:53 · 333 阅读 · 0 评论 -
componentsJoinedByString 和 componentsSeparatedByString 的方法的区别
将string字符串转换为array数组 NSArray *array = [Str componentsSeparatedByString:@","];==反向方法将array数组转换为string字符串 NSString *tempString = [mutableArray componentsJoinedByString:@","];-转载 2015-05-06 10:31:14 · 8856 阅读 · 0 评论