I hereby claim:
- I am vmanot on github.
- I am vatsal_manot (https://keybase.io/vatsal_manot) on keybase.
- I have a public key whose fingerprint is 72BD 9E2A DAC5 A7B7 C70B 6794 6F92 A47B 9BF7 C6CB
To claim this, I am signing this object:
import Combine | |
public final class AnySubject<Output, Failure: Error>: Subject { | |
public let base: Any | |
@usableFromInline | |
let _baseAsAnyPublisher: AnyPublisher<Output, Failure> | |
@usableFromInline | |
let _sendImpl: (Output) -> () | |
@usableFromInline |
extension UIApplication { | |
/// The top most view controller | |
static var topMostViewController: UIViewController? { | |
return UIApplication.shared.keyWindow?.rootViewController?.visibleViewController | |
} | |
} | |
extension UIViewController { | |
/// The visible view controller from a given view controller | |
var visibleViewController: UIViewController? { |
// | |
// Copyright (c) Vatsal Manot | |
// | |
#if canImport(UIKit) | |
import Swift | |
import UIKit | |
/// |
// | |
// Copyright (c) Vatsal Manot | |
// | |
module CommonCrypto [system] | |
{ | |
header "./CommonCrypto.h" | |
export * | |
} |
I hereby claim:
To claim this, I am signing this object:
// | |
// Copyright (c) Vatsal Manot | |
// | |
import Foundation | |
import Swift | |
public func type<T>(x: T) -> T | |
{ | |
return x |