ViewInspector
MVVM.Demo.SwiftUI
ViewInspector | MVVM.Demo.SwiftUI | |
---|---|---|
3 | 30 | |
2,054 | 311 | |
- | - | |
8.6 | 5.3 | |
18 days ago | 12 days ago | |
Swift | Swift | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ViewInspector
-
What design patterns exist and which should I learn for SwiftUI?
Unfortunately there is no Apple made built-in way to unit-test SwiftUI views but we are using ViewInspector package for that and inject data / model through environmentObject or AppStorage or FetchRequest or whatever mechanism the view is using. Once you embrace ViewInspector, injecting data into the view is not a big deal.
-
SwiftUI unit tests FTW
I'm so thankful for ViewInspector https://github.com/nalexn/ViewInspector which makes it possible.
-
Top swift libraries and why?
ViewInspector is a great library for testing SwiftUI views, without the heavy lifting of XCUI tests. You can quickly test view state changes, assert view colors or fonts etc. Almost any property can be tested, so that you know a view behaves as it should.
MVVM.Demo.SwiftUI
-
Only one instance of ViewModel in MVVM?
SwiftUI: https://github.com/jasonjrr/MVVM.Demo.SwiftUI
- SwiftUI Structure and Architecture
- New to mobile dev, recommended pattern?
- What design patterns exist and which should I learn for SwiftUI?
-
Easier navigation in SwiftUI with coordinators
The take a look at this project to see it in action: https://github.com/jasonjrr/MVVM.Demo.SwiftUI
- Best GitHub starter project for IOs App
-
How to send data between ViewModels in SwiftUI?
If you’re reading this /u/MosyCZ, and would like to learn more about dependency injection you should check out this project https://github.com/jasonjrr/MVVM.Demo.SwiftUI
-
Good methods for learning architecture/design patterns?
This is a SwiftUI demo app I created follow this architecture. I use it to interview and train devs of all levels. https://github.com/jasonjrr/MVVM.Demo.SwiftUI
- SwiftUI app architecture - any recommended online resources?
- How to make protocol conformances faster with an order file
What are some alternatives?
UI Testing Cheat Sheet - How do I test this with UI Testing?
swift-composable-architecture - A library for building applications in a consistent and understandable way, with composition, testing, and ergonomics in mind.
Kif - Keep It Functional - An iOS Functional Testing Framework
swiftui-navigation - Tools for making SwiftUI navigation simpler, more ergonomic and more precise.
EarlGrey - :tea: iOS UI Automation Test Framework
mvvmc-demo - Sample code from MVVM-C In Practice Talk
robotframework-appiumlibrary - AppiumLibrary is an appium testing library for RobotFramework
open-source-ios-apps - :iphone: Collaborative List of Open-Source iOS Apps
Floater_ - Add a floating fingertip to your app demo. www.buglife.com
FlowStacks - FlowStacks allows you to hoist SwiftUI navigation and presentation state into a Coordinator
Cucumber - A home for issues that are common to multiple cucumber repositories
ControlRoom - A macOS app to control the Xcode Simulator.