Skip to content

Instantly share code, notes, and snippets.

@mejiagarcia
Last active May 23, 2019 21:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mejiagarcia/07373c5891bf79784361f03ee765dc7d to your computer and use it in GitHub Desktop.
Save mejiagarcia/07373c5891bf79784361f03ee765dc7d to your computer and use it in GitHub Desktop.
SuperUtils
import UIKit
@objc public class SuperUtils: NSObject {
// MARK: - Public Methods
@objc public func isValidEmail(_ email: String) -> Bool {
return false
}
@objc public func getRandomPassword() -> String {
return ""
}
@objc public func getAuthToken() -> String {
return ""
}
@objc public func getScreenHeight() -> CGFloat {
return UIScreen.main.bounds.height
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment