首頁(yè) > 計(jì)算機(jī)網(wǎng)絡(luò) >
編程語(yǔ)言與程序設(shè)計(jì)
> Reactive Programming with Swift 4最新章節(jié)目錄
舉報(bào)

會(huì)員
Reactive Programming with Swift 4
ThisbookisforthedeveloperswhoarefamiliarwithSwiftandiOSapplicationdevelopmentandarelookingouttoreducethecomplexityoftheirapps.Priorexperienceofreactiveprogrammingisnotnecessary.
目錄(200章)
倒序
- coverpage
- Title Page
- Packt Upsell
- Why subscribe?
- PacktPub.com
- Contributors
- About the author
- About the reviewer
- Packt is searching for authors like you
- Preface
- Who this book is for
- What this book covers
- To get the most out of this book
- Download the example code files
- Download the color images
- Conventions used
- Get in touch
- Reviews
- Migrating from Swift 3 to Swift 4
- What's new in Swift 4?
- Setting up the environment
- What’s changed?
- Changes/improvements in Dictionary
- Grouping initializer
- Key-based subscript with default value
- Convert tuples to Dictionary
- Convert arrays to Dictionary
- Resolving duplicates
- Reserving capacity
- Changes/improvements in Strings
- Bid bye to string.characters
- String protocol
- Changed interpretation of grapheme clusters
- Access modifiers
- What's new
- JSON encoding and decoding
- Multiline String literals
- Smart key paths
- One sided ranges
- Pattern matching with one sided ranges.
- swap versus swapAt
- Improved NSNumber
- Directly access unicode scalars of characters
- Migrating to Swift 4
- Preparation before migration
- Swift migration assistant
- Swift 4 migration changes overview
- SDK changes
- Notable special cases
- New String
- Differentiating between single-tuple and multiple-argument function types
- Adding tuple destructuring
- Default parameter values must be public
- After migration
- Known migration issues
- Using Carthage/CocoaPods projects
- Summary
- FRP Fundamentals Terminology and Basic Building Blocks
- Functional reactive programming
- What is functional reactive programming (FRP)?
- Imperative programming
- Functional programming
- Reactive programming
- Basic building blocks
- Event streams
- State
- Side effects
- Immutability
- RxSwift foundation
- Reactive extensions
- Observable
- Subject
- Marble diagrams
- Schedulers
- Railway-oriented programming
- Summary
- Set up RxSwift and Convert a Basic Login App to its RxSwift Counterpart
- RxSwift in action
- Let's build the environment first
- Setting up the environment
- RxSwift with CocoaPods
- Installing RxSwift
- Installing RxSwift with Carthage
- Let's get started – The Login page
- Setting up
- Steps to set up
- Functional programming to the rescue
- Summary
- When to Become Reactive?
- Creating and subscribing to Observables
- Project setup
- Getting started
- Different types of subject
- PublishSubject in action
- BehaviorSubject in action
- ReplaySubject in action
- Variable in action
- Understanding traits and its types
- What are traits?
- Different types of trait
- The single trait
- The completable trait
- The maybe trait
- Summary
- Filter Transform and Simplify
- Working with events using operators
- Environment setup
- Transforming operators
- flatMap and flatMapLatest in action
- Scan reduce and buffer
- Scan
- Buffer
- Filtering operators
- The filter operator
- The distinctUntilChanged operator
- The takeWhile operator
- Summary
- Reduce by Combining and Filtering and Common Trade Offs
- Combining and filtering Observable sequences
- Project setup
- Concatenating and prefixing
- Merging
- Combining elements of different types
- Introducing zip
- Performing side effects
- doOn in action
- Setting the project
- Building the app
- Summary
- React to UI Events – Start Subscribing
- RxCocoa traits
- Types of RxCocoa traits
- Driver
- ControlProperty
- ControlEvent
- Binding UI elements in practice
- Binding data to UI
- Binding UITableViews
- Configuring cell rows in a TableView
- Selecting a row in TableView
- Binding UICollectionViews
- Summary
- RxTest and Custom Rx Extensions – Testing with Rx
- Testing in RxSwift
- RxTest
- Testing in practice with HotObservables
- Testing in RxTest with ColdObservables
- RxBlocking
- Testing with RxBlocking
- Summary
- Testing Your RxCode – Testing Asynchronous Code
- Tracking down issues – Debugging Rx code
- Debugging with debug
- Debugging with total
- Testing asynchronous code
- Summary
- Schedule Your Tasks Don't Queue!
- Queues and schedulers
- Scheduler Singletons
- Specifying a scheduler
- Schedulers in practice
- ConcurrentDispatchQueueScheduler
- SerialDispatchQueueScheduler
- OperationQueueScheduler
- Summary
- Subscribe to Errors and Save Your App
- Error handling
- The catchErrorJustReturn operator
- The catchError operator
- The retry operator
- onErrorJustReturn
- onErrorDriveWith
- onErrorRecover
- Summary
- Functional and Reactive App-Architecture
- Design patterns
- Singleton design pattern
- Implementation
- Singleton design pattern – Pros and cons
- Key value coding (KVC)
- KVC – Implementation
- Notifications
- Notifications – Implementation
- Model view controller – MVC
- The model
- The view
- The controller
- MVC implementation
- Summary
- Finish a Real-World Application
- Networking in RxSwift
- Project setup
- Project implementation
- Fetching and parsing data
- Binding fetched data to View elements
- Build and run
- Some other cool libraries
- Summary
- Other Books You May Enjoy
- Leave a review - let other readers know what you think 更新時(shí)間:2021-06-24 18:58:30
推薦閱讀
- MySQL數(shù)據(jù)庫(kù)應(yīng)用與管理 第2版
- MATLAB應(yīng)用與實(shí)驗(yàn)教程
- Scala編程實(shí)戰(zhàn)(原書(shū)第2版)
- Swift細(xì)致入門(mén)與最佳實(shí)踐
- Scala程序員面試算法寶典
- SQL經(jīng)典實(shí)例(第2版)
- R語(yǔ)言與網(wǎng)絡(luò)輿情處理
- SQL 經(jīng)典實(shí)例
- 代碼閱讀
- uni-app跨平臺(tái)開(kāi)發(fā)與應(yīng)用從入門(mén)到實(shí)踐
- Instant jQuery Boilerplate for Plugins
- 零基礎(chǔ)學(xué)C++(升級(jí)版)
- 基于GPU加速的計(jì)算機(jī)視覺(jué)編程:使用OpenCV和CUDA實(shí)時(shí)處理復(fù)雜圖像數(shù)據(jù)
- LabVIEW入門(mén)與實(shí)戰(zhàn)開(kāi)發(fā)100例(第4版)
- 零基礎(chǔ)學(xué)編程系列(全5冊(cè))
- React and React Native
- 劍指大數(shù)據(jù):企業(yè)級(jí)電商數(shù)據(jù)倉(cāng)庫(kù)項(xiàng)目實(shí)戰(zhàn)(精華版)
- JSP編程教程
- 深入理解Android網(wǎng)絡(luò)編程:技術(shù)詳解與最佳實(shí)踐
- 敏捷開(kāi)發(fā)的藝術(shù)
- JavaScript for .NET Developers
- 信息無(wú)障礙:提升用戶體驗(yàn)的另一種視角
- Java+OpenCV高效入門(mén)
- Python深度學(xué)習(xí)從零開(kāi)始學(xué)
- 教孩子學(xué)Python編程
- Elasticsearch Indexing
- 亮劍Java項(xiàng)目開(kāi)發(fā)案例導(dǎo)航
- RavenDB 2.x Beginner's Guide
- Building Web Apps with Spring 5 and Angular
- 游戲服務(wù)器架構(gòu)與優(yōu)化