Combine

Combine
Author: raywenderlich Tutorial Team
Publisher: Razeware LLC
Total Pages: 448
Release: 2021-09-28
Genre:
ISBN: 9781950325498

Dive into Combine! Writing asynchronous code can be challenging, with a variety of possible interfaces to represent, perform, and consume asynchronous work - delegates, notification center, KVO, closures, etc. Juggling all of these different mechanisms can be somewhat overwhelming. Does it have to be this hard? Not anymore! In this book, you'll learn about Combine - Apple's framework to work with asynchronous events in a unified and reactive way that ensures your app is always up to date based on the latest state of its data. Who This Book Is For This book is for intermediate iOS developers who already know the basics of iOS and Swift development but are interested in learning declarative/reactive programming and take their app and state management to the next level. You'll also find this book interesting if you're interested in SwiftUI - as many of the reactive capabilities keeping your SwiftUI views up-to-date are built on top of Combine. Topics Covered in Combine: Asynchronous Programming with Swift What & Why: Learn what is Combine and reactive programming and the problems they solve, and how you can unify all of your asynchronous piece of work. Operators: Learn how to compose, transform, filter and otherwise manipulate different pieces of asynchronous work using operators. In Practice: You'll gain knowledge on various topics and techniques you'll leverage when writing your own real-life apps, as well as practice these techniques with actual hands-on apps and projects. SwiftUI: You'll learn about how Combine is deeply rooted within SwiftUI and provides it with the ability to reactively update its views based on the state of your app. Advanced Combine: Once you've got a handle on the basics, you'll dive into advanced Combine topics such as Error Handling, Schedulers, and Custom Publishers. By the end of this book, you'll be a pro in building full-fledged applications using Combine's various abilities.

Modern Concurrency in Swift (Second Edition)

Modern Concurrency in Swift (Second Edition)
Author: Kodeco Team
Publisher: Kodeco Incorporated
Total Pages: 0
Release: 2023-02-14
Genre:
ISBN: 9781950325818

Learn Modern Swift Concurrency! For years, writing powerful and safe concurrent apps with Swift could easily turn into a daunting task, full of race conditions and unexplained crashes hidden in a massive nesting of callback closures. In Swift 5.5, Apple introduced a new concurrency model featuring the async/await syntax, which lets you write asynchronous code that reads like synchronous code. But like any new feature, here be dragons! So how will you achieve the much-desired mastery of modern Swift concurrency? Modern Concurrency in Swift comes to the rescue, showcasing what you need to know about async/await, tasks, actors and everything in between! Who This Book Is For This book is for intermediate Swift developers who are familiar with writing asynchronous applications and who want to leverage the concurrency features Apple introduced in Swift 5.5 and its evolution throughout the years, to write safer and more predictable asynchronous apps. Topics Covered in Modern Concurrency in Swift Using async/await: Learn how to use the new async/await keywords to define and run asynchronous work. Actors: Find out how to use the actor model to easily protect shared mutable state in a synchronized container. Tasks: You'll dive deeper into the Task type, which powers all asynchronous tasks in Swift's modern concurrency model. Task Groups: Use a Task Group to group multiple tasks together and run them concurrently, while using a familiar Array-like syntax to iterate over the results. Custom Asynchronous Sequences: Leverage the power of async/await in your own asynchronous work, by learning how to create custom AsyncStreams. Testing Asynchronous Code: Asynchronous code can be a challenging beast to test. You'll learn everything you need to tackle this challenge. One thing you can count on: After reading this book, you'll be prepared to leverage Swift's new concurrency features in your app to write safe, performant and predictable asynchronous code.

RxSwift (Fourth Edition)

RxSwift (Fourth Edition)
Author: raywenderlich Tutorial Team
Publisher:
Total Pages:
Release: 2020-08-11
Genre:
ISBN: 9781950325245

