Clarifying Swift Access Control (Hint: Swift Isn’t C#)

1 · Andrew Bancroft · April 24, 2015, 6:02 p.m.
As it turns out, Swift isn’t C# (or Java or VB.Net or…)! My day job keeps me busy writing C#, so I’ll reference it as my go-to comparison language for this article. The conclusion, however, carries over to other languages that have access control modifiers. I just spent the greater part of a week experimenting with Swift extensions. I was trying to figure out some seemingly strange behavior that they were exhibiting....