🚀 A seamless framework for build app from MVC, MVVM, VIPER (etc.) design pattern in iOS world. (OC & Swift)
🚀 A seamless framework for build app from MVC, MVVM, VIPER (etc.) design pattern in iOS world. (OC & Swift)
🍺 Thanks VIPER!
see Lego-swift
XFLegoVIPER 4.x
is now available (July 2017). 🎉 It's now add Swift (all version) language support. 🎉
To integrate XFLegoVIPER into your Xcode project using CocoaPods, specify it in your Podfile:
platform :ios, '8.0'
use_frameworks! # for Swift!!!
target '<Your Target Name>' do
pod 'XFLegoVIPER', '~> 4.0'
end
use_frameworks!
in your Podfile
import XFLegoVIPER
#import <XFLegoVIPER/XFLegoVIPER.h>
(or with Modules enabled: @import XFLegoVIPER;
)use_frameworks!
in your Podfile
#import "XFLegoVIPER.h"
to your bridging header.#import "XFLegoVIPER.h"
Now you can use template file to create a module which make of stuff class as fast as possible.
Too complicated? See Video
Xcode templates can be found in the repository's /Template/Architecture
folder. To install them, open your terminal and run:
cd PATH/TO/REPO
mkdir -p ~/Library/Developer/Xcode/Templates/
cp -R Template/Architecture ~/Library/Developer/Xcode/Templates/
New File...
VIPER
or MVVM
itemcreate
actionwe have blue folder under select group, what's wrong? Let's fix it:
Show in Finder
Delete
->Remove References
OK! It Work!
see change log
iOS Architecture Patterns English | Chinese
Architecting iOS Apps with VIPER English | Chinese
yizzuide, [email protected]
QQ Group:450518005
This project exists thanks to all the people who contribute. [Contribute].
Become a financial contributor and help us sustain our community. [Contribute]
Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]
XFLegoVIPER is available under the MIT license. See the LICENSE file for more info.