07 2015 档案

Android studio 界面设置,快捷键设置
摘要:参考地址:http://www.360doc.com/content/14/1218/16/8085797_433906134.shtml 阅读全文

posted @ 2015-07-28 10:42 彪biao 阅读(233) 评论(0) 推荐(0)

IOS自定义UITableViewCell的高亮背景色
摘要:IOS的sdk中,对UITableViewCell的高亮背景色只支持两种颜色,分别为UITableViewCellSelectionStyleBlue和UITableViewCellSelectionStyleGray。那么如何自定义这个颜色呢。一个思路是当用户点下cell时设置你想要的cell的背... 阅读全文

posted @ 2015-07-22 13:59 彪biao 阅读(467) 评论(0) 推荐(0)

IOS计算字符串尺寸
摘要:.h#import @interface NSString (Extension)/** * 返回字符串所占用的尺寸 * * @param font 字体 * @param maxSize 最大尺寸 */- (CGSize)sizeWithFont:(UIFont *)font maxS... 阅读全文

posted @ 2015-07-22 09:17 彪biao 阅读(248) 评论(0) 推荐(0)

自定义iOS7导航栏背景,标题和返回按钮文字颜色
摘要:http://blog.csdn.net/mad1989/article/details/41516743 阅读全文

posted @ 2015-07-20 14:55 彪biao 阅读(103) 评论(0) 推荐(0)

自定义uitableviewcell,层层封装
摘要:封装,好处:减少viewcontroller累里的代码量,方便后期维护cell:.h1 #import 2 @class HMStatusFrame;3 4 @interface HMStatusCell : UITableViewCell5 + (instancetype)cellWithTabl... 阅读全文

posted @ 2015-07-13 09:06 彪biao 阅读(309) 评论(0) 推荐(0)

加载storyboard和xib文件
摘要:// 加载storyboard UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Two" bundle:nil]; // 创建storyboard里面灰色的控制器 //找到shtoryboar... 阅读全文

posted @ 2015-07-07 10:23 彪biao 阅读(447) 评论(0) 推荐(0)

iOS Animation 主流炫酷动画框架(特效)收集整理
摘要:参见地址:https://github.com/sxyx2008/DevArticles/issues/91 阅读全文

posted @ 2015-07-06 10:23 彪biao 阅读(483) 评论(0) 推荐(0)

代理demo
摘要:1- .h#import typedef enum { HMStatusDetailTopToolbarButtonTypeRetweeted, HMStatusDetailTopToolbarButtonTypeComment,} HMStatusDetailTopToolbarBut... 阅读全文

posted @ 2015-07-06 10:01 彪biao 阅读(189) 评论(0) 推荐(0)

block学习(一)
摘要:1.定义block的两种方式: -直接定义: //@property (nonatomic,copy) void (^callBack)(NSInteger index,id info); -type定义,重用 typedef void (^callBack)(NSInteger i... 阅读全文

posted @ 2015-07-06 09:46 彪biao 阅读(142) 评论(0) 推荐(0)

自定义UIView整理(1)
摘要:1.UICollectionView实现不同大小cell等间距下载地址:http://download.csdn.net/detail/chchong1234/8692121 阅读全文

posted @ 2015-07-01 20:57 彪biao 阅读(119) 评论(0) 推荐(0)

导航