会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Enjoy-Coding
上一页
1
···
3
4
5
6
7
8
9
下一页
较简单的date转化成格式化的timeString
摘要: - (NSString *)timeStringWithDate:(NSDate *)date{ NSDateFormatter *dateForm = [[NSDateFormatter alloc] init]; dateForm.dateFormat = @"yyy...
阅读全文
posted @ 2015-11-25 11:41 森code
阅读(258)
评论(0)
推荐(0)
编辑
字符串截取的用法
摘要: typedef NSRange *NSRangePointer;NS_INLINE NSRange NSMakeRange(NSUInteger loc, NSUInteger len) {NSRange r;r.location = loc;r.length = len;return r;}NSM...
阅读全文
posted @ 2015-11-25 10:53 森code
阅读(463)
评论(0)
推荐(0)
编辑
UIImageView的图片轮播属性
摘要: imageV.animationImages = imageArr; imageV.animationDuration = imageArr.count; imageV.animationRepeatCount = 0; [imageV startA...
阅读全文
posted @ 2015-11-24 20:02 森code
阅读(212)
评论(0)
推荐(0)
编辑
label.lineBreakMode设置lable中文字过长时的显示格式,其中可以有末尾以省略号显示。
摘要: iOS4.0版本:label.lineBreakMode = NSLineBreakByCharWrapping;以字符为显示单位显示,后面部分省略不显示。label.lineBreakMode = NSLineBreakByClipping;剪切与文本宽度相同的内容长度,后半部分被删除。label...
阅读全文
posted @ 2015-11-24 19:10 森code
阅读(778)
评论(0)
推荐(0)
编辑
UIImageView的contentMode属性
摘要: ContentMode中需要注意:1.但凡取值中包含Scale单词的值都会拉伸图片.2.但是取值中包含Aspect单词的值都会按照图片的宽高比拉伸(不会变形)UIViewContentModeScaleToFill, // 默认 (会变形)ScaleToFill: 会按照ImageView的宽高比拉...
阅读全文
posted @ 2015-11-21 01:40 森code
阅读(429)
评论(0)
推荐(0)
编辑
iOS开发----关于导航条的研究
摘要: http://m.blog.csdn.net/blog/yuxikuo_1/42151837
阅读全文
posted @ 2015-11-20 11:07 森code
阅读(116)
评论(0)
推荐(0)
编辑
iOS 开发对图片进行处理
摘要: http://www.open-open.com/lib/view/open1375933073921.html
阅读全文
posted @ 2015-11-19 12:57 森code
阅读(198)
评论(0)
推荐(0)
编辑
设置按钮中的图片的旋转,并且旋转之后不变形
摘要: 1、设置按钮属性: self.titleBtn.imageView.contentMode = UIViewContentModeCenter; self.titleBtn.imageView.clipsToBounds = NO;2、处理点击事件- (void)titleBtn...
阅读全文
posted @ 2015-11-18 00:50 森code
阅读(803)
评论(0)
推荐(0)
编辑
调整按钮的子控件titleLable和imageView的间距的属性和用法
摘要: self.titleBtn.contentHorizontalAlignment = UIControlContentHorizontalAlignmentLeft; self.titleBtn.contentEdgeInsets = UIEdgeInsetsMake(0, 10, 0, 0); s
阅读全文
posted @ 2015-11-18 00:41 森code
阅读(596)
评论(0)
推荐(0)
编辑
ios开发之--数据库开发
摘要: 1、封装FMDBhttp://www.cnblogs.com/sxwangjiadong/p/4968536.html
阅读全文
posted @ 2015-11-16 12:42 森code
阅读(131)
评论(0)
推荐(0)
编辑
上一页
1
···
3
4
5
6
7
8
9
下一页
导航
博客园
首页
联系
订阅
管理
公告