项目作者: HelioMesquita

项目描述 :
A iOS application with layout based on App Store that can check the most starred and last updated Swift repository
高级语言: Swift
项目地址: git://github.com/HelioMesquita/Swiftmazing.git
创建时间: 2019-12-08T23:38:07Z
项目社区:https://github.com/HelioMesquita/Swiftmazing

开源协议:MIT License

下载




Swiftmazing Logo

Swift 5.10
Xcode 15.3.0
SPM
License

A iOS application with layout based on App Store that can check the most starred and last updated Swift repository. It was developed in a modular way using SPM, with their respective tests and using the modern collection view

Features

  • Modularization using SPM
  • Xcodegen
  • CLEAN Swift Architecture (VIP)
  • Modern Collection View
  • Mock Mode
  • Pull-to-Refresh
  • Infinity Scroll using PrefetchItems
  • View Code (UIKit)
  • Preview using UIViewRepresentable
  • Dark Mode
  • Internationalization (English and PT-Br)
  • Unit tests
  • Snapshots Tests
  • Await/Async Request

Prerequisites

Installing

First of all download and install Xcode, and Xcodegen, then clone the repository

  1. https://github.com/HelioMesquita/Swiftmazing.git

Go to cloned directory and execute

  1. xcodegen generate

Open the directory project and double tap on Swiftmazing.xcodeproj

Running the tests

For each scheme in project run some tests targets

  • The Swiftmazing scheme runs the unit tests for all business and presentation rules
  • The UIComponents scheme runs the snapshot tests for all views and view controllers
  • The NetworkLayer scheme runs the unit tests for all network tests

Built With

  • SnapshotTesting - PointFree Snapshot Testing
  • SDWebImage - Asynchronous image downloader with cache support as a UIImageView category