Through the authors' carefully constructed explanations and examples, you will develop an understanding of Swift grammar and the elements of effective Swift style.
Throughout the book, the authors share their insights into Swift to ensure that you understand the hows and whys of Swift and can put that understanding to use in different contexts.
After working through the book, you will have the knowledge and confidence to develop your own solutions to a wide range of programming challenges using Swift.
1. Getting Started
2. Types, Constants, and Variables
3. Conditionals
4. Numbers
5. Switch
6. Loops
7. Strings
8. Arrays
9. Optionals
10. Dictionaries
11. Sets
12. Functions
13. Closures
14. Enumerations
15. Structs and Classes
16. Properties
17. Initialization
18. Value vs. Reference Types
19. Protocols
20. Extensions
21. Generics
22. Protocol Extensions
23. Error Handling
24. Memory Management and ARC
25. Equatable, Comparable, and Hashable
26. Property Wrappers
27. Command-Line Utilities
28. iOS and macOS Apps
29. Conclusion