Reactive Programming with Swift
暫譯: 使用 Swift 的反應式編程

Cecil Costa

  • 出版商: Packt Publishing
  • 出版日期: 2016-04-28
  • 售價: $1,880
  • 貴賓價: 9.5$1,786
  • 語言: 英文
  • 頁數: 238
  • 裝訂: Paperback
  • ISBN: 1785884263
  • ISBN-13: 9781785884269
  • 相關分類: Apple Developer
  • 海外代購書籍(需單獨結帳)

商品描述

Key Features

  • 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

Book Description

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.

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

About the Author

Cecil Costa, also known as Eduardo Campos in Latin countries, is a Euro-Brazilian freelance developer who has been learning about computers since getting his first PC (AT 286) in 1990. From then on, he kept learning about programming languages, computer architecture, and computer science theory. Learning is his passion as well as teaching; this is the reason why he worked as a trainer, providing on-site courses for companies such as Ericsson, Roche, TVE (a Spanish television channel), and many other companies. Nowadays, he also teaches through online platforms, helping people from every part of the world.

In 2008, he founded his own company, Conglomo Limited, which offers development and training programs, both on-site in Europe and online.

Over his professional career, he has created projects by himself and also worked for different sized companies, such as IBM, Qualcomm, Spanish Lottery, and DIA%. Writing books is his new passion, and he is the author of Swift Cookbook, Packt Publishing.

Cecil develops with a variety of computer languages (such as Swift, C++, Java, Objective-C, JavaScript, Python, and more) in different environments (iOS, Android, Web, OS X, Linux, Unity, and more) because he thinks that a good developer needs to learn every kind of programming language to open his mind, and only then will he really know what development is.

Nowadays, Cecil is based in Manchester, UK, where he is progressing his professional career working with mobile apps.

商品描述(中文翻譯)

#### 主要特點
- 透過這本實用的反應式編程入門書,構建高度響應的應用程式
- 本書使用 ReactiveCocoa,這是 iOS 上最受歡迎的反應式編程解決方案,來安裝、調試和使用 Swift 開發框架
- 從傳統編程風格轉向反應式範式,輕鬆編寫您的第一個反應式應用程式

#### 書籍描述
反應式編程幫助您編寫更強大且高效的應用程式。您可以編寫更多的軟體,幫助更多的人,並創建可擴展的應用程式。反應式編程是一個不斷增長的範式,我們將幫助您在 Swift 中開始使用。

《使用 Swift 的反應式編程》指導您從傳統的開發方式遷移到新的 ReactiveCocoa 框架,該框架以 Swift 作為主要編程語言。您將學習如何使用這個框架進行開發、調試代碼、創建單元測試、使用其他框架,並將傳統框架轉換為 ReactiveCocoa 框架。

本書將從反應式編程的基本概念速成課程開始,讓您準備好創建反應式應用程式。接著,我們將討論圖形事件、串流和核心數據等主題,幫助您深入了解進階編程。我們還將涵蓋將編程概念從命令式轉換為函數式反應式編程的概念。到本書結束時,您將能夠成功使用 Swift 創建高度功能的應用程式。

#### 您將學到的內容
- 將您的編程概念從命令式轉換為函數式反應式編程
- 通過使用不同的範式來改善應用程式的維護性
- 使用 ReactiveCocoa 框架創建單元測試和自動化測試
- 創建易於閱讀的清晰代碼
- 適應將移動應用程式遷移到反應式編程方式
- 執行非同步調用並稍後合併它們

#### 關於作者
**Cecil Costa**,在拉丁美洲國家也被稱為 Eduardo Campos,是一位歐洲-巴西自由開發者,自1990年獲得第一台 PC(AT 286)以來便開始學習計算機。從那時起,他持續學習編程語言、計算機架構和計算機科學理論。學習是他的熱情,教學也是;這就是為什麼他曾擔任培訓師,為愛立信、羅氏、TVE(西班牙電視台)等公司提供現場課程的原因。如今,他也通過在線平台教學,幫助來自世界各地的人們。

在2008年,他創立了自己的公司 Conglomo Limited,提供開發和培訓計劃,無論是在歐洲的現場還是在線上。

在他的職業生涯中,他獨立創建了項目,並為不同規模的公司工作,如 IBM、Qualcomm、西班牙彩票和 DIA%。寫書是他的新熱情,他是《Swift Cookbook》的作者,出版商為 Packt Publishing。

Cecil 使用多種計算機語言(如 Swift、C++、Java、Objective-C、JavaScript、Python 等)在不同環境(iOS、Android、Web、OS X、Linux、Unity 等)中進行開發,因為他認為一位優秀的開發者需要學習各種編程語言以開闊思維,只有這樣他才能真正了解開發是什麼。

如今,Cecil 定居於英國曼徹斯特,並在移動應用程式方面推進他的職業生涯。