Skip to content

Swift 3.0 Preview!

Pre-release
Pre-release
Compare
Choose a tag to compare
@waynewbishop waynewbishop released this 27 Jul 02:10
· 22 commits to swift-3.0 since this release

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:

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 new Sortable protocol extension.

Additional Refinements

New Int and Array extensions have been added to support pre-existing Math and Sorting classes (respectively). Beyond centralizing specific operations, the new design now works directly with the recursive Enum project example. Finally, a general effort has been made to improve generics (where applicable). This includes refactoring Hash Tables (renamed Hash Lists) to support generic objects as well as the Search and Sorting 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.