https://github.com/lemberg/ios-project-template
https://github.com/lemberg/ios-project-template
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/lemberg/ios-project-template
- Owner: lemberg
- License: mit
- Created: 2015-06-25T08:22:29.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-07-01T08:09:00.000Z (almost 11 years ago)
- Last Synced: 2024-12-27T11:14:16.506Z (over 1 year ago)
- Language: Objective-C
- Size: 110 KB
- Stars: 3
- Watchers: 18
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ios-project-template
####Steps to setup iOS(objective-c) new project
1. Clone XCode Project structure
`git clone git@github.com:lemberg/ios-project-template.git
cd ios-project-template/ProjectTemplate
git pull origin master`
2. Create empty "Single View Project" with custom name `YourProjectName` and `Bundle Id`
Inside project remove all files from subgroup `YourProjectName`(move all files to the Trash)
3. Go to `ios-project-template/ProjectTemplate` directory
Drag and drop files `.gitignore, Podfile, Classes/, Resources/, Vendors/` to your project
inside directory `YourProjectName/` and select checkbox `Copy Items if Needed` and `Create groups`
4. For universal project (iPhone and iPad) create additional directories:
`Classes/Shared/` and move there all folders from directory `Classes/` except `Application/, Support/`
`Classes/iPhone/`
`Classes/iPad/`
5. In `YourProjectName` XCode project remove reference to `.gitignore, Podfile` files
6. Connect `info.plist, Prefix.pch, Image.xcassets` to your project
#### Folder descriptions
```
/
/Resources # Images, storyboards,videos, .string files
/Storyboards
/Classes
/Application # App delegate and related files
/ViewControllers # View controllers
/Common # Base common protocols, headers, ategories for the hole
projects.
/Protocols
/Categories
/Models # Models, Core Data schema
/Views
/Services # Services bring together the functions of multiple managers to
accomplish a full task such as authentication a user or uploading a
parcel
/Protocols
/Managers # Managers are directly related to their respective models,
and do all of the business logic surrounding those models. They
do not bring that logic together, though. (Create, delete,date,
fetch entities from the Core Data)
/Support # Helpers, protocols, mocks, .plists
/Vendors # 3rd party dependencies not managed by CocoaPods
```