今天北京时间凌晨1点,iphone的春季发布会召开,可惜太晚,我熬不住,早上一起来必定是iphone占据头条,然后一大波人说:哎呀,这性价比,这屏幕怎么这么小,怎么长的和iphone5s一个样子,一点创新都没有等等,或者国产手机大厂商会发微博说苹果眼光不行,现在消费者都接受5寸屏幕手机,你推出个4寸小屏手机,没乔布斯苹果的设计太烂等等。
早上一起来,打开IT之家,中关村在线,看一波头条。iphone SE有银色,金色,深空灰色,玫瑰金(不买玫瑰金你怎么知道我买的是最新款iphone SE,手动斜眼)。有16GB,64GB2个容量,处理器用的iphone6S上的64位A9,叼炸天,1200万摄像头,支持NFC,4K视频拍摄,价格方面:16GB RMB3288,64GB RMB4088.当然海外版性价比更高,64GB也就3000多。A9处理器带个4寸小身板,1136 x 640 像素分辨率的手机,这流畅度简直要飞起。
进入正题
先给大家一些swift学习地址,(swift于2015年12月4日正式开源)大家可以到这里学习:
- swift官网
- The Apple home on GitHub hosts all the Swift source code
- The Swift mailing lists are how we interact
- The Getting Started pages will help you setup a Swift development environment
- The Download page includes pre-built binaries for the supported platforms
- The Swift Evolution Process describes how new features are proposed
swift中文文档,官网翻译推荐文档,原话:
A great example of this is the GitHub project for the Chinese translation
github上可以下载阅读,地址:中文版 Apple 官方 Swift 教程《The Swift Programming Language》
如果大家愿意的话,可以一起帮助翻译,人多力量大,让大家更好地学习,顺便提高自己,造福他人,地址:swift-dev
官网中有swift的详细介绍,不过都是英文滴,好在我英文还行,下面是swift2.2的更新日志:
Swift 2.2 is a minor language release that is mostly source-compatible with Swift 2.1. It contains the following language changes that went through the Swift’s evolution process:
- SE-0001: Allow (most) keywords as argument labels
- SE-0015: Tuple comparison operators
- SE-0014: Constraining AnySequence.init
- SE-0011: Replace typealias keyword with associatedtype for associated type declarations
- SE-0021: Naming Functions with Argument Labels
- SE-0022: Referencing the Objective-C selector of a method
- SE-0020: Swift Language Version Build Configuration
Beyond these language changes Swift 2.2 also contains numerous bug fixes, enhancements to diagnostics, and produces even faster-running code.
最后,其他的也就不墨迹,大家刚把得,加油,程序猿之路贵在学习,更新知识!