• Stars
    star
    102
  • Rank 328,549 (Top 7 %)
  • Language
    Swift
  • Created over 6 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Xcode 10 Template For MVVM

MVVM-AC

Platform License

MVVM-AC

A MVVM Swift XCode Template to use as a starting point for an iOS apps.

Example How to Use

Introduction

From building a prototype, development app, to a full blown production app, MVVM-AC was developed with a goal to improve development time faster, streamline development, reduce development, and ensure the long term flexibility of the project from prototype to production. Easy to use for junior or senior iOS Developer

Over the years developing, my approach to the development has drastically changed, but one thing hasn't, the project lead always needs to be aware of the architecture, configure the environment as such, and ensure the application's architecture can evolve over time.

Features

MVVM-AC provides a solid starting point for a new project by providing some up front environment configuration such as:

  • Configured Project Scaffolding
  • Default Frameworks, via Podfile
  • Support Storyboard, Xib, or Fullcode Generator
  • Support internet checker, server error state, alert message, loading state
  • More sample code
  • On progress any update

MVVM-AC also makes it easy extend on the project structure by providing some file templates that the base layer making it easy to integrate into the architecture w/ some guided comments as needed.

  • Auto Generate - ViewController.
  • Auto Generate Services Layer - Networked & Standalone
  • Auto Generate Model
  • Auto Generate ViewModel
  • Auto Generate Protocol
  • Many more to come ...

screen shot 2018-09-13 at 10 44 23

Installation

Method 1 :

  1. Clone the MVVM-AC Repository into your developer folder
  2. Copy MVVm-AC-Template Folder into ~/Library/Developer/Xcode/Templates/.
  3. Required cocoapods libs Alamofire as default

Method 2 :

Clone the MVVM-AC Repository & run:

sudo swift install.swift

Added Function

Xcode should now contain the MVVM-AC template in as a default when creating a new project for iOS.

Create Project

It's as simple as selecting the MVVM-AC template, and following the usual process in creating a new project. Once created, the project will ask to input Model name and View Type (Storyboard, Xib File, or Fullcode) to generate a pre-configured scaffolding as follows.

After the project has been created, the first step is to download, and install, the latest frameworks by navigating to the project's root directory, and running the following command:

// iOS
pod init or
pod install  `when you ready init pod library`

The last step to perform is to build (⌘B) the project in Xcode, with an expected failure on the first try, and a successful one on the next.

More Repositories

1

AutoCompleteAddressMaps

Auto Complete Address Google Maps Using UISearchBar
Swift
39
star
2

Google-Maps-Direction

Google Maps Direction
Swift
39
star
3

Swift-MVP

Sample Project Using MVP on iOS With Swift 3
Swift
23
star
4

ShakeEnvironment

Shake To Change Scheme or Environment Project
Swift
20
star
5

SI-Sekolah-L5

SI / Website Sekolah Menggunakan Laravel 5
JavaScript
15
star
6

WhatsBro

WhatsApp Clone Using SwiftUI
Swift
11
star
7

Google-Place-Auto-Complete

Google Place Auto Complete Using Swift 4 (updated)
Swift
10
star
8

DOT-Boilerplate

Boilerplate MVVM For Starting Project
Swift
10
star
9

MiniPedia

Simple Ecommerce app (no checkout proccess) build with swift and inspired from Tokopedia UI/UX
Swift
7
star
10

NoticeLoader

Simple notice alert and loader for your view controller. Inspired From https://github.com/johnlui/SwiftNotice
Swift
7
star
11

Fold-Menu-iOS

Fold Menu iOS with Swift
Swift
5
star
12

Sility-Resume-HTML

Sility - vCard, CV & Resume HTML Template
CSS
5
star
13

ExpandableList

Expandable List Using UITableView
Swift
4
star
14

realm-crud-swift

Realm Crud With Swift
Swift
4
star
15

aksarajawagenerator

aksara jawa generator with Aries PHP Framework
PHP
3
star
16

VIPERX

VIPERX - Multiple Interface Choice Viper XCode Template
Swift
3
star
17

FlipBoard-Swift

Sample Flpboard with MAOFlipViewController
Objective-C
3
star
18

Dota-Hero-List

Dota Hero List iOS
Swift
3
star
19

Viper-News

Implement Viper Architecture
Swift
3
star
20

medium-clone

Medium Clonse With React Native
JavaScript
3
star
21

KodingSehatQ

Swift
3
star
22

material-components

Material Components
Swift
2
star
23

balitax-labs

balitax labs
JavaScript
2
star
24

SIC

Sistem Informasi Cerdas UKM UIN Malang
PHP
2
star
25

Daftar-Antrian-Haji

iOS Aplikasi Daftar Antrian Haji MVVM + RXSwift
Swift
2
star
26

sqliteSample-Swift

Sample Project iOS Swift Using SQLite
Swift
2
star
27

kodepath

PHP
1
star
28

AloBasta

Alo Basta Sample Project
Swift
1
star
29

belajar

Belajar Code Igniter Dasar
PHP
1
star
30

laravel-cloudinary

Memanfaatkan Cloudinary Sebagai CDN Image
PHP
1
star
31

SI-Nilai

Sistem Informasi Nilai Untuk Sekolah Menengah Atas
PHP
1
star
32

Laravel-Panel

JavaScript
1
star
33

sinau-react-native

Belajar React Native Dari Udemy
JavaScript
1
star
34

Shake-Login

Shake Login Animate When TextField Empty Using Swift CABasicAnimation
Swift
1
star
35

Chat-UI

inProgress develop UI Chat
Swift
1
star
36

Daftar-Mahasiswa-iOS

Aplikasi iOS Sederhana Daftar Mahasiswa
Swift
1
star
37

balitax.github.io

Personal Blog and Pages Agus Cahyono On Github
HTML
1
star