Learn Reactive Programming in Swift with RxSwift!The popularity of reactive programming continues to grow on an every-increasing number of platforms and languages. Rx lets developers easily and quickly build apps with code that can be understood by other Rx developers - even over different platforms.Not only will you learn how to use the RxSwift port to create complex reactive applications on iOS, you'll also see how to easily solve common application design issues by using RxSwift. Finally you'll discover how to exercise full control over the library and leverage the full power of reactive programming in your apps.This books is for iOS developers who already feel comfortable with iOS and Swift, and want to dive deep into development with RxSwift.Topics Covered in RxSwift:- Getting Started: Get an introduction to the reactive programming paradigm, learn the terminology involved and see how to begin using RxSwift in your projects.- Event Management: Learn how to handle asynchronous event sequences via two key concepts in Rx - Observables and Observers.- Being Selective: See how to work with various events using concepts such as filtering, transforming, combining, and time operators.- UI Development: RxSwift makes it easy to work with UI of your apps using RXCocoa, which provides integration of both UIKit and Cocoa.- Intermediate Topics: Level up your RxSwift knowledge with chapters on reactive networking, multi-threading, and error handling.And much, much more!By the end of this book, you'll have hands-on experience solving common issues in a reactive paradigm - and you'l be well on your way to coming up with your own Rx patterns and solutions!

Swift in Depth

Swift in Depth
Author: Tjeerd in 't Veen
Publisher: Simon and Schuster
Total Pages: 566
Release: 2018-12-10
Genre: Computers
ISBN: 1638356165

Summary Now updated for Swift 5! Swift is more than just a fun language to build iOS applications with. It features a host of powerful tools that, if effectively used, can help you create even better apps with clean, crystal-clear code and awesome features. Swift in Depth is designed to help you unlock these tools and quirks and get developing next-gen apps, web services, and more! Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology It's fun to create your first toy iOS or Mac app in Swift. Writing secure, reliable, professional-grade software is a different animal altogether. The Swift language includes an amazing set of high-powered features, and it supports a wide range of programming styles and techniques. You just have to roll up your sleeves and learn Swift in depth. About the Book Swift in Depth guides you concept by concept through the skills you need to build professional software for Apple platforms, such as iOS and Mac; also on the server with Linux. By following the numerous concrete examples, enlightening explanations, and engaging exercises, you'll finally grok powerful techniques like generics, efficient error handling, protocol-oriented programming, and advanced Swift patterns. Author Tjeerd in 't Veen reveals the high-value, difficult-to-discover Swift techniques he's learned through his own hard-won experience. What's inside Covers Swift 5 Writing reusable code with generics Iterators, sequences, and collections Protocol-oriented programming Understanding map, flatMap, and compactMap Asynchronous error handling with ResultBest practices in Swift About the Reader Written for advanced-beginner and intermediate-level Swift programmers. About the Author Tjeerd in 't Veen is a senior software engineer and architect in the mobile division of a large international banking firm. Table of Contents Introducing Swift in depth Modeling data with enums Writing cleaner properties Making optionals second nature Demystifying initializers Effortless error handling Generics Putting the pro in protocol-oriented programming Iterators, sequences, and collections Understanding map, flatMap, and compactMap Asynchronous error handling with Result Protocol extensions Swift patterns Delivering quality Swift code Where to Swift from here

Swift Programming

Swift Programming
Author: Matthew Mathias
Publisher: Pearson Technology Group
Total Pages: 611
Release: 2016-11-23
Genre: Computers
ISBN: 0134610695

This is the eBook of the printed book and may not include any media, website access codes, or print supplements that may come packaged with the bound book. Through the authors' carefully constructed explanations and examples, you will develop an understanding of Swift grammar and the elements of effective Swift style. This book is written for Swift 3.0 and will also show you how to navigate Xcode 8 and get the most out of Apple's documentation. Throughout the book, the authors share their insights into Swift to ensure that you understand the hows and whys of Swift and can put that understanding to use in different contexts. After working through the book, you will have the knowledge and confidence to develop your own solutions to a wide range of programming challenges using Swift.

