就在今天,Swift 2.2 发布了!(iphone SE等也是)更新至3.0Preview 1

今天北京时间凌晨1点,iphone的春季发布会召开,可惜太晚,我熬不住,早上一起来必定是iphone占据头条,然后一大波人说:哎呀,这性价比,这屏幕怎么这么小,怎么长的和iphone5s一个样子,一点创新都没有等等,或者国产手机大厂商会发微博说苹果眼光不行,现在消费者都接受5寸屏幕手机,你推出个4寸小屏手机,没乔布斯苹果的设计太烂等等。

早上一起来,打开挨踢之家,中关村在线,看一波头条。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中文文档,官网翻译推荐文档,原话:

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.

 

接下面是swift3.0Preview 1的更新日志

We are very pleased to announce Developer Preview 1 of Swift 3.0!

As described in the Swift 3.0 Release Process, developer previews (i.e., “seeds” or “betas”) provide qualified builds of Swift 3 that are more stable than just grabbing the latest snapshot of master (i.e., tip-of-trunk development). Developer previews capture Swift 3 as a work-in-progress and should not be considered the final version of Swift 3 unless otherwise stated.

Implemented Swift Evolution Proposals

The following Swift Evolution proposals are newly implemented in Swift 3.0 Preview 1:

 

 

最后,其他的也就不墨迹,大家刚把得,加油,程序猿之路贵在学习,更新知识!

 

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: