Swift for Rubyists: Dictionaries

This post is the second in a series I am doing on Swift for Rubyists. Forgive me for the lines that wrap on this one. I did the best I could to try and format them on one line, but all of the examples from this post are available as a playground to download at this repo. Update: Apparently, my changes to fix the "<" & ">" symbols missing in the examples didn't save. Fixed now. Swift...

Swift for Rubyists: Arrays

This post is the first in a series I am doing on Swift for Rubyists. All of the examples from this post are available as a playground to download at this repo. Update: I have corrected a mistake in this post which stated that mixed Swift arrays of Ints and Strings worked because they were inferred to be the AnyObject type. This was incorrect. This only works in cases where you have imported the...

Introducing – Swift For Rubyists

As a Ruby developer, I had been looking to pick up iOS development for a while. I was lucky enough to take a course in it in the summer of 2014. The course covered Objective-C as well as the iOS API. Then Apple released the Swift programming language during the middle of the course, and the focus switched to learning Swift. I've decided to write a series of posts on Swift for Rubyists. Theses...