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 The End of Fashion by Craig Will
Cover of the book Produktivität von industriellen Dienstleistungen in der betrieblichen Praxis by Craig Will
Cover of the book Reinventing Accounting and Finance Education by Craig Will
Cover of the book Investing Basics: How to Triple your Money and Make it Work for you. Investment Options, Handling Risk, Passive Income, and More. by Craig Will
Cover of the book 非營利部門:組織與運作(第三版) by Craig Will
Cover of the book Trust Your Senses by Craig Will
Cover of the book Make Millions From Your Business by Craig Will
Cover of the book Erfolgreich in der Gastronomie by Craig Will
Cover of the book Snapchat 21 Success Secrets - 21 Most Asked Questions On Snapchat - What You Need To Know by Craig Will
Cover of the book Why Good People Can't Get Jobs by Craig Will
Cover of the book Making Millions in Direct Sales: The 8 Essential Activities Direct Sales Managers Must Do Every Day to Build a Successful Team and Earn More Money by Craig Will
Cover of the book A Spy's Guide To Strategy by Craig Will
Cover of the book Working with Difficult People, Second Revised Edition by Craig Will
Cover of the book Best Practice 26 Success Secrets - 26 Most Asked Questions On Best Practice - What You Need To Know by Craig Will
Cover of the book Deflation. Gründe, Ursachen, Folgen und Berechnungen der Raten 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