舉報(bào)

會(huì)員
Reactive Programming with Swift 4
ThisbookisforthedeveloperswhoarefamiliarwithSwiftandiOSapplicationdevelopmentandarelookingouttoreducethecomplexityoftheirapps.Priorexperienceofreactiveprogrammingisnotnecessary.
最新章節(jié)
- Leave a review - let other readers know what you think
- Other Books You May Enjoy
- Summary
- Some other cool libraries
- Build and run
- Binding fetched data to View elements
品牌:中圖公司
上架時(shí)間:2021-06-24 17:58:43
出版社:Packt Publishing
本書數(shù)字版權(quán)由中圖公司提供,并由其授權(quán)上海閱文信息技術(shù)有限公司制作發(fā)行
- Leave a review - let other readers know what you think 更新時(shí)間:2021-06-24 18:58:30
- Other Books You May Enjoy
- Summary
- Some other cool libraries
- Build and run
- Binding fetched data to View elements
- Fetching and parsing data
- Project implementation
- Project setup
- Networking in RxSwift
- Finish a Real-World Application
- Summary
- MVC implementation
- The controller
- The view
- The model
- Model view controller – MVC
- Notifications – Implementation
- Notifications
- KVC – Implementation
- Key value coding (KVC)
- Singleton design pattern – Pros and cons
- Implementation
- Singleton design pattern
- Design patterns
- Functional and Reactive App-Architecture
- Summary
- onErrorRecover
- onErrorDriveWith
- onErrorJustReturn
- The retry operator
- The catchError operator
- The catchErrorJustReturn operator
- Error handling
- Subscribe to Errors and Save Your App
- Summary
- OperationQueueScheduler
- SerialDispatchQueueScheduler
- ConcurrentDispatchQueueScheduler
- Schedulers in practice
- Specifying a scheduler
- Scheduler Singletons
- Queues and schedulers
- Schedule Your Tasks Don't Queue!
- Summary
- Testing asynchronous code
- Debugging with total
- Debugging with debug
- Tracking down issues – Debugging Rx code
- Testing Your RxCode – Testing Asynchronous Code
- Summary
- Testing with RxBlocking
- RxBlocking
- Testing in RxTest with ColdObservables
- Testing in practice with HotObservables
- RxTest
- Testing in RxSwift
- RxTest and Custom Rx Extensions – Testing with Rx
- Summary
- Binding UICollectionViews
- Selecting a row in TableView
- Configuring cell rows in a TableView
- Binding UITableViews
- Binding data to UI
- Binding UI elements in practice
- ControlEvent
- ControlProperty
- Driver
- Types of RxCocoa traits
- RxCocoa traits
- React to UI Events – Start Subscribing
- Summary
- Building the app
- Setting the project
- doOn in action
- Performing side effects
- Introducing zip
- Combining elements of different types
- Merging
- Concatenating and prefixing
- Project setup
- Combining and filtering Observable sequences
- Reduce by Combining and Filtering and Common Trade Offs
- Summary
- The takeWhile operator
- The distinctUntilChanged operator
- The filter operator
- Filtering operators
- Buffer
- Scan
- Scan reduce and buffer
- flatMap and flatMapLatest in action
- Transforming operators
- Environment setup
- Working with events using operators
- Filter Transform and Simplify
- Summary
- The maybe trait
- The completable trait
- The single trait
- Different types of trait
- What are traits?
- Understanding traits and its types
- Variable in action
- ReplaySubject in action
- BehaviorSubject in action
- PublishSubject in action
- Different types of subject
- Getting started
- Project setup
- Creating and subscribing to Observables
- When to Become Reactive?
- Summary
- Functional programming to the rescue
- Steps to set up
- Setting up
- Let's get started – The Login page
- Installing RxSwift with Carthage
- Installing RxSwift
- RxSwift with CocoaPods
- Setting up the environment
- Let's build the environment first
- RxSwift in action
- Set up RxSwift and Convert a Basic Login App to its RxSwift Counterpart
- Summary
- Railway-oriented programming
- Schedulers
- Marble diagrams
- Subject
- Observable
- Reactive extensions
- RxSwift foundation
- Immutability
- Side effects
- State
- Event streams
- Basic building blocks
- Reactive programming
- Functional programming
- Imperative programming
- What is functional reactive programming (FRP)?
- Functional reactive programming
- FRP Fundamentals Terminology and Basic Building Blocks
- Summary
- Using Carthage/CocoaPods projects
- Known migration issues
- After migration
- Default parameter values must be public
- Adding tuple destructuring
- Differentiating between single-tuple and multiple-argument function types
- New String
- Notable special cases
- SDK changes
- Swift 4 migration changes overview
- Swift migration assistant
- Preparation before migration
- Migrating to Swift 4
- Directly access unicode scalars of characters
- Improved NSNumber
- swap versus swapAt
- Pattern matching with one sided ranges.
- One sided ranges
- Smart key paths
- Multiline String literals
- JSON encoding and decoding
- What's new
- Access modifiers
- Changed interpretation of grapheme clusters
- String protocol
- Bid bye to string.characters
- Changes/improvements in Strings
- Reserving capacity
- Resolving duplicates
- Convert arrays to Dictionary
- Convert tuples to Dictionary
- Key-based subscript with default value
- Grouping initializer
- Changes/improvements in Dictionary
- What’s changed?
- Setting up the environment
- What's new in Swift 4?
- Migrating from Swift 3 to Swift 4
- Reviews
- Get in touch
- Conventions used
- Download the color images
- Download the example code files
- To get the most out of this book
- What this book covers
- Who this book is for
- Preface
- Packt is searching for authors like you
- About the reviewer
- About the author
- Contributors
- PacktPub.com
- Why subscribe?
- Packt Upsell
- Title Page
- coverpage
- 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