Skip to content

Instantly share code, notes, and snippets.

View ArtCC's full-sized avatar
πŸ§‘β€πŸ’»
Developing software and games! πŸ™ƒ

Arturo Carretero Calvo ArtCC

πŸ§‘β€πŸ’»
Developing software and games! πŸ™ƒ
View GitHub Profile
@ArtCC
ArtCC / AnalyzeView.swift
Created August 13, 2025 15:01
AIProxy: analyze image request
//
// AnalyzeView.swift
//
// Created by Arturo Carretero Calvo on 13/8/25.
// Copyright Β© 2025 ArtCC. All rights reserved.
//
import AIProxy
import PhotosUI
import SwiftUI
@ArtCC
ArtCC / BiometricManager.swift
Last active April 23, 2025 11:28
BiometricManager (Swift 6 compatibility)
import LocalAuthentication
@MainActor
protocol BiometricManagerProtocol: Sendable {
func biometricType() -> BiometricManager.BiometricType
func isBiometricAvailable() -> Bool
func authenticate(reason: String?) async throws -> Bool
func updateLoginReason(_ newReason: String)
}