摘要: class UICollectionView : UIScrollView//初始化,位置,风格 init(frame: CGRect, collectionViewLayout layout: UICollectionViewLayout) //布局风格var collectionViewLayo... 阅读全文
posted @ 2015-02-05 10:03 云影风雨 阅读(774) 评论(0) 推荐(0) 编辑
摘要: enum UIActionSheetStyle : Int { case Automatic // take appearance from toolbar style otherwise uses 'default' case Default //默认风格:灰色背景上显示白色文... 阅读全文
posted @ 2015-02-05 09:35 云影风雨 阅读(154) 评论(0) 推荐(0) 编辑
摘要: //初始化 init(image: UIImage!) @availability(iOS, introduced=3.0)//初始化,highlightedImage 高亮图片init(image: UIImage!, highlightedImage: UIImage?) var imag... 阅读全文
posted @ 2015-02-05 09:09 云影风雨 阅读(149) 评论(0) 推荐(0) 编辑
摘要: //阴影颜色@property(nonatomic,retain) UIColor *shadowColor; // default is nil (no shadow)//阴影大小@property(nonatomic) CGSize shadowOffset;//... 阅读全文
posted @ 2015-02-04 17:52 云影风雨 阅读(215) 评论(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 云影风雨 阅读(227) 评论(0) 推荐(0) 编辑
摘要: UIView : UIResponder + (Class)layerClass;- (instancetype)initWithFrame:(CGRect)frame;//是否可点击@property(nonatomic,getter=isUserInteractionEnabled) BOOL ... 阅读全文
posted @ 2015-02-03 13:16 云影风雨 阅读(227) 评论(0) 推荐(0) 编辑
摘要: UICollectionView 和 UICollectionViewController 类是iOS6 新引进的API,用于展示集合视图,布局更加灵活,可实现多列布局,用法类似于UITableView 和 UITableViewController 类1.定义Cell@interface Coll... 阅读全文
posted @ 2015-01-28 15:56 云影风雨 阅读(229) 评论(0) 推荐(0) 编辑
摘要: http://www.codeios.com/iOS 开发者http://stackoverflow.com/stackoverflowhttp://ui4app.com/app界面设计http://code.662p.com/源码天堂http://blog.163.com/scuqifuguang... 阅读全文
posted @ 2014-11-19 09:01 云影风雨 阅读(141) 评论(0) 推荐(0) 编辑