This app lists all Marvel heros and his Comics, Series and more.
- List all Marvel characters
- Search
- List Comics, Events, Series and Stories from Characters
- See details about Comics, Events, Series and Stories from Characters
- Peek & Pop
You need Cocoapods in your computer.
Clone the project and Run:
pod install
Generate your API Keys in the Marvel Portal.
Set your keys in Constants.swift
file:
MarvelHeroes/Enums/Constants.swift
enum Constants {
enum API {
static let baseAddress = "https://gateway.marvel.com/v1/public"
static let privateKey = "YOUR_KEY"
static let publicKey = "YOUR_KEY"
}
...
Run the project for the first time to create R.generated.swift
file, and Run again to see the app working.
See the prototype here. You can run the protorype here.
Sketch project is inside design
folder.
This app uses git-flow, please install git-flow-avh
in your computer.
This app uses Bitrise.io to Test and Deploy.
There are 2 workflows:
Primary
If: push
to develop
branch or PR
Then: Run tests and update codecov
Deploy
If: push
to master
Then: Run tests, update codecov and deploy to AppStore.
ToDo
To deploy locally, run with fastlane
.
How?
To integrate, install Fastlane Tools, after this, in the project folder run fastlane init
, setup your Apple account and done, just run fastlane
command and select the lane.
This project uses lokalise.co Software to manage localizable files.
What?
-
Upload localization files We support all popular iOS, Android and web localization file formats.
-
Translate Invite your team to work on translations, or use professional translation services provided by our partners.
-
Integrate Use Lokalise iOS and Android SDK, API, CLI tool and other integration options, or simply download the files.
Library R.swift
Easy to use plurals and all internationalization attributes.
How it works?
print(R.string.localizable.yesterday()) // Ontem
print(R.string.localizable.days_ago(format: date.daysAgo)) // 5 dias atrás
print(R.string.localizable.like_activity_title(format: activityPost.arrayLikes.count)) // Curtida / Curtidas