摘要: #include "stdio.h" #include "stdlib.h" #include "math.h" #include "time.h" #define OK 1 #define ERROR 0 #define TRUE 1 #define FALSE 0 #define MAXSIZE 20 /* 存储空间初始分配量 */ typedef int Stat... 阅读全文
posted @ 2018-09-13 15:06 小白姐 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 1 #include "stdio.h" 2 #include "string.h" 3 #include "ctype.h" 4 #include "stdlib.h" 5 #include "math.h" 6 #include "time.h" 7 8 #define OK 1 9 #define ERROR 0 10 #define TRUE 1 ... 阅读全文
posted @ 2018-09-12 17:15 小白姐 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 1 #include "stdio.h" 2 #include "stdlib.h" 3 #include "math.h" 4 #include "time.h" 5 #define OK 1 6 #define ERROR 0 7 #define TRUE 1 8 #define FALSE 0 9 10 #define MAXSIZE 20 /* 存... 阅读全文
posted @ 2018-09-11 17:40 小白姐 阅读(175) 评论(0) 推荐(0) 编辑
摘要: import UIKit class ViewController: UIViewController,UITableViewDelegate,UITableViewDataSource{ var ctrlnames:[String]? var tableView:UITableView? override func viewDidLoad() { ... 阅读全文
posted @ 2018-07-17 15:45 小白姐 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 一、远程索引库 每创建一个组件都会带来一个.podspec的索引文件。专门用来存放这些索引文件的库就叫做索引库。我们需要将这些索引文件上传到远程索引库才能保证其他的同事能够拿来用。 1、创建远程索引库 Github ——> New respository 2、由于我已经创建过了一个同名的,所以有红色 阅读全文
posted @ 2018-07-11 18:30 小白姐 阅读(152) 评论(0) 推荐(0) 编辑
摘要: import UIKit class ViewController: UIViewController{ var view1: UIView! override func viewDidLoad() { super.viewDidLoad() //向上滑动 let upSwipe = UISwipe... 阅读全文
posted @ 2018-07-10 17:37 小白姐 阅读(301) 评论(0) 推荐(0) 编辑
摘要: 1、UIScrollView滚动视图的用法 2、实现页面滚动切换 阅读全文
posted @ 2018-06-20 16:17 小白姐 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 1、 微调器(UIStepper)控件包含两个按钮“+”和“-” 阅读全文
posted @ 2018-06-20 15:36 小白姐 阅读(199) 评论(0) 推荐(0) 编辑
摘要: import UIKit class ViewController: UIViewController{ override func viewDidLoad() { super.viewDidLoad() //创建日期选择器 let datePicker = UIDatePicker(f... 阅读全文
posted @ 2018-06-20 14:56 小白姐 阅读(433) 评论(0) 推荐(0) 编辑
摘要: import UIKit class ViewController: UIViewController,UIPickerViewDelegate,UIPickerViewDataSource { var pickerView:UIPickerView! override func viewDidLoad() { super.viewDidLoa... 阅读全文
posted @ 2018-06-14 15:40 小白姐 阅读(376) 评论(0) 推荐(0) 编辑