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 China’s Monetary Policy Regulation and Financial Risk Prevention by Craig Will
Cover of the book CBAP V3 Simulation test - Set 06 by Craig Will
Cover of the book Mercadotecnia con Salsa by Craig Will
Cover of the book Beautiful Credit by Craig Will
Cover of the book 10 Ways to Write More Effective Ads by Craig Will
Cover of the book Sustainable Marketing of Cultural and Heritage Tourism by Craig Will
Cover of the book Kognitive Biases bei Investitionsentscheidungen und Möglichkeiten der Fehlervermeidung by Craig Will
Cover of the book Your Own Terms by Craig Will
Cover of the book How to Become a Cracker-and-cookie-machine Operator by Craig Will
Cover of the book Leadership Power by Craig Will
Cover of the book The Art of Credit Derivatives by Craig Will
Cover of the book The E-Myth Revisited by Craig Will
Cover of the book Success Factors of Regional Strategies for Multinational Corporations by Craig Will
Cover of the book How to Start a Navigation Machinery (wholesale) Business (Beginners Guide) by Craig Will
Cover of the book Personal Bankruptcy Laws For Dummies 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