Skip to content

Instantly share code, notes, and snippets.

View atimca's full-sized avatar

Maxim Smirnov atimca

View GitHub Profile
@atimca
atimca / AppleSignIn+Rx.swift
Last active December 2, 2024 07:55
Reactive extension for "Sign in with Apple"
import AuthenticationServices
import RxCocoa
import RxSwift
@available(iOS 13.0, *)
private class RxAppleSignInDelegateProxy: DelegateProxy<ASAuthorizationController, ASAuthorizationControllerDelegate> {
private(set) var controller: ASAuthorizationController?
fileprivate var signInSubject = PublishSubject<ASAuthorization>()
custom alert controller - https://github.com/dillidon/Alerts-Pickers
text masks - https://github.com/RedMadRobot/input-mask-ios