Skip to content
/ SwiftBoilerPlate Public template

Boiler plate for a swift application in Swift4.x

License

Notifications You must be signed in to change notification settings

Mattews92/SwiftBoilerPlate

Repository files navigation

SwiftBoilerPlate

The SwiftApp project is a easy to build on boilerplate in Swift4.x

Modules of SwiftApp Boilerplate

  1. AppDelegate
  2. The AppDelegate is customised to configure the app NavigationBar. An optional inactivity timeout mechanism is implemented which can be easily added to the project. The InactivityTimer class is a UIApplication subclass which manages the inactivity timeout employing the listeners in AppDelegate. Add the main.swift into the project target and comment the @UIApplicationMain in AppDelegate file to bring the InactivityTimer class into action.


  3. NetworkManager
  4. The Network module manages the web services of the application. The NetwortConstants struct holds the webservice urls. The AuthHandler class handles the authorization token expiry with a retry mechanism implemented employing the retrier provided by Alamofire. The Network manager class initiates the web services through the AuthHandler. Webservices with session token are to be directed through AuthHandler and those without shall fire the method fireWebService;


More frameworks

  • Interactive notifications here
  • Slidermenu for Swift projects here

Releases

No releases published

Packages

No packages published

Languages