{"product_id":"9781785886119","title":"Swift 2 Design Patterns","description":"\u003cp\u003e\u003cb\u003eBuild robust and scalable iOS and Mac OS X game applications\u003c\/b\u003e\u003c\/p\u003e\u003cp\u003e\u003cb\u003eAbout This Book\u003c\/b\u003e\u003c\/p\u003e\u003cul\u003e\n\u003cli\u003eLearn to use and implement the 23 Gang of Four design patterns using Swift 2\u003c\/li\u003e\n\u003cli\u003eDesign and architect your code for Swift application development\u003c\/li\u003e\n\u003cli\u003eUnderstand the role, generic UML design, and participants in the class diagram of the pattern by implementing them in a step-by-step approach\u003c\/li\u003e\n\u003c\/ul\u003e\u003cb\u003eWho This Book Is For\u003c\/b\u003e\u003cp\u003eThis book is intended for competent Swift developers who want to apply enduring design patterns with Swift to structure and scale their application code.\u003c\/p\u003e\u003cp\u003e\u003cb\u003eWhat You Will Learn\u003c\/b\u003e\u003c\/p\u003e\u003cul\u003e\n\u003cli\u003eChoose the appropriate pattern depending on the problem to be solved\u003c\/li\u003e\n\u003cli\u003eUnderstand the generic class diagram of each of the 23 GoF patterns and how each object participates in the pattern\u003c\/li\u003e\n\u003cli\u003eUse 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\u003c\/li\u003e\n\u003cli\u003eArchitect your software to avoid the overuse of memory, time spent on calculations, or high network traffic\u003c\/li\u003e\n\u003cli\u003eFind the best way to organize your code to make it more secure from the outside world\u003c\/li\u003e\n\u003cli\u003ePrepare your code to make it more flexible when the consumer changes or the third-party component hidden code changes\u003c\/li\u003e\n\u003cli\u003eStructure your code to change the algorithm to apply at runtime\u003c\/li\u003e\n\u003cli\u003eDeliver Flyweight responsibility to your objects\u003c\/li\u003e\n\u003c\/ul\u003e\u003cb\u003eIn Detail\u003c\/b\u003e\u003cp\u003eSwift 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.\u003c\/p\u003e\u003cp\u003e\u003c\/p\u003e\u003cp\u003eThis 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.\u003c\/p\u003e\u003cp\u003e\u003cb\u003eStyle and approach\u003c\/b\u003e\u003c\/p\u003e\u003cp\u003eA 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.\u003c\/p\u003e\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e","brand":"Packt Publishing","offers":[{"title":"Default Title","offer_id":47131355545840,"sku":"9781785886119","price":31.99,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0737\/7593\/9824\/files\/9781785886119_p0.jpg?v=1763728756","url":"https:\/\/shop-qa.barnesandnoble.com\/products\/9781785886119","provider":"Barnes \u0026 Noble (DEV)","version":"1.0","type":"link"}