This file contains hidden or 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
// | |
// RecordAudio.swift | |
// | |
// This is a Swift class (updated for Swift 5) | |
// that uses the iOS RemoteIO Audio Unit | |
// to record audio input samples, | |
// (should be instantiated as a singleton object.) | |
// | |
// Created by Ronald Nicholson on 10/21/16. | |
// Copyright © 2017,2019 HotPaw Productions. All rights reserved. |
This file contains hidden or 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 | |
import AuthenticationServices | |
@available(iOS 13.0, *) | |
open class AppleSignInManager: NSObject { | |
static let shared: AppleSignInManager = AppleSignInManager() | |
var userData: LoginUserData? = nil | |
var isShareImageVideo: Bool = false |
This file contains hidden or 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
public struct LoginUserData { | |
public var userId: String? = "" | |
public var userName: String? = "" | |
public var email: String? = "" | |
public var gender: Int = 0 | |
public var birthday: String? = "" | |
public var about: String? = "" | |
public var photoUrl: String? = "" | |
public var idToken: String? = "" | |
public var accessToken: String? = "" |
OlderNewer