What do you want to save?
Add Code snippet
New code examples
-
Swift 2021-10-05 03:03:02
use alamofire to login in swift 5
/// The storage containing your access token, preferable a Keychain wrapper. protocol AccessTokenStorage: class { typealias JWT = String var accessToken: JWT { get set } } final class RequestInterceptor: Alamofire.RequestInterceptor { privat... Add solution -
Swift 2021-09-03 08:40:04
hex color extension swift
//https://stackoverflow.com/questions/24263007/how-to-use-hex-color-values var color1 = hexStringToUIColor("#d3d3d3") //Create Func func hexStringToUIColor (hex:String) -> UIColor { var cString:String = hex.trimmingCharacters(in: .whites... Add solution