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...