All Projects β†’ egabor β†’ mvcvm-swift-file-templates

egabor / mvcvm-swift-file-templates

Licence: GPL-3.0 License
Swift file templates for boosting mobile app development.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to mvcvm-swift-file-templates

Mp3ID3Tagger
🎢🎡A macOS application to edit the ID3 tag of your mp3 files. Developed with RxSwift and RxCocoa. 🎸🎼
Stars: ✭ 17 (+6.25%)
Mutual labels:  reactive, rxswift, mvvm
Rxasdatasources
RxDataSource for AsyncDisplayKit/Texture
Stars: ✭ 114 (+612.5%)
Mutual labels:  reactive, rxswift, tableview
Sensor
A fresh look at iOS development
Stars: ✭ 37 (+131.25%)
Mutual labels:  reactive, rxswift
SwiftObserver
Elegant Reactive Primitives for Clean Swift Architecture #NoRx
Stars: ✭ 14 (-12.5%)
Mutual labels:  reactive, rxswift
RxSwiftDemo
RxSwift Demo
Stars: ✭ 19 (+18.75%)
Mutual labels:  rxswift, mvvm
Reactorkit
A library for reactive and unidirectional Swift applications
Stars: ✭ 2,237 (+13881.25%)
Mutual labels:  reactive, rxswift
Recaptcha
[In]visible ReCaptcha v2 for iOS
Stars: ✭ 208 (+1200%)
Mutual labels:  reactive, rxswift
TVToday
iOS TV Shows app with TMDb Api. RxSwift, MVVM, Clean Architecture. Tuist + Swift Package Manager
Stars: ✭ 27 (+68.75%)
Mutual labels:  rxswift, mvvm
Mdtable
A data-driven UITableView framework
Stars: ✭ 153 (+856.25%)
Mutual labels:  reactive, tableview
Cathay
an iOS project for demonstration of Reactive Programming
Stars: ✭ 21 (+31.25%)
Mutual labels:  rxswift, mvvm
ios-architecture-example
Architecture pattern simple examples in iOS. You can compare differences in MVC, MVP, MVVM-Delegate and MVVM-Rx for same feature
Stars: ✭ 16 (+0%)
Mutual labels:  rxswift, mvvm
mvvm-with-rxswift-mentoring-008
Project and source code of the iOS Dev Mentoring #008 - Test-driven MVVM with RxSwift
Stars: ✭ 45 (+181.25%)
Mutual labels:  rxswift, mvvm
Rxgrdb
Reactive extensions for SQLite
Stars: ✭ 176 (+1000%)
Mutual labels:  reactive, rxswift
Rxiglistkit
IGListKit with RxSwiftπŸš€
Stars: ✭ 174 (+987.5%)
Mutual labels:  reactive, rxswift
ReactiveAPI
Write clean, concise and declarative network code relying on URLSession, with the power of RxSwift. Inspired by Retrofit.
Stars: ✭ 79 (+393.75%)
Mutual labels:  reactive, rxswift
Rxrealmdatasources
An easy way to bind an RxRealm observable to a table or collection view
Stars: ✭ 154 (+862.5%)
Mutual labels:  reactive, tableview
MVVM-Sample
Swift MVVM Sample project. Made with ReactiveCocoa, Swinject and Routers
Stars: ✭ 21 (+31.25%)
Mutual labels:  reactive, mvvm
Combine Mvvm
Sample project with Combine & UIKit framework, MVVM architecture
Stars: ✭ 132 (+725%)
Mutual labels:  reactive, mvvm
Reduxmoviedb
πŸŽ₯ See the upcoming movies! ReSwift + RxSwift πŸ’– Hacktoberfest πŸŽƒ
Stars: ✭ 137 (+756.25%)
Mutual labels:  reactive, rxswift
GITGET
GitHub의 Contributionsλ₯Ό iOS의 Widget으둜 λ³΄μ—¬μ£ΌλŠ” App
Stars: ✭ 101 (+531.25%)
Mutual labels:  rxswift, mvvm

