2017年1月16日
摘要: ``` UILabel *view1 = [[UILabel alloc]init]; view1.text = @"Label1"; view1.backgroundColor = [UIColor redColor]; UILabel *view2 = [UILabel new]; view2.text = @""; view2.backgr... 阅读全文
posted @ 2017-01-16 10:46 久冬不雨 阅读(415) 评论(0) 推荐(0) 编辑
  2016年12月1日
摘要: # Uncomment this line to define a global platform for your project platform :ios, '9.0' # Comment this line if you're not using Swift and don't want to use dynamic frameworks use_frameworks! targe... 阅读全文
posted @ 2016-12-01 14:30 久冬不雨 阅读(271) 评论(0) 推荐(0) 编辑
  2016年11月30日
摘要: 1.常量与变量 2.数据类型 3.逻辑分支 4.循环使用 二、Foundation 的使用 1.字符串使用 2.数组的使用 3.字典的使用 4.元组的使用 5.可选类型的使用 6.类型转化(as) 7.函数使用 8.枚举类型 9.结构体介绍 10、类的定义 11、类的构造函数 12、类的析构函数 1 阅读全文
posted @ 2016-11-30 19:39 久冬不雨 阅读(1011) 评论(0) 推荐(0) 编辑
摘要: // 屏幕高度 #define XMGHeight [UIScreen mainScreen].bounds.size.height // 屏幕宽度 #define XMGWidth [UIScreen mainScreen].bounds.size.width // 以iPhone5为基准(UI妹纸给你的设计图是iPhone5的),当然你也可以改,但是出图是按照7P(6P)的图片出的,因为大图... 阅读全文
posted @ 2016-11-30 09:22 久冬不雨 阅读(322) 评论(0) 推荐(0) 编辑
  2016年11月29日
该文被密码保护。 阅读全文
posted @ 2016-11-29 09:38 久冬不雨 阅读(3) 评论(0) 推荐(0) 编辑
  2016年11月28日
摘要: #pragma mark-UIGestureRecognizerDelegate Methods // 只要实现这个方法,就可以实现两个手势同时响应 - (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer: (UIG... 阅读全文
posted @ 2016-11-28 19:13 久冬不雨 阅读(367) 评论(0) 推荐(0) 编辑
  2016年11月26日
摘要: PageTitleView: PageContentView: 使用: 阅读全文
posted @ 2016-11-26 16:42 久冬不雨 阅读(289) 评论(0) 推荐(0) 编辑
  2016年11月25日
摘要: - (UICollectionView *) categoryCollectionView { if (! _categoryCollectionView) { // 创建布局 UICollectionViewFlowLayout *layout = [[UICollectionViewFlowLayout alloc]init]; ... 阅读全文
posted @ 2016-11-25 17:52 久冬不雨 阅读(628) 评论(0) 推荐(0) 编辑
摘要: // // GFBProductViewController.m // elmsc // // Created by MAC on 2016/11/26. // Copyright © 2016年 GFB Network Technology Co.,Ltd. All rights reserved. // #import "GFBProductViewController.h" #... 阅读全文
posted @ 2016-11-25 16:35 久冬不雨 阅读(330) 评论(0) 推荐(0) 编辑
  2016年11月11日
摘要: 核心代码: 阅读全文
posted @ 2016-11-11 22:38 久冬不雨 阅读(835) 评论(0) 推荐(0) 编辑