Swinject / Swinjectmvvmexample
Licence: mit
An example to use Swinject in MVVM architecture with ReactiveCococa
Stars: ✭ 301
Programming Languages
swift
15916 projects
Projects that are alternatives of or similar to Swinjectmvvmexample
Marvelheroes
❤️ A sample Marvel heroes application based on MVVM (ViewModel, Coroutines, LiveData, Room, Repository, Koin) architecture.
Stars: ✭ 826 (+174.42%)
Mutual labels: mvvm, dependency-injection, mvvm-architecture
Android Clean Architecture Mvvm Dagger Rx
Implemented by Clean Architecture, Dagger2, MVVM, LiveData, RX, Retrofit2, Room, Anko
Stars: ✭ 138 (-54.15%)
Mutual labels: sample-app, mvvm, mvvm-architecture
Iossampleapp
Sample iOS app demonstrating Coordinators, Dependency Injection, MVVM, Binding
Stars: ✭ 510 (+69.44%)
Mutual labels: mvvm, dependency-injection, mvvm-architecture
Kodein Mvvm
Example app using Kodein for dependency injection with MVVM and Architecture Components
Stars: ✭ 26 (-91.36%)
Mutual labels: mvvm, dependency-injection, mvvm-architecture
Flair
This is powerful android framework
Stars: ✭ 31 (-89.7%)
Mutual labels: mvvm, dependency-injection, mvvm-architecture
Harrypotter
🧙🏻 Sample HarryPotter application based on MVVM architecture (ViewModel, LiveData, Repository, Coroutines, Koin or Dagger-Hilt)
Stars: ✭ 116 (-61.46%)
Mutual labels: mvvm, dependency-injection, mvvm-architecture
Xaml Code Experiences
A collection of the experiences I have collected during days of Xamarin and Wpf, while following the MVVM design pattern.
Stars: ✭ 114 (-62.13%)
Mutual labels: mvvm, dependency-injection, mvvm-architecture
Wechat
🔥 iOS 利用MVVM + RAC + ViewModel-Based Navigation来搭建微信(WeChat 7.0.0+)的整体基本架构,以及实现微信朋友圈、通讯录、下拉小程序、搜索等主要功能,代码规范惊为天人、注释详解令人发指、细节处理精益求精、核心功能配备文档、接近98%还原度的原生App视觉体验,代码不多,注释多。(持续更新,敬请期待,欢迎Star和Fork…)
Stars: ✭ 870 (+189.04%)
Mutual labels: reactivecocoa, mvvm, mvvm-architecture
Clean Mvvm Archcomponents
👽 Android app consuming Star Wars API.Built with clean architecture ,MVVM pattern, Koin , Coroutines + Flows ,Architecture Components, Data Binding , Firebase , Unit/UI Tests ,Motion Layout
Stars: ✭ 285 (-5.32%)
Mutual labels: mvvm, mvvm-architecture
Kriptofolio
Free open source minimalistic cryptocurrencies portfolio app for Android.
Stars: ✭ 79 (-73.75%)
Mutual labels: dependency-injection, mvvm-architecture
MVVM-Sample
Swift MVVM Sample project. Made with ReactiveCocoa, Swinject and Routers
Stars: ✭ 21 (-93.02%)
Mutual labels: dependency-injection, mvvm
NoMansWallpaperApp
Looking for your next No Man's Sky wallpaper?
Stars: ✭ 35 (-88.37%)
Mutual labels: dependency-injection, mvvm-architecture
RxSwift-MVVM-iOS
SwiftMVVM is an sample iOS App written in Swift using the MVVM architecture.
Stars: ✭ 96 (-68.11%)
Mutual labels: sample-app, mvvm-architecture
NYTimes-iOS
🗽 NY Times is an Minimal News 🗞 iOS app 📱 built to describe the use of SwiftSoup and CoreData with SwiftUI🔥
Stars: ✭ 152 (-49.5%)
Mutual labels: dependency-injection, mvvm-architecture
Gakko
Gakko - The Classroom App
Stars: ✭ 14 (-95.35%)
Mutual labels: dependency-injection, mvvm-architecture
catchflicks
🎬 Kitchen sink project for learning android concepts 🎬
Stars: ✭ 12 (-96.01%)
Mutual labels: dependency-injection, mvvm-architecture
Football-App
⚽ Football App using MVVM, LiveData, RxJava2, DI, Room, Repository Patern
Stars: ✭ 17 (-94.35%)
Mutual labels: dependency-injection, mvvm
TVToday
iOS TV Shows app with TMDb Api. RxSwift, MVVM, Clean Architecture. Tuist + Swift Package Manager
Stars: ✭ 27 (-91.03%)
Mutual labels: dependency-injection, mvvm
socket-chat
This project will help you build a chat app by using the Socket IO library.
Stars: ✭ 36 (-88.04%)
Mutual labels: mvvm, mvvm-architecture
SwinjectMVVMExample
This is an example project to demonstrate dependency injection and Swinject in MVVM (Model-View-ViewModel) architecture with ReactiveCocoa. The app asynchronously searches, downloads and displays images obtained from Pixabay via its API.
Requirements
(Xcode 7 version with Swift 2.2 is here)
Setup
- Download the source code or clone the repository.
- Run
carthage bootstrap --no-use-binaries --platform iOS
. - Get a free API key from Pixabay. It is displayed in the API documentation page after you log in there.
- Create a text file named
Pixabay.Config.swift
with the following content inExampleModel
folder in the project. The string"YOUR_API_KEY"
should be replaced with your own key.
Pixabay.Config.swift
extension Pixabay {
internal struct Config {
internal static let apiKey = "YOUR_API_KEY"
}
}
Blog Posts
The following blog posts demonstrate step-by-step development of the project.
- Dependency Injection in MVVM Architecture with ReactiveCocoa Part 1: Introduction
- Dependency Injection in MVVM Architecture with ReactiveCocoa Part 2: Project Setup
- Dependency Injection in MVVM Architecture with ReactiveCocoa Part 3: Designing the Model
- Dependency Injection in MVVM Architecture with ReactiveCocoa Part 4: Implementing the View and ViewModel
- Dependency Injection in MVVM Architecture with ReactiveCocoa Part 5: Asynchronous Image Load
The following repository has a simplified version of SwinjectMVVMExample to exactly follow the blog posts.
yoichitgy/SwinjectMVVMExample_ForBlog
Icon Images
Icon images used in the app are licensed under Creative Commons Attribution-NoDerivs 3.0 Unported by Icons8.
License
MIT license. See the LICENSE file for details.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].