Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
113 changed files
with
153 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,74 +1 @@ | ||
# Created by http://www.gitignore.io | ||
|
||
### OSX ### | ||
.DS_Store | ||
.AppleDouble | ||
.LSOverride | ||
|
||
# Icon must end with two \r | ||
Icon | ||
|
||
|
||
# Thumbnails | ||
._* | ||
|
||
# Files that might appear on external disk | ||
.Spotlight-V100 | ||
.Trashes | ||
|
||
# Directories potentially created on remote AFP share | ||
.AppleDB | ||
.AppleDesktop | ||
Network Trash Folder | ||
Temporary Items | ||
.apdisk | ||
|
||
|
||
### Objective-C ### | ||
# Xcode | ||
# | ||
build/ | ||
*.pbxuser | ||
!default.pbxuser | ||
*.mode1v3 | ||
!default.mode1v3 | ||
*.mode2v3 | ||
!default.mode2v3 | ||
*.perspectivev3 | ||
!default.perspectivev3 | ||
xcuserdata | ||
*.xccheckout | ||
*.moved-aside | ||
DerivedData | ||
*.hmap | ||
*.ipa | ||
*.xcuserstate | ||
|
||
# CocoaPods | ||
Pods/ | ||
|
||
# Carthage | ||
Carthage | ||
Romefile | ||
|
||
#Fastlane | ||
fastlane/report.xml | ||
fastlane/Preview.html | ||
fastlane/screenshots | ||
fastlane/test_output | ||
screenshots | ||
|
||
#build output | ||
/outputs | ||
|
||
#Environment | ||
Environment/Current | ||
Environment/.current | ||
Environment/.environment_preprocess.h | ||
Environment/Environment.swift | ||
|
||
#generated files | ||
*/Model/Generated/* | ||
!*/Model/Generated/.gitkeep | ||
|
||
ContractCodegen/.build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
### Objective-C ### | ||
# Xcode | ||
# | ||
build/ | ||
*.pbxuser | ||
!default.pbxuser | ||
*.mode1v3 | ||
!default.mode1v3 | ||
*.mode2v3 | ||
!default.mode2v3 | ||
*.perspectivev3 | ||
!default.perspectivev3 | ||
xcuserdata | ||
*.xccheckout | ||
*.moved-aside | ||
DerivedData | ||
*.hmap | ||
*.ipa | ||
*.xcuserstate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# Created by http://www.gitignore.io | ||
|
||
### OSX ### | ||
.DS_Store | ||
.AppleDouble | ||
.LSOverride | ||
|
||
# Icon must end with two \r | ||
Icon | ||
|
||
|
||
# Thumbnails | ||
._* | ||
|
||
# Files that might appear on external disk | ||
.Spotlight-V100 | ||
.Trashes | ||
|
||
# Directories potentially created on remote AFP share | ||
.AppleDB | ||
.AppleDesktop | ||
Network Trash Folder | ||
Temporary Items | ||
.apdisk | ||
|
||
|
||
### Objective-C ### | ||
# Xcode | ||
# | ||
build/ | ||
*.pbxuser | ||
!default.pbxuser | ||
*.mode1v3 | ||
!default.mode1v3 | ||
*.mode2v3 | ||
!default.mode2v3 | ||
*.perspectivev3 | ||
!default.perspectivev3 | ||
xcuserdata | ||
*.xccheckout | ||
*.moved-aside | ||
DerivedData | ||
*.hmap | ||
*.ipa | ||
*.xcuserstate | ||
|
||
# CocoaPods | ||
Pods/ | ||
|
||
# Carthage | ||
Carthage | ||
Romefile | ||
|
||
#Fastlane | ||
fastlane/report.xml | ||
fastlane/Preview.html | ||
fastlane/screenshots | ||
fastlane/test_output | ||
screenshots | ||
|
||
#build output | ||
/outputs | ||
|
||
#Environment | ||
Environment/Current | ||
Environment/.current | ||
Environment/.environment_preprocess.h | ||
Environment/Environment.swift | ||
|
||
#generated files | ||
*/Model/Generated/* | ||
!*/Model/Generated/.gitkeep | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# iOS MVVM Project Template | ||
|
||
**This is just installation guide, for detailed description check [wiki](https://github.com/AckeeCZ/iOS-MVVM-ProjectTemplate/wiki).** | ||
|
||
## Installation | ||
|
||
### Prepare environment | ||
To use project template you will need Ruby [Bundler](http://bundler.io) and [Carthage](https://github.com/Carthage/Carthage). | ||
|
||
We recommend always running on latest Carthage version. Carthage could be installed by running | ||
|
||
```bash | ||
brew update | ||
brew install carthage | ||
``` | ||
|
||
Bundler should be a part of your Ruby installation. We recommend ruby version greater than 2.4.x. If you don't have bundler than it can be installed by running | ||
|
||
```bash | ||
sudo gem install bundler | ||
``` | ||
|
||
### Download template | ||
If you have your environment ready, **download content of this repo as [ZIP archive](https://github.com/AckeeCZ/iOS-MVVM-ProjectTemplate/archive/master.zip)** and unpack to folder where you want to have your new project (recommended). | ||
|
||
...or you can do standard git clone of course | ||
```bash | ||
git clone https://github.com/AckeeCZ/iOS-MVVM-ProjectTemplate.git | ||
``` | ||
In that case don't forget to remove `.git` directory after clone, otherwise you will have whole template history in your new repository. I guess you don't want that. | ||
```bash | ||
rm -rf .git | ||
``` | ||
|
||
### Project setup | ||
|
||
1. In the project root folder call | ||
```bash | ||
bundle install | ||
``` | ||
This will install all needed gems to run the skeleton and maintain their versions appropriately. | ||
|
||
2. rename template | ||
```bash | ||
bundle exec fastlane rename name:NewProject | ||
``` | ||
if the `name` argument is ommitted, the script will prompt for it. | ||
|
||
3. Run installation of cocoapods | ||
```bash | ||
bundle exec pod install | ||
``` | ||
|
||
4. Run carthage | ||
```bash | ||
carthage bootstrap --platform ios --cache-builds | ||
``` | ||
|
||
Now your new project is ready to use :tada: | ||
|
||
In the first place check `FirebaseAppDelegate.swift` and uncomment cofiguration code, it's easy to forget that and pretty hard to find afterwards :smirk: |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.