This is Github user search demo app which made by many variety of design patterns.

Overview

iOSDesignPatternSamples

This is Github user search demo app which made by many variety of design patterns.

Application Structure

  • SearchViewController... Search Github user with query.
  • UserRepositoryViewController... Show repositories of user who selected in SearchViewController.
  • RepositoryViewController... Show a repository which selected in UserRepositoryViewController or FavoriteViewController. In addition, add / remove favorite repositories on memory.
  • FavoriteViewController... Show favorite repositories which stored on memory.

Design Patterns

Difference between A to B

A / B MVC MVP MVVM Flux
MVC - diff diff diff
MVP - - diff diff
MVVM - - - diff

You can compare differences like this.

Run

You need to set Github Personal Access Token like this.

<- Your Github Personal Access Token return ApiSession(injectToken: { InjectableToken(token: token) }) }() }">
extension ApiSession {
    static let shared: ApiSession = {
        let token = "" // <- Your Github Personal Access Token
        return ApiSession(injectToken: { InjectableToken(token: token) })
    }()
}

Requirements

  • Xcode 12 or later
  • iOS 13 or later
  • Swift 5 or later

Special Thanks

Author

marty-suzuki, [email protected]

License

iOSDesignPatternSamples is available under the MIT license. See the LICENSE file for more info.

You might also like...
iOS native app demo with Xcode and Swift using MVVM architecture and Apple's Combine framework for functional reactive programming, all with UIKit
iOS native app demo with Xcode and Swift using MVVM architecture and Apple's Combine framework for functional reactive programming, all with UIKit

iOS (Swift 5): MVVM test with Combine and UIKit MVVM and functional reactive programming (FRP) are very used in iOS development inside companies. Here

A demo demonstrates how to use combine and MVVM in the SwiftUI app
A demo demonstrates how to use combine and MVVM in the SwiftUI app

SwiftUI-MVVM-Combine A demo demonstrates how to use combine and MVVM in the Swif

An app to demo networking with SwiftUI/MVVM
An app to demo networking with SwiftUI/MVVM

Network Demo An app to demonstrate how network calls can be implemented in a SwiftUI/MVVM app. Motivations Apple's introductory tutorial is a great st

Aplikasi iOS Berita Internasional dengan SwiftUI, API dari newsapi.org, MVVM Design Pattern, dan Paw
Aplikasi iOS Berita Internasional dengan SwiftUI, API dari newsapi.org, MVVM Design Pattern, dan Paw

iNews iNews adalah aplikasi iOS Berita Internasional yang datanya didapatkan dari News API. Dibuat menggunakan SwiftUI, MVVM Design Pattern, dan Paw.

A package to help track how often the user opened the app and if they opened it in the current version before.

AppOpenTracker AppOpenTracker provides an observable AppOpenTracker.shared instance that can be used to track the last version that the app was opened

MVVM-RXSWIFT-COMBINE- - Demo application populating posts from network request using
MVVM-RXSWIFT-COMBINE- - Demo application populating posts from network request using

MVVM = RXSWIFT + COMBINE Demo application populating posts from network request

My demo submission to Babylon Health

Hello Babylon Thank you for taking the time to consider my demo during the recruitment process for the Remote Senior iOS Developer position at your co

ClearScore - This application simulates a credit check on a user by making a call to an API and displaying the data
ClearScore - This application simulates a credit check on a user by making a call to an API and displaying the data

ClearScore Description This application simulates a credit check on a user by ma

Comments
Owner
Taiki Suzuki
AbemaTV / University of Aizu 18th
Taiki Suzuki
Rabble Wabble - This is small Project implemented with respected design patterns

Rabble_Wabble This is small Project implemented with respected design patterns D

Ahmed Amin 2 Feb 2, 2022
MMVMi: A Validation Model for MVC and MVVM Design Patterns in iOS Applications

MMVMi MMVMi: A Validation Model for MVC and MVVM Design Patterns in iOS Applications Motivation Design patterns have gained popularity as they provide

Mariam AlJamea 11 Aug 19, 2022
Swift, UIkit, Anchorage, Clean Architecture, UICollectionViewDiffableDataSourcem, MVVM+Coordinators patterns

About the app iOS project realized with Swift, UIkit, Anchorage, Clean Architecture, UICollectionViewDiffableDataSource and MVVM + Coordinators patter

Luca Berardinelli 4 Dec 29, 2022
A fitness application using swift which can help user to hold a better sleep

Natcap - Good for your sleep This is a fitness application which can help user to hold a better sleep which depends on their previous sleeping habit.

Mill 0 Dec 13, 2021
An iOS app for GitHub with exploring trending

GiTiny is iOS app for GitHub with exploring trending. Written in RxSwift and MVVM-C architecture. Features ?? Explore Trending Repositories and Develo

DongHee Kang 263 Dec 26, 2022
A Swift implementation of a Flickr-search application that uses MVVM and ReactiveCocoa

ReactiveCocoa, Swift and MVVM This application is a Swift-port of an MVVM / ReactiveCocoa example application I wrote a few months ago. Instructions T

Colin Eberhardt 377 Sep 26, 2022
This repo shows how to set up and use GitHub Actions as a CI for Swift Packages

SwiftPackageWithGithubActionsAsCI This repo shows how to set up and use GitHub Actions as a CI for Swift Packages. Available environments on GitHib Li

Michał Tynior 0 Nov 3, 2021
his is my second app, made right after the I am Rich app

I-am-Poop ?? Hello everyone! This is my second app, made right after the I am Rich app, to better fixate the concepts I learned during this lesson, wh

Victor Colen 1 Oct 11, 2021
NewsAppMVVM - A Swift iOS App created to practice MVVM Design Pattern

NewsAppMVVM A Swift iOS App created to practice MVVM Design Pattern. This app re

Jorge Roberto 1 Jan 3, 2022
A travel guide app that implements MVVM design pattern, using mock API.

✈️ Travel Guide App ?? A travel guide app that implements MVVM design pattern, using mock API. ✨ Features ?? Project Features Written in Swift Impleme

Burak Ertaş 4 Nov 7, 2022