Swift Design Patterns 2018

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

Author(s): Hacking with Swift
Series: 2018
Year: 0

Language: english
Pages: 268

Preface......Page 5
Welcome......Page 6
MVC......Page 14
Model-View-Controller......Page 15
Advantages and Disadvantages......Page 20
Fixing MVC......Page 23
MVVM......Page 36
Model-View-ViewModel......Page 37
Advantages and Disadvantages......Page 41
Bindings in Practice......Page 43
Platform Patterns......Page 53
Delegation......Page 54
Selectors......Page 72
Notifications......Page 91
Associative Storage......Page 103
Archiving......Page 108
Bundles......Page 129
Language Patterns......Page 133
Initialization......Page 134
Extensions......Page 144
Protocols......Page 153
Protocol Extensions......Page 166
Accessors......Page 175
Keypaths......Page 180
Anonymous Types......Page 191
Classic Patterns......Page 200
Singletons......Page 201
Responder Chain......Page 206
Template Method......Page 215
Enumeration......Page 223
Prototypes......Page 231
Facades......Page 239
Decorator......Page 246
Flyweight......Page 252
Wrap Up......Page 257
The Best Laid Plans......Page 258
Guidelines recap......Page 259