Update for Swift in Xcode 6.1 Beta 3
(1) in Beta 3, t! was canceled. Use T? or T to indicate an empty or non-empty case.
(2) if the return value of the property or initialization is not expected in the method, consider using an optional type. As in the following code
var fooopt:nsfoo? = Object.reallymightreturnnil ()!
If let Foo = fooopt {...}!
(3) now, any type of value can contain the return value of the function.
(4) all the *literalconvertible protocols provide the initializer customization function. For example, integerliteralconvertible can be initialized in the following form:
Init (integerliteral value:integerliteraltype)
Any type that complies with the above protocol will need to replace their convertfromxxx static method with the corresponding initializer.
(5) class properties no longer need to use the final tag.
Xcode.1 historical version and the latest version (the contents of the address are constantly updated)
:http://pan.baidu.com/s/1pJ8wvXp
Update for Swift in Xcode 6.1 Beta 3