Example project with UITabBarController inside UISplitViewController using RxSwift and MVVM-C architecture.
Loads example data from JSONPlaceholder
- Xcode 12
- Swift 5
- iOS 12
Example project with UITabBarController inside UISplitViewController using RxSwift and MVVM-C architecture.
Example project with UITabBarController inside UISplitViewController using RxSwift and MVVM-C architecture.
Loads example data from JSONPlaceholder
Hello, first thank you very much for share you idea about MVVM-C!
I would like to use this approach, but I face such problem like handling coordination result when I push some view controller inside of navigation stack. If I would use present(_ viewControllerToPresent) of second view controller, I will handle cancel tab bar item action and emit some event likes CoordinationResult.cancel, but how I should handle situation with pushing?
Hello, i'm back to this project after some time but have question about reacting between coordinators. How would you solve situation when i have my button clicked on some Coordinator1(VC-button > binded to viewModel), and i'd like to refresh let's say counting by +1 on another coordinator Coordinator2(VC-countingLabel > binded to viewModel)? This is first case, second one is when coordinators are deeper nested for example: Coordinator1 and Coordinator4 (1/2, 1/4 are nesting levels). So my only ideas are: via dependency, delegates (not the best option i suppose).
Thanks for any reply :)
Hi @mgacy
Can you please help me with the migration from Storyboard to the view code. In the Reusable.swift file, how should I modify the instance() and instantiateViewController<T: UIViewController>() functions to migrate from using storyboard to using view code.
Thank you
Hello, first of all thank you for this "template", it's been very useful for me, but there is one issue with memory leak/retains. TabBarCoordinator did not deallocate at all with its descendants, when i'm loggin out it stays in memory, and loggin back create TabBarCoordinator again and again. I'm trying to figured it out but no clue at this point, any help? Thanks
Hi @mgacy
In order to make my api work, I need to store access token which I get after calling login api. I am storing this access token in the UserStorageManager. Now, I need to use this token in every request (except Login and Signup requests)
For this to work, I would need to somehow obtain access token inside ApiClient, so that I can add it to the configuration of SessionManager. So, I have 2 questions regarding the same:
Thank you.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.