3. Tip Calculator App

Introducing Swift, Text Fields, Sliders, Outlets, Actions, View Controllers, Event Handling, NSDecimalNumber, NSNumberFormatter and Automatic Reference Counting

Image

Objectives

In this chapter you’ll:

Image Learn basic Swift syntax, keywords and operators.

Image Use object-oriented Swift features, including objects, classes, inheritance, functions, methods and properties.

Use NSDecimalNumbers to perform precise monetary calculations.

Create ...

Get iOS 8 for Programmers: An App-Driven Approach with Swift, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.