3. Tip Calculator App
Introducing Swift, Text Fields, Sliders, Outlets, Actions, View Controllers, Event Handling, NSDecimalNumber
, NSNumberFormatter
and Automatic Reference Counting
Objectives
In this chapter you’ll:
Learn basic Swift syntax, keywords and operators.
Use object-oriented Swift features, including objects, classes, inheritance, functions, methods and properties.
Use NSDecimalNumber
s 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.