IOS 15 Programming Fundamentals with Swift

IOS 15 Programming Fundamentals with Swift
Author: Matt Neuburg
Publisher: "O'Reilly Media, Inc."
Total Pages: 789
Release: 2021-10
Genre: Computers
ISBN: 1098118472

Move into iOS development by getting a firm grasp of its fundamentals, including the Xcode 13 IDE, Cocoa Touch, and the latest version of Apple's acclaimed programming language, Swift 5.5. With this thoroughly updated guide, you'll learn the Swift language, understand Apple's Xcode development tools, and discover the Cocoa framework. Explore Swift's object-oriented concepts Become familiar with built-in Swift types Dive deep into Swift objects, protocols, and generics Tour the life cycle of an Xcode project Learn how nibs are loaded Understand Cocoa's event-driven design Communicate with C and Objective-C In this edition, catch up on the latest iOS programming features: Structured concurrency: async/await, tasks, and actors Swift native formatters and attributed strings Lazy locals and throwing getters Enhanced collections with the Swift Algorithms and Collections packages Xcode tweaks: column breakpoints, package collections, and Info.plist build settings Improvements in Git integration, localization, unit testing, documentation, and distribution And more!

Programming Language Explorations

Programming Language Explorations
Author: Ray Toal
Publisher: CRC Press
Total Pages: 379
Release: 2017-08-09
Genre: Computers
ISBN: 1315314312

Programming Language Explorations is a tour of several modern programming languages in use today. The book teaches fundamental language concepts using a language-by-language approach. As each language is presented, the authors introduce new concepts as they appear, and revisit familiar ones, comparing their implementation with those from languages seen in prior chapters. The goal is to present and explain common theoretical concepts of language design and usage, illustrated in the context of practical language overviews. Twelve languages have been carefully chosen to illustrate a wide range of programming styles and paradigms. The book introduces each language with a common trio of example programs, and continues with a brief tour of its basic elements, type system, functional forms, scoping rules, concurrency patterns, and sometimes, metaprogramming facilities. Each language chapter ends with a summary, pointers to open source projects, references to materials for further study, and a collection of exercises, designed as further explorations. Following the twelve featured language chapters, the authors provide a brief tour of over two dozen additional languages, and a summary chapter bringing together many of the questions explored throughout the text. Targeted to both professionals and advanced college undergraduates looking to expand the range of languages and programming patterns they can apply in their work and studies, the book pays attention to modern programming practice, covers cutting-edge languages and patterns, and provides many runnable examples, all of which can be found in an online GitHub repository. The exploration style places this book between a tutorial and a reference, with a focus on the concepts and practices underlying programming language design and usage. Instructors looking for material to supplement a programming languages or software engineering course may find the approach unconventional, but hopefully, a lot more fun.

Flutter in Action

Flutter in Action
Author: Eric Windmill
Publisher: Simon and Schuster
Total Pages: 586
Release: 2020-01-07
Genre: Computers
ISBN: 1638356432

