This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct CircularLoaderView: View { | |
struct Configuration { | |
var radius: CGFloat | |
var strokeWidth: CGFloat | |
var strokeColor: Color | |
var animationDuration: Double | |
var rotationDuration: Double | |
} | |
var configuration: Configuration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
public class ConcernedKeychainAccessor: KeychainAccessor { | |
override public func storeData<T: Codable>(_ object: T, forKey key: String) -> OSStatus { | |
let status = super.storeData(object, forKey: key) | |
if status != errSecSuccess { | |
NotificationCenter.default.post(name: NSNotification.Name("KeychainAccessorError"), object: nil) | |
} | |
return status | |
} |