- iOS 原生请求 API有哪些
- 设计API
- 回调
- 线程
- 分配任务 规划时间
- 熟悉 GitHub 、Gist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Foundation | |
| import Alamofire | |
| import SwiftyJSON | |
| import ObjectMapper | |
| import PromiseKit | |
| (用回调callback方法) | |
| static let baseURL = "http://api.classmart.cn/api/dev" | |
| static var deviceId: String? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ios7下新增了一个属性textContainerInset, | |
| self.textView.textContainerInset = UIEdgeInsetsMake(10, 10, 0, 10);//设置页边距 | |
| 上边距10,左右边距各10,底边距0 |
欧几里得最大公约数求法
a b (a >= b)
24 16
16 8
8 0
Lecture 1 操作系统概述 https://pdos.csail.mit.edu/6.828/2018/lec/l-overview.txt
概述
-
6.828 课程目标:
- 理解操作系统设计和实现
- 自己开发一个小型操作系统,获得一手经验
-
操作系统的意义: