Skip to content

Latest commit

 

History

History
executable file
·
45 lines (28 loc) · 1.46 KB

README.md

File metadata and controls

executable file
·
45 lines (28 loc) · 1.46 KB

ProjectApp

Project App is a exmaple of a small swift project. It helps developer to understand code structures. It contains login, registration and user list page.

Architectural pattern : MVVM Swift

Just Build and run the project.

Fake Api For Login & Registration

"https://reqres.in/" was used for fake API for login , Registraion & users List.

NOTE :- Reqres does not store any of your data at all. Once you send it to them, they just send it straight back...and then it's gone!

Third Party libraries

To minimize code following dependencies were used. Thanks to these dependencies to make work easy. You can visit each repository by searching on GitHub.

  • Alamofire
  • SWRevealViewController
  • CarbonKit
  • SwiftKeychainWrapper
  • MBProgressHUD
  • SecureNSUserDefaults
  • KLCPopup
  • IQKeyboardManagerSwift
  • and Thanks to visitors ;-)

Project Overview

  • Common.swift - Common methods and varaibles use in app.
  • AppEndPoint.swift - Contains api end points.
  • NetworkManager.swift - Network calling.
  • ProjectAppCell.swift - Custom cell for users table.
  • Model.swift - Contains 'User' and 'Userdata' model. User model is for login user information and Userdata model for user list's user information.
  • UserViewModel.swift & UserdataViewModel - View-model for 'User' model and 'Userdata' model.
  • DynamicType.swift - Custom dynamic class.
  • SideVC.swift, RegVC.swift, ViewController.swift and HomeVC.swift - ViewsControllers for App.