Hour 12. Harnessing the Power of Enums
What You’ll Learn in This Hour:
What an enumeration is
How to use enums to group related items
How to access enum raw values
How to use associated values
How to use
switch
statements with enums
How to add methods ...
Get Swift in 24 Hours, Sams Teach Yourself, Second Edition now with O’Reilly online learning.
O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.