Understanding Swift Programming: Swift 2 (2015)

Understanding Swift Programming: Swift 2 (2015)

Preface

PART 1: FUNDAMENTALS

1. Data Types and Type Safety

2. Some Fundamentals

3. The Flow of Control

4. Operators

5. Arrays

6. Sets

7. Strings and Characters

8. Tuples

9. Optional Values

10. Dictionaries

PART 2: OBJECT-ORIENTED PROGRAMMING

11. Object-Oriented Programming

12. Classes, Objects, and Inheritance

13. Functions and Methods

14. Structures

15. Enumerations

16. Properties and Class or Type Methods

PART 3: ADDITIONAL TOPICS

17. Functions Revisited: First Class Citizens

18. Closures and Closure Expressions

19. Memory Management

20. The Flow of Control Revisited: Matching with Patterns

21. Error Handling

22. Functions Revisited Again: Input Parameters

23. Variations in Closure Expression Syntax

24. Custom Subscripts

25. Operators Revisited: Overloading and Custom Operators

26. Optional Values Revisited

27. Access Control

28. Generic Programming

PART 4: OOP REVISITED

29. Classes Revisited Again: Initializers

30. Type Checking and Type Casting

31. Enumerations Revisited

32. Protocols

33. Extensions

34. Protocol Oriented Programming

35. Building Mixed Swift and Objective-C Apps

PART 5: APPENDICES

A. What's Different About Swift?

B. Playgrounds

C. The Interactive REPL Loop