02 2015 档案

摘要://-------------------var totalPrice: Int = 0 { willSet(newTotalPrice) { //参数使用new+变量名且变量名首地址大写 println("准备将totalPrice值(原值为:\(totalPr... 阅读全文
posted @ 2015-02-26 11:21 云影风雨 阅读(275) 评论(0) 推荐(0)
摘要://webview导航栏类型enum UIWebViewNavigationType : Int { case LinkClicked case FormSubmitted case BackForward case Reload case FormResubm... 阅读全文
posted @ 2015-02-10 09:13 云影风雨 阅读(771) 评论(0) 推荐(0)
摘要:class UICollectionView : UIScrollView//初始化,位置,风格 init(frame: CGRect, collectionViewLayout layout: UICollectionViewLayout) //布局风格var collectionViewLayo... 阅读全文
posted @ 2015-02-05 10:03 云影风雨 阅读(785) 评论(0) 推荐(0)
摘要:enum UIActionSheetStyle : Int { case Automatic // take appearance from toolbar style otherwise uses 'default' case Default //默认风格:灰色背景上显示白色文... 阅读全文
posted @ 2015-02-05 09:35 云影风雨 阅读(167) 评论(0) 推荐(0)
摘要://初始化 init(image: UIImage!) @availability(iOS, introduced=3.0)//初始化,highlightedImage 高亮图片init(image: UIImage!, highlightedImage: UIImage?) var imag... 阅读全文
posted @ 2015-02-05 09:09 云影风雨 阅读(156) 评论(0) 推荐(0)
摘要://阴影颜色@property(nonatomic,retain) UIColor *shadowColor; // default is nil (no shadow)//阴影大小@property(nonatomic) CGSize shadowOffset;//... 阅读全文
posted @ 2015-02-04 17:52 云影风雨 阅读(230) 评论(0) 推荐(0)
摘要:typedef struct CGAffineTransform CGAffineTransform;struct CGAffineTransform { CGFloat a, b, c, d; CGFloat tx, ty;};const CGAffineTransform CGAffineTra... 阅读全文
posted @ 2015-02-03 14:04 云影风雨 阅读(240) 评论(0) 推荐(0)
摘要:UIView : UIResponder + (Class)layerClass;- (instancetype)initWithFrame:(CGRect)frame;//是否可点击@property(nonatomic,getter=isUserInteractionEnabled) BOOL ... 阅读全文
posted @ 2015-02-03 13:16 云影风雨 阅读(239) 评论(0) 推荐(0)