Understanding Swift Programming

Swift 2 With Hands-On Online Exercises

Nonfiction, Computers, Programming, Programming Languages, Business & Finance
Cover of the book Understanding Swift Programming by Craig Will, Tenaya Creek Press
View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart
Author: Craig Will ISBN: 9780996228114
Publisher: Tenaya Creek Press Publication: September 11, 2015
Imprint: Language: English
Author: Craig Will
ISBN: 9780996228114
Publisher: Tenaya Creek Press
Publication: September 11, 2015
Imprint:
Language: English

This book, aimed at readers with some programming experience, will provide you with what you need to learn the new language. Written in easy-to-understand English rather than technical jargon, the book takes readers first through the fundamentals of essential topics. Later chapters fill in more advanced nuances. 

Covers Swift 2
The book's coverage of Swift 2 includes full chapters on Error Handling and on Protocol Oriented Programming, two of its major advances. The talk on Protocol Oriented Programming was the most popular presentation at Apple's June, 2015 World Wide Developer's Conference at which Swift 2 was announced. 

Protocol oriented programming is a lightweight alternative to classes and inheritance that is typically safer and results in less coupling between objects. Structures, Swift's safer, lighter-weight alternative to classes, can effectively obtain implementations of methods from protocols, much as classes inherit methods. However, this is done with a smaller grain size, a safer approach to memory sharing, and no inheritance chains. 

The book also covers other new Swift features including:
Checking API Availability, New Syntax for Print, Guard Statements, Repeat-While Statements, New Optionals Pattern, Statement Labels, & Markdown in Playgrounds. 

Hands-on Online Exercises It is common for programmers learning a new language to read a book on the topic, but when they start to write code, realize that they have retained little from the book. 

This book avoids this with the use of extensive hands-on, on-line exercises. Chapters are relatively short, and after every chapter readers are asked to go with their Macintosh or PC to a web address for that chapter that actively tests and reinforces what the readers have just learned. Studies have shown that such exercises can engage readers and result in huge gains in retention of the material. 

Better retention of code means that you can write code without hesitation, without looking it up. Better retention of concepts means that you will more easily understand additional material, including some of the more difficult concepts in Swift that may be new to you, such as optional values, closures, structures, enumerations, and protocol-oriented programming. 

The book contains over 35 cartoons, lightening the mood of the book, and each highlighting some aspect of the Swift language in a visual and fun way that engages readers. 

The book consists of thirty-five chapters and five appendices, divided into four major parts, as follows: 

PART 1: FUNDAMENTALS
1. Data Types
2. Fundamentals
3. 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. Switch Statements Revisited
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 

PART 4: OOP REVISITED
28. Generic Programming
29. Objects Revisited: Initializers
30. Type Casting
31. Enumerations Revisited
32. Protocols
33. Extensions
34. Protocol Oriented Programming
35. Mixed Swift and Objective-C Programs

View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart

This book, aimed at readers with some programming experience, will provide you with what you need to learn the new language. Written in easy-to-understand English rather than technical jargon, the book takes readers first through the fundamentals of essential topics. Later chapters fill in more advanced nuances. 

Covers Swift 2
The book's coverage of Swift 2 includes full chapters on Error Handling and on Protocol Oriented Programming, two of its major advances. The talk on Protocol Oriented Programming was the most popular presentation at Apple's June, 2015 World Wide Developer's Conference at which Swift 2 was announced. 

Protocol oriented programming is a lightweight alternative to classes and inheritance that is typically safer and results in less coupling between objects. Structures, Swift's safer, lighter-weight alternative to classes, can effectively obtain implementations of methods from protocols, much as classes inherit methods. However, this is done with a smaller grain size, a safer approach to memory sharing, and no inheritance chains. 

The book also covers other new Swift features including:
Checking API Availability, New Syntax for Print, Guard Statements, Repeat-While Statements, New Optionals Pattern, Statement Labels, & Markdown in Playgrounds. 

Hands-on Online Exercises It is common for programmers learning a new language to read a book on the topic, but when they start to write code, realize that they have retained little from the book. 

This book avoids this with the use of extensive hands-on, on-line exercises. Chapters are relatively short, and after every chapter readers are asked to go with their Macintosh or PC to a web address for that chapter that actively tests and reinforces what the readers have just learned. Studies have shown that such exercises can engage readers and result in huge gains in retention of the material. 

Better retention of code means that you can write code without hesitation, without looking it up. Better retention of concepts means that you will more easily understand additional material, including some of the more difficult concepts in Swift that may be new to you, such as optional values, closures, structures, enumerations, and protocol-oriented programming. 

The book contains over 35 cartoons, lightening the mood of the book, and each highlighting some aspect of the Swift language in a visual and fun way that engages readers. 

The book consists of thirty-five chapters and five appendices, divided into four major parts, as follows: 

PART 1: FUNDAMENTALS
1. Data Types
2. Fundamentals
3. 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. Switch Statements Revisited
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 

PART 4: OOP REVISITED
28. Generic Programming
29. Objects Revisited: Initializers
30. Type Casting
31. Enumerations Revisited
32. Protocols
33. Extensions
34. Protocol Oriented Programming
35. Mixed Swift and Objective-C Programs

More books from Business & Finance

Cover of the book Get to Grips With Book Keeping by Craig Will
Cover of the book GSEC GIAC Security Essential Certification Exam Preparation Course in a Book for Passing the GSEC Certified Exam - The How To Pass on Your First Try Certification Study Guide - Second Edition by Craig Will
Cover of the book FTP 49 Success Secrets - 49 Most Asked Questions On FTP - What You Need To Know by Craig Will
Cover of the book The Mathematics of Derivatives Securities with Applications in MATLAB by Craig Will
Cover of the book Differences of Founder Characteristics in High-Tech Spin-Offs. Which factors influence the decision to become a startup-founder? by Craig Will
Cover of the book Innovationen im Handel by Craig Will
Cover of the book Due Diligence - Aufgaben im Rahmen des M&A-Prozesses by Craig Will
Cover of the book Email marketing by Craig Will
Cover of the book Trade, Growth and Development by Craig Will
Cover of the book Communicate to Influence: How to Inspire Your Audience to Action by Craig Will
Cover of the book Coordinate Business Resources by Craig Will
Cover of the book Life Cycle Costing by Craig Will
Cover of the book 商業周刊 第1427期 小眾經濟比你想的還要大 by Craig Will
Cover of the book How to Start a Hunting Guide Service Business by Craig Will
Cover of the book Urban Design in the Real Estate Development Process by Craig Will
We use our own "cookies" and third party cookies to improve services and to see statistical information. By using this website, you agree to our Privacy Policy