- 博客(9)
- 资源 (1)
- 收藏
- 关注
原创 io——c——格式控制
格式字符%d(decimal),%i(integer):以带符号的十进制形式输出整数(正数不输出符号)%o(octal):以八进制无符号形式输出整数(不输出前导符0)%x或%X(hexadecimal):以十六进制无符号形式输出整数(不输出前导符0x或0X),a~f用x时以小写字母形式输出,用X时,以大写字母形式输出%u(unsigned):以无符号十进制形式输出整数%c或%C(char)
2016-09-28 14:57:52 417
原创 ios设备信息汇总
iphoneiphone 1(2g):armv6 320X480 @x1iphone 2(3g):armv6 320X480 @x1iphone 3(3gs):armv7 320X480 @x1iphone 4:armv7 320X480 @x2iPhone 4s:armv7 320X480 @x2iphone 5:armv7s 320X568 @x2iPhone 5c:armv7s
2016-09-28 09:36:17 250
原创 cocoa touch——NSLabel——排版
text alignment@property(nonatomic) NSTextAlignment textAlignment; // default is NSTextAlignmentLeft/* Values for NSTextAlignment */typedef NS_ENUM(NSInteger, NSTextAlignment) { NST
2016-09-16 23:15:55 1226
原创 IBOutlet IBOutletCollection IBAction
概述从字面意思理解,outlet表示“插座”,collection表示“集合”,action表示“行动”,前缀IB表示Interface Builder,因此IBOutlet,IBOutletCollection,IBAction本身没有特殊意义,这是用来让IB识别的标识符IBOutlet
2016-09-12 23:22:16 395
原创 cocoa touch——UIImage——attribute,draw
attribute@property(nonatomic,readonly) UIImageOrientation imageOrientation; // this will affect how the image is composited@property(nonatomic,readonly) CGFloat scale NS_AVAILABLE_IOS(4_0);@proper
2016-09-01 00:13:02 281
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人