A simple application that show the use of Core Data with CollectionView
The project contains 2 targets:
-
AppleManagers: that is representing the app
-
ManagersAPI: a framework to taking care of retriving the data. Today from a local JSON but we can easly extends it to download from an endpoint.
A target is represented by a unique folder that contain the Info.plist file and 2 folders:
-
Sources: that should only contains .swift, .storyboard and .xib files
-
Resources: that contain the resources of the target like image assets, app launch screen storyboard, core data models, json files...
I use bundle to help me with the installation of gems that I use for iOS developement (like Fastlane, Danger or even Cocoapods).
gem install bundler
git clone [email protected]:barrault01/appleManagers.git
cd appleManagers
bundle install
bundle exec pod install
open AppleManagers.xcworkspace
As I use cocoapods for dependencies you need to have at least cocoapods installed on your computer. If not:
gem install cocoapods
git clone [email protected]:barrault01/appleManagers.git
cd appleManagers
pod install
open AppleManagers.xcworkspace
If you want to run tests locally, just use Fastlane:
bundle exec fastlane testing
This project is using SwiftLint, it's installed throught cocoapods so that you don't need to install it on your computer.
I know that using Core Data is over engineering in this simple case, I can only use an array to represent the apple managers.