Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
Elixxir dApps SDK Swift
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mobile
iOS
Elixxir dApps SDK Swift
Merge requests
!19
Update example app
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Update example app
feature/example-app-landing
into
development
Overview
0
Commits
9
Pipelines
0
Changes
2
Merged
Update example app
Dariusz Rybicki
requested to merge
feature/example-app-landing
into
development
Aug 3, 2022
Overview
0
Commits
9
Pipelines
0
Changes
2
This MR updates the example app so it uses the new Bindings wrapper.
Present landing page with options to create or load cMix.
Allow removing cMix if stored.
Start/stop network follower.
Show network follower status.
Observe and display network health status.
Edited
Aug 3, 2022
by
Dariusz Rybicki
0
0
Merge request reports
Viewing commit
dd9c6b49
Prev
Next
Show latest version
2 files
+
10
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
dd9c6b49
Update ErrorFeature
· dd9c6b49
Dariusz Rybicki
authored
Aug 3, 2022
Example/example-app/Sources/ErrorFeature/ErrorFeature.swift
+
2
−
4
View file @ dd9c6b49
Edit in single-file editor
Open in Web IDE
Show full file
import
ComposableArchitecture
import
SwiftUI
import
XCTestDynamicOverlay
public
struct
ErrorState
:
Equatable
{
public
init
(
error
:
NSError
)
{
@@ -17,8 +17,6 @@ public struct ErrorEnvironment {
public
let
errorReducer
=
Reducer
<
ErrorState
,
ErrorAction
,
ErrorEnvironment
>.
empty
#if DEBUG
extension
ErrorEnvironment
{
public
static
let
failing
=
ErrorEnvironment
()
public
static
let
unimplemented
=
ErrorEnvironment
()
}
#endif
Loading