Practical Swift, Downey E., 2016

Practical Swift, Downey E., 2016.

   This book is about Swift 3.0 and iOS. I will explain ideas and concepts that exist in iOS and Swift. I will show how I would write code and provide justifications for my decisions. Then I want you, the reader, to decide for yourself how you want to write your code using your newfound techniques and concepts.
My goal is not to tell you how to write Swift code, but give you the knowledge you need to feel comfortable deciding how to write your own code. I want to structure the book in this way because I have seen too many books and articles that describe how to do a particular task. They give you a list and explain what task each piece accomplishes. However, they never teach you why or how it could change, depending on the circumstances. Software development is an art form and there are many ways to structure the same solution.

Practical Swift, Downey E., 2016


Transition from Objective-C to Swift.
Swift 1 was just released, now what? iOS developers all over the world have mountains of Objective-С code and there are hundreds of libraries on GitHub. How do we transition a community such as this to a brand new language that is so different? Well, Apple has made this as simple and seamless as possible. Objective-С projects can contain Swift code and you can also use Objective-С APIs in Swift. The interoperability of these two languages makes the transition from Objective-С to Swift very simple for Apple and developers.

I believe the biggest transition pain into Swift 1 is the introduction of optional values. I know this caught me off guard at first. In Objective-С I would always have to check for nil and this was just a normal exercise that I was used to. This is also the case for many other languages, such as Java. Swift, however, can guarantee a value to be non-nil if it is non-optional. This allows you to keep the nil checks to a minimum. It also creates safer code because it forces you to think about nil where it can happen. When anything can be nil, it is easy to forget to check, and that creates a potential crash in your application.

Contents.
About the Author.
About the Technical Reviewer.
Acknowledgments.
Introduction.
Part I: Building the Reference Guide.
Chapter 1: Evolution of Swift.
Chapter 2: Xcode.
Chapter 3: Package Managers.
Chapter 4: iOS Architecture.
Chapter 5: Protocol-Oriented Programming.
Chapter 6: Generics.
Chapter 7: iOS UI and Storyboards.
Chapter 8: Testing.
Part II: Building the Grocery App.
Chapter 9: Grocery List App Interface Builder.
Chapter 10: Grocery App: MVVM.
Chapter 11: Grocery App: Core Data.
Chapter 12: Grocery App: Finish Line.
Index.



Бесплатно скачать электронную книгу в удобном формате, смотреть и читать:
Скачать книгу Practical Swift, Downey E., 2016 - fileskachat.com, быстрое и бесплатное скачивание.

Скачать pdf
Ниже можно купить эту книгу по лучшей цене со скидкой с доставкой по всей России.Купить эту книгу



Скачать - pdf - Яндекс.Диск.
Дата публикации:





Теги: :: ::


 


 

Книги, учебники, обучение по разделам




Не нашёл? Найди:





2024-11-21 03:11:03