1.MD5加密Message Digest Algorithm
MD5(中文名为消息摘要算法第五版)为计算机安全领域广泛使用的一种散列函数,用以提供消息的完整性保护。该算法的文件号为RFC 1321(R.Rivest,MIT
Laboratory for Computer Science and R...
分类:
移动开发 时间:
2014-06-02 00:37:48
阅读次数:
303
写在私有分类中就是私有的 ,只能当前类访问.
写在interface中也就是头文件中是公开的,别人只要导入头文件就可以访问.
xcode5之后苹果推荐我们将控件的属性写在私有分类中封装起来.避免外界直接操作当前类管理的子控件, 更好的保证了封装性. ,
优缺点的体现在团队开发(多人开发中),和编.....
分类:
移动开发 时间:
2014-06-02 00:36:27
阅读次数:
281
UIkit框架下的几个基本控件,UIButton,UITextField,UILabel,UIImageView,UIScrollView,UITableView,UITableViewCell,UIPageControl;
他们的继承关系,UILabel,UIImageView,UIScro...
分类:
移动开发 时间:
2014-06-02 00:10:21
阅读次数:
361
UILabel:常用属性@property(nonatomic,copy) NSString
*text; // default is nil@property(nonatomic,retain) UIFont *font; // default
is...
分类:
移动开发 时间:
2014-06-02 00:03:51
阅读次数:
432
UIScrollView:常用属性@property(nonatomic)
UIEdgeInsets contentInset; // default UIEdgeInsetsZero. add additional scroll
area around content@prop...
分类:
移动开发 时间:
2014-06-01 23:53:28
阅读次数:
505
2014年1月26日 首先,hasLayout 和 Block Formatting Contexts
分别是什么?1、hasLayout是IE内部的一个特有的隐形属性,属性值为true/false。元素一旦拥有了这个属性,就拥有了布局,也就是说该元素可以对自己及其子元素进行尺寸计算和定位...
分类:
其他好文 时间:
2014-06-01 23:48:55
阅读次数:
287
一、实现效果 二、实现代码1.数据模型部分YYQQGroupModel.h文件 1 // 2
// YYQQGroupModel.h 3 // 02-QQ好友列表(基本数据的加载) 4 // 5 // Created by apple on
14-5-31. 6 // Copyrig...
分类:
移动开发 时间:
2014-06-01 23:46:16
阅读次数:
375
首先状态栏式view的属性,所以在viewController中直接重写:/** 修改状态栏
*/- (UIStatusBarStyle)preferredStatusBarStyle{ // 修改状态栏的颜色(白色) return
UIStatusBarStyleLightConten...
分类:
移动开发 时间:
2014-06-01 23:43:43
阅读次数:
371
iOS
多快好省的宏(转)原文地址:http://my.oschina.net/yongbin45/blog/150149// 字符串:#ifndef
nilToEmpty#define nilToEmpty(object) (object!=nil)?object:@""#endif#ifnde....
分类:
移动开发 时间:
2014-06-01 17:14:10
阅读次数:
339
UITabelView:常用属性@property (nonatomic) CGFloat
rowHeight; // will return the default value if unset@property (nonatomic)
CGFloat sect...
分类:
移动开发 时间:
2014-06-01 17:07:41
阅读次数:
394