Reactive Programming with Swift


Reactive Programming with Swift
by Cecil Costa
Print Length 页数: 238 pages
Publisher finelybook 出版社:‏ Packt Publishing (28 April 2016)
Language 语言: English
ISBN-10: 1785884263
ISBN-13: 9781785884269
B018GGYUDM
Leverage the power of the Functional Reactive Programming paradigm with Swift to develop robust iOS applications
About This Book
Build highly responsive applications with this practical introduction to Reactive programming
This book uses ReactiveCocoa,the most popular solution for Reactive Programming on iOS to install,debug,and develop a framework with Swift
Switch from the traditional programming style to the reactive paradigm to code your first reactive applications with ease
Who This Book Is For
Reactive Programming with Swift is for Swift developers who want to start making more powerful and efficient applications. You need a basic understanding of Swift to follow along. This book takes a first-principles approach to what Reactive Programming is and how you can start implementing it in your next iOS applications.
What You Will Learn
Switch your programming concepts from imperative to Functional reactive programming
Improve your app’s maintenance by developing with a different paradigm
Create unit tests and automation tests using the ReactiveCocoa framework
Create clear code that is very easy to read
Get accustomed to migrating mobile apps to the Reactive way of programming
Perform asynchronous calls and join them later
In Detail
Reactive programming helps you write applications that are more powerful and efficient. You can write more software,help more people,and create applications that scale. Reactive programming is a growing paradigm that we will help you set to work in Swift.
Reactive Programming with Swift guides you through migrating from the traditional way of developing to the new ReactiveCocoa framework,which uses Swift as its main programming language. You will learn how to develop with this framework,debug code,create unit tests,use additional frameworks,and convert a traditional framework into a ReactiveCocoa one.
Starting with a crash course on the fundamental concepts of Reactive programming,we’ll set you up so you’re ready to create reactive applications. We’ll then move on to topics such as Graphical events,Streaming,and Core data,which will help you dive deeper with advanced programming. The concept of switching your programming concepts from imperative to functional reactive programming will also be covered. By the end of this book,you will be able to successfully create highly functional apps using Swift.
Style and approach
This book is a fast-paced,practical guide compiled with ample images and screenshots that explain how to create apps and demonstrate their logic.
Contents
Chapter 1. Introduction to Reactive Programming
Chapter 2. Installing ReactiveCocoa and Using It with Playground
Chapter 3. Performing UI Events with ReactiveCocoa
Chapter 4. Network and Change Propagation
Chapter 5. Enhance Your Application Using RAC Extensions
Chapter 6. Using the ReactiveCocoa 4 Style
Chapter 7. Testing Your Application
Chapter 8. Migrating a Real Application to ReactiveCocoa
利用Swift的功能反应编程范例来开发强大的iOS应用程序
关于这本书
构建高响应性的应用程序与实际编程的实际介绍
本书使用ReactiveCocoa,这是iOS上的反应式编程最流行的解决方案,可以安装,调试和开发一个Swift框架
从传统的编程风格转变为反应式范式,轻松编写您的第一个反应性应用程序
这本书是谁
Swift的反应编程适用于希望开始制作更强大和更有效的应用程序的Swift开发人员。您需要对Swift的基本了解才能跟随。本书采用了第一原理的方法来反应程序设计,以及如何开始在下一个iOS应用程序中实现它。
你会学到什么
将编程概念从强制转换为功能反应式编程
通过开发不同的范例来改善应用程序的维护
使用ReactiveCocoa框架创建单元测试和自动化测试
创建非常容易阅读的清晰代码
习惯于将移动应用迁移到Reactive的编程方式
执行异步调用并稍后加入
详细
反应式编程可帮助您编写更强大,更高效的应用程序。您可以编写更多的软件,帮助更多的人,并创建扩展的应用程序。反应式编程是一个不断扩大的范例,我们将帮助您在Swift工作。
Swift的反应式编程引导您从传统的开发方式迁移到使用Swift作为其主要编程语言的新的ReactiveCocoa框架。您将学习如何开发此框架,调试代码,创建单元测试,使用其他框架,并将传统框架转换为ReactiveCocoa框架。
从关于反应式编程的基本概念的崩溃课程开始,我们将设置您,以便您准备好创建反应性应用程序。然后,我们将介绍诸如图形事件,流式传输和核心数据等主题,这将有助于您深入了解高级编程。将编程概念从强制转换为功能反应式编程的概念也将被涵盖。在本书末尾,您将能够使用Swift成功创建功能强大的应用程序。
风格和方法
这本书是一个快节奏的实用指南,汇编了丰富的图像和截图,解释了如何创建应用程序并展示其逻辑。
目录
第一章反应式编程简介
第2章安装ReactiveCocoa并将其与Playground一起使用
第3章使用ReactiveCocoa执行UI事件
第四章网络与变革传播
第5章使用RAC扩展增强应用程序
第6章使用ReactiveCocoa 4风格
第7章测试您的应用程序
第8章将真正的应用程序迁移到ReactiveCocoa

打赏
未经允许不得转载:finelybook » Reactive Programming with Swift

评论 抢沙发

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫

微信扫一扫