Skip to content

narlei/marvelheroes

Repository files navigation

Miss Electric Eel 2016 Marvel Heroes

Build Status codecov platforms Twitter

This app lists all Marvel heros and his Comics, Series and more.

Features

  • 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

Instalation

Cocoapods

You need Cocoapods in your computer.

Clone the project and Run:

pod install

API Keys

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"
    }
...

R.swift

Run the project for the first time to create R.generated.swift file, and Run again to see the app working.

Design

See the prototype here. You can run the protorype here.

Sketch project is inside design folder.

Libraries

Git

This app uses git-flow, please install git-flow-avh in your computer.

Build

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.

Internacionalization

This project uses lokalise.co Software to manage localizable files.

What?

  1. Upload localization files We support all popular iOS, Android and web localization file formats.

  2. Translate Invite your team to work on translations, or use professional translation services provided by our partners.

  3. 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

Releases

No releases published

Packages

No packages published

Languages