Home iOS & Swift Tutorials

Swift Algorithm Club: October Digest

Find out what’s new in the Swift Algorithm Club for October 2016!

Version

  • Other, Other, Other

The Swift Algorithm Club is an open source project to implement popular algorithms and data structures in Swift.

We thought it would be useful to periodically give a status update with how things are going with the project.

October’s been a busy month, with many contributions in the form of Swift 3 updates and new algorithms. Thanks to our community of over 60 contributors, this project has been making steady progress.

I’d like to make a note of appreciation to one of the most active contributors Jaap Wijnen, who’s been doing quite a bit of migrating lately. Thanks Jaap!

The Great Swift 3 Migration

The migration from Swift 2.2 to Swift 3 continues. So far, 45 of the 72 algorithms have been migrated. Migration has generally been quite straightforward – it’s just the process of:

  • Making sure the playground compiles correctly
  • Making sure README.md file reflects the updated playground
  • Incorporate the new Swift API design guidelines in terms of naming of methods

Want to help out? It’s a great way to learn about algorithms and Swift 3 at the same time. If so, check out our Github issue and sign up!

Other News

In addition to the Swift 3 migration project, this month has also brought a new contribution to the project – The Haversine Distance. With that algorithm, you’ll be able to calculate the distance on a sphere between two points.

Note: New contributions are now accepted only if they are written in Swift 3. This allows us to keep our focus looking forward.

On another note, last week I released a tutorial on how to implement the Trie Data Structure in Swift 3. This is a neat data structure that is handy to store English language words – check it out!

Where To Go From Here?

The Swift Algorithm Club is always looking for new members. Whether you’re here to learn or here to contribute, we’re happy to have you around.

To learn more about the Swift Algorithm Club, check out our introductory article. We hope to see you at the club! :]

Contributors

Comments

Reviews

More like this