Giter Site home page Giter Site logo

mvvm-ac's Introduction

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.

mvvm-ac's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.