ElChoquito / GHFollowers

SwiftUI and UIKit apps based on Sean Allen's Swift take home project course

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GHFollowers

Swift Version

GHFollowers is Sean Allen's Swift take home project course.

image

Introduction

This project includes two apps, GHFollowers and GHFollowers-SwiftUI.

The aim was at first to follow Sean Allen's Swift take home project course in order to build GHFollower with UIKit.

Then, add features like Localization, Dynamic Type and VoiceOver and changed some part of the code.

Finally, build the same app, but in SwiftUI.

Requirements

UIKit Version

  • iOS 13.0+
  • Xcode 11+
  • Swift 4.2+

SwiftUI Version

  • iOS 14.0+
  • Xcode 12+
  • Swift 5+

Features

  • Localization
  • Dynamic Type
  • VoiceOver

Todo

  • Add followers search filtering for SwiftUI version

Discussion

SwiftUI Version

@StateObject is used sometimes instead of @ObservedObject combined with dependency injection in order to let the view own the view model.

Apple Documentation

Article about @StateObject

Solution used

Contact

Any comments, feedback or whatever, please feel free to send me an email.

www.sylvainguillier.com

About

SwiftUI and UIKit apps based on Sean Allen's Swift take home project course


Languages

Language:Swift 100.0%