Swift 2 Design Patterns -  Lange Julien Lange

Swift 2 Design Patterns (eBook)

eBook Download: EPUB
2015 | 1. Auflage
224 Seiten
Packt Publishing (Verlag)
978-1-78588-611-9 (ISBN)
Systemvoraussetzungen
21,70 inkl. MwSt
  • Download sofort lieferbar
  • Zahlungsarten anzeigen
Build robust and scalable iOS and Mac OS X game applicationsAbout This BookLearn to use and implement the 23 Gang of Four design patterns using Swift 2Design and architect your code for Swift application developmentUnderstand the role, generic UML design, and participants in the class diagram of the pattern by implementing them in a step-by-step approachWho This Book Is ForThis book is intended for competent Swift developers who want to apply enduring design patterns with Swift to structure and scale their application code.What You Will LearnChoose the appropriate pattern depending on the problem to be solvedUnderstand the generic class diagram of each of the 23 GoF patterns and how each object participates in the patternUse Swift to implement these patterns even though the language doesn't provide all of the object-oriented programming concepts such as abstract class, interface, and so onArchitect your software to avoid the overuse of memory, time spent on calculations, or high network trafficFind the best way to organize your code to make it more secure from the outside worldPrepare your code to make it more flexible when the consumer changes or the third-party component hidden code changesStructure your code to change the algorithm to apply at runtimeDeliver Flyweight responsibility to your objectsIn DetailSwift is a multi-paradigm language. It has expressive features familiar to those used to work with modern functional languages, while also keeping the object-oriented features of Objective-C. It remains compatible with Apple's legacy codes and frameworks. A design pattern systematically names, motivates, and explains a general design that addresses a recurring design problem in object-oriented systems. It describes the problem, the solution, when to apply the solution, and its consequences. It also gives implementation hints and examples. Knowledge about design patterns is also one of the best ways to make you different compared to other low-level developers.This book shows you how to use Swift 2 to learn about 23 Gang of Four (GoF) design patterns, and is organized into three categories. The book will present you the five creational patterns, followed by the seven structural patterns, and finishing with the 11 behavioral patterns as defined by the GoF. Each chapter will introduce the pattern by defining its role, which common problems the pattern should be used for, its generic UML representation, how each objects presented in the class diagram participate in the pattern, and what the role of each of these objects is. The book then presents you with a concrete case as an illustration that will be used to implement the pattern using Swift.Style and approachA step-by-step tutorial completed with screenshots and code highlights wherever necessary. Each chapter discusses one or more patterns with its definitions and a simple-to-follow illustration case using a playground or XCText project to implement it with Swift.
Build robust and scalable iOS and Mac OS X game applicationsAbout This Book Learn to use and implement the 23 Gang of Four design patterns using Swift 2 Design and architect your code for Swift application development Understand the role, generic UML design, and participants in the class diagram of the pattern by implementing them in a step-by-step approachWho This Book Is ForThis book is intended for competent Swift developers who want to apply enduring design patterns with Swift to structure and scale their application code. What You Will Learn Choose the appropriate pattern depending on the problem to be solved Understand the generic class diagram of each of the 23 GoF patterns and how each object participates in the pattern Use Swift to implement these patterns even though the language doesn't provide all of the object-oriented programming concepts such as abstract class, interface, and so on Architect your software to avoid the overuse of memory, time spent on calculations, or high network traffic Find the best way to organize your code to make it more secure from the outside world Prepare your code to make it more flexible when the consumer changes or the third-party component hidden code changes Structure your code to change the algorithm to apply at runtime Deliver Flyweight responsibility to your objectsIn DetailSwift is a multi-paradigm language. It has expressive features familiar to those used to work with modern functional languages, while also keeping the object-oriented features of Objective-C. It remains compatible with Apple's legacy codes and frameworks. A design pattern systematically names, motivates, and explains a general design that addresses a recurring design problem in object-oriented systems. It describes the problem, the solution, when to apply the solution, and its consequences. It also gives implementation hints and examples. Knowledge about design patterns is also one of the best ways to make you different compared to other low-level developers. This book shows you how to use Swift 2 to learn about 23 Gang of Four (GoF) design patterns, and is organized into three categories. The book will present you the five creational patterns, followed by the seven structural patterns, and finishing with the 11 behavioral patterns as defined by the GoF. Each chapter will introduce the pattern by defining its role, which common problems the pattern should be used for, its generic UML representation, how each objects presented in the class diagram participate in the pattern, and what the role of each of these objects is. The book then presents you with a concrete case as an illustration that will be used to implement the pattern using Swift. Style and approachA step-by-step tutorial completed with screenshots and code highlights wherever necessary. Each chapter discusses one or more patterns with its definitions and a simple-to-follow illustration case using a playground or XCText project to implement it with Swift.
Erscheint lt. Verlag 28.10.2015
Sprache englisch
Themenwelt Mathematik / Informatik Informatik
ISBN-10 1-78588-611-8 / 1785886118
ISBN-13 978-1-78588-611-9 / 9781785886119
Haben Sie eine Frage zum Produkt?
EPUBEPUB (Adobe DRM)

Kopierschutz: Adobe-DRM
Adobe-DRM ist ein Kopierschutz, der das eBook vor Mißbrauch schützen soll. Dabei wird das eBook bereits beim Download auf Ihre persönliche Adobe-ID autorisiert. Lesen können Sie das eBook dann nur auf den Geräten, welche ebenfalls auf Ihre Adobe-ID registriert sind.
Details zum Adobe-DRM

Dateiformat: EPUB (Electronic Publication)
EPUB ist ein offener Standard für eBooks und eignet sich besonders zur Darstellung von Belle­tristik und Sach­büchern. Der Fließ­text wird dynamisch an die Display- und Schrift­größe ange­passt. Auch für mobile Lese­geräte ist EPUB daher gut geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen eine Adobe-ID und die Software Adobe Digital Editions (kostenlos). Von der Benutzung der OverDrive Media Console raten wir Ihnen ab. Erfahrungsgemäß treten hier gehäuft Probleme mit dem Adobe DRM auf.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen eine Adobe-ID sowie eine kostenlose App.
Geräteliste und zusätzliche Hinweise

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich
Konzepte, Methoden, Lösungen und Arbeitshilfen für die Praxis

von Ernst Tiemeyer

eBook Download (2023)
Carl Hanser Verlag GmbH & Co. KG
69,99
Konzepte, Methoden, Lösungen und Arbeitshilfen für die Praxis

von Ernst Tiemeyer

eBook Download (2023)
Carl Hanser Verlag GmbH & Co. KG
69,99
Der Weg zur professionellen Vektorgrafik

von Uwe Schöler

eBook Download (2024)
Carl Hanser Verlag GmbH & Co. KG
29,99