Skip to content

Simple Counter examples for SwiftRex (SwiftUI+Combine and UIKit+RxSwift)

License

Notifications You must be signed in to change notification settings

SwiftRex/Examples-Counter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwiftRex Counter Examples

In this repository:

  • Counter.xcworkspace: Main workspace containing both projects.
  • Counter.UIKit: UIKit example using RxSwift (RxSwiftRex)
  • Counter.SwiftUI: SwiftUI example using Combine (CombineRex)

Both examples share:

  • Dependency injection (World.swift)
  • Log logic (LoggerMiddleware.swift)
  • AppState, AppAction, Reducers and Middlewares (AppModule.swift)
  • Counter View Model (CounterViewModel.swift)

The exclusive code:

  • Store class (Store.swift)
  • SwiftUI View / UIViewController + Storyboard

About

Simple Counter examples for SwiftRex (SwiftUI+Combine and UIKit+RxSwift)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages