06369nam 22007575 450 991030065630332120200701101134.09781484203941148420394110.1007/978-1-4842-0394-1(CKB)3710000000341892(EBL)1964929(SSID)ssj0001424571(PQKBManifestationID)11934333(PQKBTitleCode)TC0001424571(PQKBWorkID)11363964(PQKB)10263531(DE-He213)978-1-4842-0394-1(MiAaPQ)EBC1964929(CaSebORM)9781484203941(PPN)183516907(OCoLC)903609678(OCoLC)ocn903609678(EXLCZ)99371000000034189220150117d2015 u| 0engur|n|---|||||txtccrPro Design Patterns in Swift /by Adam Freeman1st ed. 2015.Berkeley, CA :Apress :Imprint: Apress,2015.1 online resource (568 p.)Includes index.9781484203958 148420395X Contents at a Glance; Part I: Getting Ready; Chapter 1: Understanding Design Patterns; Putting Design Patterns into Context; Introducing Design Patterns; Understanding the Structure of a Design Pattern; Quantifying the Value of Design Patterns; Using a Design Pattern After the Problem Occurred; Understanding the Limitations of Design Patterns; About This Book; What Do You Need to Know?; What Software Do You Need?; What Is the Structure of This Book?; Where Can You Get the Example Code?; Summary; Chapter 2: Getting Used to Xcode; Working with Xcode Playgrounds; Creating a PlaygroundDisplaying the Value History of a VariableUsing the Value Timeline; Displaying UI Components in a Playground; Working with OS X Command Line Tool Projects; Creating a Command-Line Project; Understanding the Xcode Layout; Adding a New Swift File; Summary; Chapter 3: Creating the SportsStore App; Creating an Unstructured iOS App Project; Creating the Project; Understanding the Xcode Layout; Defining the Data; Creating the Basic Layout; Adding the Basic Components; Configuring Auto Layout; Testing the Basic Layout; Implementing the Total Label; Creating the Reference; Updating the DisplayImplementing the Table CellsDefining the Custom Table Cell and Layout; Setting the Table Cell Layout Constraints; Creating the Table Cell Class and Outlets; Implementing the Data Source Protocol; Registering the Data Source; Testing the Data Source; Handling the Editing Actions; Handling the Events; Testing the SportsStore App; Summary; Part II: The Creation Patterns; Chapter 4: The Object Template Pattern; Preparing the Example Project; Understanding the Problem Addressed by the Pattern; Understanding the Object Template Pattern; Implementing the Object Template PatternUnderstanding the Benefits of the PatternThe Benefit of Decoupling; The Benefit of Encapsulation; The Benefit of an Evolving Public Presentation; Understanding the Pitfalls of the Pattern; Examples of the Object Template Pattern in Cocoa; Applying the Pattern to the SportsStore App; Preparing the Example Application; Creating the Product Class; Applying the Product Class; Ensuring View and Model Separation; Expanding the Summary Display; Summary; Chapter 5: The Prototype Pattern; Understanding the Problem Addressed by the Pattern; Incurring Expensive InitializationsCreating Template DependenciesUnderstanding the Prototype Pattern; Implementing the Prototype Pattern; Cloning Reference Types; Implementing the NSCopying Protocol; Understanding Shallow and Deep Copying; Implementing Deep Copying; Copying Arrays; Understanding the Benefits of the Prototype Pattern; Avoiding Expensive Initializations; Separating Object Creation from Object Use; (Not Really) Solving the Problem; Revealing the Underlying Problem; (Not Really) Solving the Underlying Problem; Applying the Prototype Pattern; Understanding the Pitfalls of the Prototype PatternUnderstanding the Deep vs. Shallow PitfallThe Swift programming language has transformed the world of iOS development and started a new age of modern development. Pro Design Patterns in Swift shows you how to harness the power and flexibility of Swift to apply the most important and enduring design patterns to your applications, taking your development projects to master level. This book will teach you those design patterns that have always been present at some level in your code, but may not have been recognized, acknowledged, or fully utilized. Implementation of specific pattern approaches will prove their value to any Swift developer. Best-selling author Adam Freeman explains how to get the most from design patterns. He starts with the nuts-and-bolts and shows you everything through to advanced features, going in-depth to give you the knowledge you need. Pro Design Patterns in Swift brings design patterns to life and shows you how to bring structure and scale to your Swift code with a practical, no-nonsense approach.Learn how to apply the classic design patterns to iOS app development using SwiftApple computersProgramming languages (Electronic computers)Computer programmingApple and iOShttps://scigraph.springernature.com/ontologies/product-market-codes/I29020Programming Languages, Compilers, Interpretershttps://scigraph.springernature.com/ontologies/product-market-codes/I14037Programming Techniqueshttps://scigraph.springernature.com/ontologies/product-market-codes/I14010Apple computers.Programming languages (Electronic computers)Computer programming.Apple and iOS.Programming Languages, Compilers, Interpreters.Programming Techniques.004005.13Freeman Adamauthttp://id.loc.gov/vocabulary/relators/aut534490UMIUMIBOOK9910300656303321Pro Design Patterns in Swift2174439UNINA