Giter Site home page Giter Site logo

anasalhasani / marvel Goto Github PK

View Code? Open in Web Editor NEW
42.0 3.0 7.0 8.58 MB

Marval iOS application with a generic-based API client using UIKit, Combine and MVVM with clean architecture concepts ๐Ÿš€.

Swift 97.05% Ruby 1.31% Shell 1.64%
ios swift clean-architecture api-client marvel-api mvvm reactive-programming combine uikit xctest

marvel's Introduction

Marvel iOS

codebeat badge

Marvel iOS application written in Swift 5 using MVVM with clean architecture concepts ๐Ÿš€.

Requirements

  • Swift 5.0+
  • Xcode 13.0+
  • iOS 13.0+

ScreenShots

Launch Screen List Search Details

Used Libraries

Installation

  • Download the project.
  • Open the terminal and navigate to the directory of project cd Marvel.
  • Install Dependencies with Cocoapods pod install.
  • Open the workspace open Marvel.xcworkspace.

Author

marvel's People

Contributors

anasalhasani avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

marvel's Issues

Refactor ViewModels using Input/Output with Combine

Refactor ViewModel to fully use combine and update views. This can be achieved using:

protocol ViewModel { 
    associatedType Input 
    associatedType Output 

    func transform(input: Input) -> Output 
}

Then, i.e CharactersViewModel should conform to ViewModel generic protocol:

final class CharactersViewModel: ObservableObject { 

}

extension CharactersViewModel: ViewModel { 
    struct Input { }
    struct Output { }
    
    func transform(input: Input) -> Output { 
        // code here ..
    }  
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.