Summary In 2017, consumers downloaded 178 billion apps, and analysts predict growth to 258 billion by 2022. Mobile customers are demanding more—and better—apps, and it’s up to developers like you to write them! Flutter, a revolutionary new cross-platform software development kit created by Google, makes it easier than ever to write secure, high-performance native apps for iOS and Android. Flutter apps are blazingly fast because this open source solution compiles your Dart code to platform-specific programs with no JavaScript bridge! Flutter also supports hot reloading to update changes instantly. And thanks to its built-in widgets and rich motion APIs, Flutter’s apps are not just highly responsive, they’re stunning! Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the technology With Flutter, you can build mobile applications using a single, feature-rich SDK that includes everything from a rendering engine to a testing environment. Flutter compiles programs written in Google’s intuitive Dart language to platform-specific code so your iOS and Android games, utilities, and shopping platforms all run like native Java or Swift apps. About the book Flutter in Action teaches you to build professional-quality mobile applications using the Flutter SDK and the Dart programming language. You’ll begin with a quick tour of Dart essentials and then dive into engaging, well-described techniques for building beautiful user interfaces using Flutter’s huge collection of built-in widgets. The combination of diagrams, code examples, and annotations makes learning a snap. As you go, you’ll appreciate how the author makes easy reading of complex topics like routing, state management, and async programming. What's inside Understanding the Flutter approach to the UI All the Dart you need to get started Creating custom animations Testing and debugging About the reader You’ll need basic web or mobile app development skills. About the author Eric Windmill is a professional Dart developer and a contributor to open-source Flutter projects. His work is featured on the Flutter Showcase page. Table of Contents: PART 1 - MEET FLUTTER 1 ¦ Meet Flutter 2 ¦ A brief intro to Dart 3 ¦ Breaking into Flutter PART 2 - FLUTTER USER INTERACTION, STYLES, AND ANIMATIONS 4 ¦ Flutter UI: Important widgets, themes, and layout 5 ¦ User interaction: Forms and gestures 6 ¦ Pushing pixels: Flutter animations and using the canvas PART 3 - STATE MANAGEMENT AND ASYNCHRONOUS DART 7 ¦ Flutter routing in depth 8 ¦ Flutter state management 9 ¦ Async Dart and Flutter and infinite scrolling PART 4 - BEYOND FOUNDATIONS 10 ¦ Working with data: HTTP, Firestore, and JSON 11 ¦ Testing Flutter apps

Advanced IOS App Architecture (Third Edition)

Advanced IOS App Architecture (Third Edition)
Author: Josh Berlin
Publisher: Razeware LLC
Total Pages: 355
Release: 2020-09
Genre:
ISBN: 9781950325269

Apply Different Architectures to Your Codebase! Advanced iOS App Architecture guides you through building one real-world app written in different architectures to give you hands-on and practical experience working in different architectures. This book will also guide you through the theory you need to gain a solid foundation of architecture concepts so that you can make your own informed decisions on how to use them in your codebase. Who This Book Is For This book is for intermediate iOS developers who already know the basics of iOS and are looking to build apps using defined architectures, making apps cleaner and easier to maintain. Topics Covered in Advanced iOS App Architecture Navigating Architecture Topics: Learn the theory behind various architectures to help inform which works best for you in different situations you may face. Managing Dependencies: Learn how to manage dependencies both internally and externally within your app. MVVM Architecture: Explore the history of the MVVM architecture and begin building KOOBER - the book's project app - using MVVM principles. Redux Architecture: Explore the history of the Redux architecture and continue building KOOBER using Redux principles. Elements Architecture: Explore the history of the Elements architecture and continue building KOOBER using Elements principles. SwiftUI: Explore SwiftUI and find out how to adapt existing application architectures for use with SwiftUI. After reading this book, you'll have the knowledge to decide which types of architecture components suit your apps and you'll have a deep understanding of the covered architectures. About the iOS Architecture Team The architecture team is a group of seasoned developers who work for large multi-national companies who deal with large and diverse code bases on a daily basis. The knowledge procured over years of development is now being transferred to you through book. We hope you enjoy the book and, hopefully, you'll apply some of the architectures you've learned to your own apps

High Performance IOS Apps

High Performance IOS Apps
Author: Gaurav Vaish
Publisher: "O'Reilly Media, Inc."
Total Pages: 464
Release: 2016-06-16
Genre: Computers
ISBN: 1491911158

Now that more people spend more time interacting with mobile apps than with their desktop counterparts, you need to think about your iOS app's performance the moment you write your first line of code. This practical hands-on guide shows you how. Through specific and concise tips for designing and optimizing your apps, author Gaurav Vaish provides solutions to many common performance scenarios, including reusable code that you can put to work right away.