| 2017-09-19 |
- 更新至 Swift 4.0。
- Added information about exclusive access to memory to the Memory Safety chapter.
- Added the Associated Types with a Generic Where Clause section, now that you can use generic where clauses to constrain associated types.
- Added information about multiline string literals to the String Literals section of the Strings and Characters chapter, and to the String Literals section of the Lexical Structure chapter.
- Updated the discussion of the objc attribute in Declaration Attributes, now that this attribute is inferred in fewer places.
- Added the Generic Subscripts section, now that subscripts can be generic.
- Updated the discussion in the Protocol Composition section of the Protocols chapter, and in the Protocol Composition Type section of the Types chapter, now that protocol composition types can contain a superclass requirement.
- Updated the discussion of protocol extensions in Extension Declaration now that final isn’t allowed in them.
- Added information about preconditions and fatal errors to the Assertions and Preconditions section.
|