iOS Swift File Templates for Xcode using Feel the power of RxSwift. RxSwift, RxCocoa and RxDataSources

About this project

These templates are designed to speed up and make the iOS development so much easier by eliminating the repeating processes and making your code better organized.

Dependencies

The templates are using some reactive libraries such as RxSwift, RxCocoa and RxDataSources.

Usage

Installing

To install the templates run the install-templates.sh script in the terminal.

./install-templates.sh

Uninstalling

If you'd like to remove the previously installed templates run the uninstall-templates.sh script.

./uninstall-templates.sh

Updating

For updating the templates you must remove them first, then run the install script.

./uninstall-templates.sh
./install-templates.sh

Preparing your project

Add these pods to your Xcode project:

pod 'RxSwift',    '~> 4.1.1'
pod 'RxCocoa',    '~> 4.1.1'
pod 'RxDataSources', '~> 3.0.2'

You also have to add the files from TableView Requirements template.

Just press CMD + N or right click on your source files in Xcode and select New file....

Scoll down to MV[C]VM - Utilities section and select TableView Requirements. Then click on Next and Create.

Now you're done and you can use all the templates.

Adding the TableView Requirements

With these easy steps you can make a list presenting some data:

STEP 1
  • Add a Cell with Model from the previously installed templates.

  • Add the necessary properties to your model.

  • Add an init() method to the model and pass these properties as parameters.

STEP 2
  • Add properties (Variable types) to the viewmodel which going to be connected with the cell's outlets.
  • In the viewmodel there'll be a variable var model with the same type of the model. This variable will have a didSet method. Update the viewmodel properties here.
STEP 3
  • Create the outlets in the cell. (Not required in this example.)
  • Bind the cell's outlets with the viewmodel's properties in the setUpBindings() method.
STEP 4
  • Add a TableView-IH with [multi sections] from the previously installed templates.
  • Fill the ViewController's viewmodel with some data (sections property).
STEP 5
  • Add a UITableViewController to the storyboard and set its class.
  • Set the entry point.
  • Add a prototype cell to the tableview and set its class and the reuseidentifier.
  • Also add the necassary outlets and constraints to the cell. (Not required in this example.)
  • Connect these outlets with the code. (Not required in this example.)
FINAL STEP
  • Build and run. πŸŽ‰
Video tutorial

Examples

Donations

All donations are appreciated. ❀️

  • BTC address: 127tUY5nWP3ucv6uweion1cCGeraEXsfzV

  • ETH address: 0x53510eB7E2C683E28ecefEfc0B0a887227ed3da6

Don't forget to leave a star here. πŸ˜€πŸ‘

Meaning of emojis used in commit messages

Commit Type Emoji
Initial Commit πŸŽ‰ Party Popper
Metadata πŸ”– Bookmark
New Feature ✨ Sparkles
Bugfix πŸ› Bug
Version tag 🎟️ Admission Tickets
Refactoring ♻️ Black Universal Recycling Symbol
Documentation πŸ“š Books
Internationalization 🌐 Globe With Meridians
Performance 🐎 Horse
Cosmetic 🎨 Artist Palette
Tooling πŸ”§ Wrench
Tests 🚨 Police Cars Revolving Light
Deprecation πŸ’© Pile of Poo
Removal πŸ—‘οΈ Wastebasket
Work In Progress (WIP) 🚧 Construction Sign
Lint πŸ‘• :shirt:
Translation πŸ‘½ :alien:
Critical hotfix πŸš‘ :ambulance:
Accessibility β™Ώ :wheelchair:
Code review changes πŸ‘Œ :ok_hand:
Analytics or tracking code πŸ“ˆ :chart_with_upwards_trend:
Removing a dependency βž– :heavy_minus_sign:
Adding a dependency βž• :heavy_plus_sign:
Security πŸ”’ :lock:
General update ⚑ :zap:
Text πŸ“ :pencil:
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].