One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| import Foundation | |
| public enum LoggerLevel { | |
| case info | |
| case debug | |
| case warning | |
| case error | |
| } | |
| final class Logger { |
| import Foundation | |
| public final class UserDefaultsHelper { | |
| /// Use this generic func to encode and save an Codable object to UserDefaults | |
| /// - Parameters: | |
| /// - value: Any Codable type | |
| /// - key: The corresponding key | |
| /// - Returns: true if it is saved successfully, else false | |
| @discardableResult |
| import UIKit | |
| class MyTabBarController: UITabBarController { | |
| override func viewDidLoad() { | |
| super.viewDidLoad() | |
| delegate = self | |
| } | |
| } |