feed icon rss

Your email was sent successfully. Check your inbox.

An error occurred while sending the email. Please try again.

Proceed reservation?

Export
  • 1
    UID:
    b3kat_BV045921290
    Format: 1 Online-Ressource (ix, 397 Seiten)
    ISBN: 9781789138511
    Content: Cover -- Title Page -- Copyright and Credits -- About Packt -- Contributors -- Table of Contents -- Preface -- Chapter 1: Refreshing the Basics -- Classes and structs -- Classes -- Struct -- Enums -- Simple enums -- Adding methods -- Associating values -- Generic enums -- Raw type enums -- Switching the state of light -- Closures, functions, and currying -- Currying -- Using closures as callbacks -- Using weak and unowned -- Protocols -- Declaring a protocol -- Conforming to a protocol -- Conformance at declaration -- Conformance in an extension -- Protocol extensions -- Default implementations -- Tuples, type aliases, and generics -- Tuples -- Declaring tuples -- Destructuring tuples -- Using tuples in functions -- Type aliases -- Generics -- Generic functions -- Generic types -- Generics, protocols, and associated types -- Summary -- Chapter 2: Understanding ARC and Memory Management -- A brief history of reference counting -- The semantics of reference counting -- Retain -- Release -- Assign -- Copying -- Using and misusing manual reference counting -- Memory leaks -- Dangling pointers -- ARC - what is that? -- Value types -- Strong references -- Weak references -- Unowned references -- Memory debugging -- Configuring your project -- Using the memory graph hierarchy tool -- Leaks, cycles, and dangling references -- Leaking with cycles -- A simple leak -- Fixing the leak -- Using weak -- Using unowned -- Dangling references -- Summary -- Chapter 3: Diving into Foundation and the Standard Library -- Swift basic types -- Working with ranges -- Range as Sequence -- Throwing and catching errors -- Container types -- Arrays -- Mutability and operations -- Iterating, mapping, and reducing -- Dictionaries -- Initialization and mutability -- Iterating, mapping, and reducing -- Mastering concurrency with Dispatch -- Tasks and queues
    Content: Synchronization with Dispatch -- Thread safety through serial queues -- Organizing execution with groups and semaphores -- Example of a counting semaphore -- Using groups -- HTTP with URLSession -- Making your first call with URLSession -- Parsing responses with Decodable -- Sending requests with Encodable -- Summary -- Chapter 4: Working with Objective-C in a Mixed Code Base -- Setting up your project -- Importing Objective-C in Swift -- Exposing Swift to Objective-C -- Nullability and optionals in Objective-C -- Using NS_ASSUME_NON_NULL_BEGIN and NS_ASSSUME_NON_NULL_END -- Using nullable, nonnull, _Nullable, and _Nonnull -- Naming, renaming, and refining Objective-C for Swift -- Setting Objective-C names from Swift -- Setting Swift names from Objective-C -- Renaming classes -- Renaming methods and enum cases -- Lightweight generics in Objective-C -- Using typed NSArray* in Objective-C -- Generic classes in Objective-C -- Cocoa design patterns in Swift -- Delegation -- Using delegation -- Implementing delegation -- Lazy initialization -- Summary -- Chapter 5: Creational Patterns -- The singleton pattern -- Using singletons -- Singletons in a nutshell -- The factory method pattern -- Using the factory method pattern -- Advanced usage of the factory method pattern -- Wrapping up -- The abstract factory pattern -- Using the abstract factory pattern -- Going further with factory methods -- Default implementations -- Inheritance -- Protocol extensions -- Checklist for using the factory method pattern -- The builder pattern -- Model building -- Going further: metaprogramming with Sourcery -- The builder pattern in a nutshell -- The prototype pattern -- Leveraging the prototype pattern -- Going further - NSCopying with Sourcery -- Implementing NSCopying automatically -- Implementing mutable objects -- Implementing NSMutableCopying automatically
    Content: The prototype pattern in a nutshell -- Summary -- Chapter 6: Structural Patterns -- The adapter pattern -- Using the adapter pattern -- The basics -- The classes to adapt -- Using classes as adapters -- Leveraging extensions -- The adapter pattern in a nutshell -- The decorator pattern -- Using a decorator -- Going further with decorator -- Decoration in a nutshell -- The facade pattern and proxy pattern -- The facade pattern -- Building a network cache with the facade pattern -- Using the proxy pattern to implement request/response logging -- The composite pattern -- Using the composite pattern to represent tests and suites -- The bridge pattern -- Anatomy of the bridge pattern -- Using the bridge pattern -- The flyweight pattern -- A shopping list using the flyweight pattern -- Summary -- Chapter 7: Behavioral Patterns -- The state pattern -- The card reader -- Using enums -- Refactoring for maintainability -- Extracting a single protocol -- Implementing all states through structs, and moving the logic -- Refactoring the context object -- Using state machines -- The observer pattern -- Event-based programming -- Using NotificationCenter -- Using Key-Value Observing -- Using KVO with existing Objective-C APIs -- Using KVO with Swift -- Observation using pure Swift -- Using observation -- The memento pattern -- Components of the memento pattern -- Implementing the memento pattern -- Using the memento pattern -- The visitor pattern -- Visitable and visitor protocols -- Contributors, thank you notes, and the visitor pattern -- Using visitors -- The strategy pattern -- Components of the strategy pattern -- The ice-cream shop example -- Using the strategy pattern -- Summary -- Chapter 8: Swift-Oriented Patterns -- Getting started with protocol-oriented programming -- A refresher on protocols -- Adding requirements to protocols -- Mutation and value types
    Additional Edition: Erscheint auch als Druck-Ausgabe ISBN 978-1-78913-556-5
    Language: English
    Keywords: Swift ; App ; Modulare Programmierung
    Library Location Call Number Volume/Issue/Year Availability
    BibTip Others were also interested in ...
  • 2
    UID:
    almafu_9961373477402883
    Format: 1 online resource (401 pages)
    ISBN: 1-78913-851-5
    Language: English
    Library Location Call Number Volume/Issue/Year Availability
    BibTip Others were also interested in ...
  • 3
    UID:
    almafu_9961373456802883
    Format: 1 online resource (616 pages)
    Edition: Second edition.
    ISBN: 1-80324-043-1
    Content: SwiftUI is an innovative new framework for building UI for all Apple platforms. This recipe-based guide covers the new features of SwiftUI 3 introduced in iOS 15 and helps you migrate from UIkit with a simple learning curve through practical solutions. You'll learn how SwiftUI combines with Apple dev tools to build truly cross-platform Apple apps.
    Note: Includes index.
    Additional Edition: ISBN 1-80323-445-8
    Language: English
    Library Location Call Number Volume/Issue/Year Availability
    BibTip Others were also interested in ...
  • 4
    UID:
    almafu_9959243898002883
    Format: 1 online resource (368 p.)
    Edition: 1st edition
    ISBN: 1-78588-277-5
    Series Statement: Community experience distilled
    Content: Create robust and extensible iOS apps using the advanced features of Swift 2 About This Book Get up to speed with the new features of Swift 2 by following the exhaustive examples in this book Specialize in developing real iOS apps, and 2D and 3D videogames using Swift and Cocoapods Learn how to build server API apps to feed your iOS client apps Who This Book Is For This book is ideal for those who want to learn to develop app in Swift, starting the right way. Whether you are an expert Objective-C programmer or are new to this platform, you'll quickly grasp the code of real world apps, and discover how to use Swift effectively. Prior experience in development for Apple devices would be helpful, but is not mandatory. What You Will Learn Create a server in Swift to deliver JSON data to an iOS app Take advantage of Cocoapods to use third-party libraries Use a clean and effective architecture to decrease complexity and speed up development Take advantage of the most useful parts of the iOS SDK Build games with SpriteKit and SceneKit Develop an app running on the cloud to act as an API server for your client's apps In Detail Swift is no longer the unripe language it was when launched by Apple at WWDC14, now it's a powerful and ready-for-production programming language that has empowered most new released apps. Swift is a user-friendly language with a smooth learning curve; it is safe, robust, and really flexible. Swift 2 is more powerful than ever; it introduces new ways to solve old problems, more robust error handling, and a new programming paradigm that favours composition over inheritance. Swift 2 by Example is a fast-paced, practical guide to help you learn how to develop iOS apps using Swift. Through the development of seven different iOS apps and one server app, you'll find out how to use either the right feature of the language or the right tool to solve a given problem. We begin by introducing you to the latest features of Swift 2, further kick-starting your app development journey by building a guessing game app, followed by a memory game. It doesn't end there, with a few more apps in store for you: a to-do list, a beautiful weather app, two games: Flappy Swift and Cube Runner, and finally an ecommerce app to top everything off. By the end of the book, you'll be able to build well-designed apps, effectively use AutoLayout, develop videogames, and build server apps. Style and approach These easy-to-follow tutorials show you how to build rea...
    Note: Includes index. , Cover; Copyright; Credits; About the Author; About the Reviewer; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Welcome to the World of Swift; The first look at Swift; Let's go to the playground; The building blocks - variables and constants; Collecting variables in containers; Controlling the flow; Transforming the values using functions; Structs - custom compound types; Classes - common behavior objects; Loose coupling with protocols; Composing objects using protocol extensions; Checking the existence of an optional value; Enumerations on steroids; Extended pattern matching , Implementing the pipes node
    Additional Edition: ISBN 1-78588-292-9
    Language: English
    Library Location Call Number Volume/Issue/Year Availability
    BibTip Others were also interested in ...
  • 5
    Online Resource
    Online Resource
    Packt Publishing,
    UID:
    almafu_9961374006902883
    Format: 1 online resource (614 pages)
    Edition: 1st edition
    ISBN: 1-83921-269-1
    Content: Unleash the power of declarative programming in SwiftUI with practical recipes for building cross-platform Apple applications for iOS 14, macOS, and watchOS using Swift 5.3, Xcode 12, and SwiftUI 2.0 Key Features Apply the declarative programming paradigm for building cross-platform UIs for Apple devices Learn to integrate UIKit, Core Data, Sign in with Apple, and Firebase with SwiftUI Adopt the new SwiftUI 2.0 features to build visually appealing UIs at speed Book Description SwiftUI is an innovative and simple way to build beautiful user interfaces (UIs) for all Apple platforms, right from iOS and macOS through to watchOS and tvOS, using the Swift programming language. In this recipe-based book, you'll work with SwiftUI and explore a range of essential techniques and concepts that will help you through the development process. The recipes cover the foundations of SwiftUI as well as the new SwiftUI 2.0 features introduced in iOS 14. Other recipes will help you to make some of the new SwiftUI 2.0 components backward-compatible with iOS 13, such as the Map View or the Sign in with Apple View. The cookbook begins by explaining how to use basic SwiftUI components. Then, you'll learn the core concepts of UI development such as Views, Controls, Lists, and ScrollViews using practical implementation in Swift. By learning drawings, built-in shapes, and adding animations and transitions, you'll discover how to add useful features to the SwiftUI. When you're ready, you'll understand how to integrate SwiftUI with exciting new components in the Apple development ecosystem, such as Combine for managing events and Core Data for managing app data. Finally, you'll write iOS, macOS, and watchOS apps while sharing the same SwiftUI codebase. By the end of this SwiftUI book, you'll have discovered a range of simple, direct solutions to common problems found in building SwiftUI apps. What you will learn Explore various layout presentations in SwiftUI such as HStack, VStack, LazyHStack, and LazyVGrid Create a cross-platform app for iOS, macOS, and watchOS Get up to speed with drawings in SwiftUI using built-in shapes, custom paths, and polygons Discover modern animation and transition techniques in SwiftUI Add user authentication using Firebase and Sign in with Apple Handle data requests in your app using Core Data Solve the most common SwiftUI problems, such as integrating a MapKit map, unit testing, snapshot testing, and previewing layouts Who this book is for Th...
    Language: English
    Library Location Call Number Volume/Issue/Year Availability
    BibTip Others were also interested in ...
  • 6
    UID:
    almafu_9959236618702883
    Format: 1 online resource (1,027 pages) : , color illustrations
    Edition: 1st edition
    ISBN: 1-78712-266-2
    Content: Unleash the power of Swift and discover the skills required to build incredible robust iOS applications About This Book Write expressive, understandable, and maintainable Swift 2 code with this hands-on course Unveil the complex underpinnings of Swift to turn your app ideas into reality Specialize in developing real iOS apps, and 2D and 3D video games using Swift and Cocoapods Dive deep into protocol extensions, learn new error handling model and use featured Swift design patterns to write more efficient code Who This Book Is For This course would be for app developers who are new to developing for iOS or OSX and are trying to get grips with Swift for the first time. What You Will Learn From a solid understanding of the Swift 2 language Get to know the practical aspects of how a computer program actually works Understand the paradigms used by Apple's frameworks, so you are not intimidated by them Create a server in Swift to deliver JSON data to an iOS app Take advantage of Cocoapods to use third-party libraries Build games with SpriteKit and SceneKit Develop an app running on the cloud to act as an API server for your client's apps Dive into the core components of Swift 2 including operators, collections, control flow, and functions Create and use classes, structures, and enums including object-oriented topics such as inheritance, protocols, and extensions Develop a practical understanding of subscripts, optionals, and closures Master Objective-C interoperability with mix and match Access network resources using Swift Implement various standard design patterns in the Swift language In Detail The Swift??Developing iOS Applications course will take you on a journey to become an efficient iOS and OS X developer, with the latest trending topic in town. Right from the basics to the advanced level topics, this course would cover everything in detail. We'll embark our journey by dividing the learning path into four modules. Each of these modules are a mini course in their own right; and as you complete each one, you'll gain key skills and be ready for the material in the next module. The first module is like a step-by-step guide to programming in Swift 2. Each topic is separated into compressible sections that are full of practical examples and easy-to-understand explanations. Each section builds on the previous topics, so you can develop a proficient and comprehensive understanding of app development in Swift 2. By the end of this module, you'll hav...
    Note: Authors from front matter.
    Additional Edition: ISBN 1-78712-024-4
    Language: English
    Library Location Call Number Volume/Issue/Year Availability
    BibTip Others were also interested in ...
Close ⊗
This website uses cookies and the analysis tool Matomo. Further information can be found on the KOBV privacy pages