When I first started learning Objective-C, I already had a good understanding of concurrency and multitasking with my background in other languages like C and Java. This background made it very easy for me to create multithreaded applications using threads in Objective-C. Then Apple changed everything for me when they released Grand Central Dispatch (GCD) with OS X 10.6 and iOS 4. At first, I went into denial; there was no way GCD could manage my application's threads better than I could. Then I entered the anger phase, GCD was hard to use and understand. Next was the bargaining phase, maybe I can use GCD with my threading code so I could still control how the threading worked. Then there was the depression phase, maybe GCD does handle the threading better then I can. Finally, I entered the WOW phase; this GCD thing is really easy to use and works amazingly well. After using Grand Central Dispatch and Operation Queues with Objective-C, I do...
Mastering Swift
By :
Mastering Swift
By:
Overview of this book
Table of Contents (22 chapters)
Mastering Swift
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Taking the First Steps with Swift
Learning about Variables, Constants, Strings, and Operators
Using Collections and Cocoa Data Types
Control Flow and Functions
Classes and Structures
Working with XML and JSON Data
Custom Subscripting
Using Optional Type and Optional Chaining
Working with Generics
Working with Closures
Using Mix and Match
Concurrency and Parallelism in Swift
Swift Formatting and Style Guide
Network Development with Swift
Adopting Design Patterns in Swift
Index
Customer Reviews