kodeco.com Forums

Swift 2 Tutorial: A Quick Start

Learn the basics of Swift 2 development in iOS in this fun and easy Swift tutorial for complete beginners!

This is a companion discussion topic for the original entry at https://www.raywenderlich.com/1571-swift-2-tutorial-a-quick-start

I think there’s a small error in the tutorial. You say “Currently there is some duplication in the above code, because you’re calling the calcTipWithTotal method several times”, but it’s actually calcTipWithTipPct that’s being called.