Reactive Programming with Swift

Cecil Costa

  • 出版商: Packt Publishing
  • 出版日期: 2016-04-28
  • 售價: $1,710
  • 貴賓價: 9.5$1,625
  • 語言: 英文
  • 頁數: 238
  • 裝訂: Paperback
  • ISBN: 1785884263
  • ISBN-13: 9781785884269
  • 相關分類: Apple Developer
  • 下單後立即進貨 (約3~4週)

商品描述

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.

商品描述(中文翻譯)

《重構 Swift 程式設計:使用 ReactiveCocoa 實作反應式程式》

主要特點



  • 透過這本實用的反應式程式設計入門書籍,打造高度回應式的應用程式

  • 本書使用 ReactiveCocoa,這是 iOS 上最受歡迎的反應式程式設計解決方案,以 Swift 進行安裝、除錯和開發框架

  • 從傳統的程式設計風格轉換為反應式範式,輕鬆編寫第一個反應式應用程式

書籍描述


反應式程式設計能夠幫助您撰寫更強大、更高效的應用程式。您可以撰寫更多軟體、幫助更多人,並創建可擴展的應用程式。反應式程式設計是一種不斷發展的範式,我們將協助您在 Swift 中開展這項工作。


《使用 Swift 進行反應式程式設計》將引導您從傳統的開發方式轉換為使用 Swift 為主要程式語言的 ReactiveCocoa 框架。您將學習如何使用這個框架進行開發、除錯程式碼、建立單元測試、使用其他框架,以及將傳統框架轉換為 ReactiveCocoa 框架。


從基礎的反應式程式設計概念入門,我們將幫助您準備好開發反應式應用程式。接著,我們將深入探討圖形事件、串流和核心資料等主題,幫助您進一步了解高級程式設計。本書還將介紹將程式設計概念從命令式轉換為函數式反應式程式設計的概念。通過閱讀本書,您將能夠成功使用 Swift 創建高度功能的應用程式。

您將學到什麼



  • 將程式設計概念從命令式轉換為函數式反應式程式設計

  • 透過使用不同範式開發,提升應用程式的維護性

  • 使用 ReactiveCocoa 框架建立單元測試和自動化測試

  • 撰寫清晰易讀的程式碼

  • 熟悉將移動應用程式轉換為反應式程式設計的過程

  • 執行非同步呼叫並稍後合併它們

關於作者


Cecil Costa,在拉丁國家被稱為 Eduardo Campos,是一位歐洲巴西自由工作者,自 1990 年獲得第一台個人電腦(AT 286)以來,就一直在學習有關電腦的知識。從那時起,他不斷學習各種程式語言、電腦架構和計算機科學理論。學習是他的熱情,也是他從事培訓工作的原因,他曾為愛立信、羅氏、TVE(西班牙電視台)等公司提供現場課程培訓。如今,他也透過線上平台進行教學,幫助來自世界各地的人們。


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


在他的職業生涯中,他獨立開發了多個項目,也曾為 IBM、高通、西班牙彩票和 DIA% 等不同規模的公司工作。撰寫書籍是他的新熱情,他是 Packt Publishing 的《Swift Cookbook》的作者。


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


目前,Cecil 居住在英國曼徹斯特,並在那裡發展他的專業生涯,從事移動應用程式開發工作。