SwiftStructures v3.0-beta.3 Release Notes
Release Date: 2016-07-27 // almost 8 years ago-
With Swift 3.0 now available in beta, the algorithms project has been updated to reflect this new standard!
๐ Change Summary
There have been many language refinements introduced with Swift 3.0. This has provided an opportunity to also refine numerous areas of the algorithms project. Notable Swift 3.0 proposals now supported include:
- ๐ New collection indexing model (SE-0065)
- ๐ Remove C-style for-loops with conditions (SE-0007)
- Consistent parameter naming (SE-0046)
- โ Warning for unused results (SE-0047)
- New implicit unwrapped optionals model (SE-0054)
- ๐ Better Translation of Objective-C APIs Into Swift (SE-005)
Existing Swift 2.2 followers should study the revamped Swift 3.0 collection indexing model. This implementation can seen with the refactored
String
extension and newSortable
protocol extension.โ Additional Refinements
๐ New
Int
andArray
extensions have been added to support pre-existingMath
andSorting
classes (respectively). Beyond centralizing specific operations, the new design now works directly with the recursiveEnum
project example. Finally, a general effort has been made to improve generics (where applicable). This includes refactoringHash Tables
(renamedHash Lists
) to support generic objects as well as theSearch
andSorting
algorithms.Branches
Follow the latest Swift 3.0 code updates here. While Swift 3.0 remains in beta, the master project branch will continue to support Swift 2.2.