CLICK ME
yes, even hidden code blocks!
print("hello world!")| import SwiftUI | |
| import WebKit | |
| import Combine | |
| class WebViewData: ObservableObject { | |
| @Published var loading: Bool = false | |
| @Published var scrollPercent: Float = 0 | |
| @Published var url: URL? = nil | |
| @Published var urlBar: String = "https://nasa.gov" | |
| import UIKit | |
| import SafariServices | |
| import AuthenticationServices | |
| import AppAuth | |
| import Reachability | |
| class OIDExternalUserAgentASWebAuthenticationSession: NSObject, OIDExternalUserAgent { | |
| private let presentingViewController: UIViewController | |
| private var externalUserAgentFlowInProgress: Bool = false | |
| private var authenticationViewController: ASWebAuthenticationSession? |
| import Foundation | |
| /// An abstract class that makes building simple asynchronous operations easy. | |
| /// Subclasses must override `main()` to perform any work and call `finish()` | |
| /// when they are done. All `NSOperation` work will be handled automatically. | |
| /// | |
| /// Source/Inspiration: https://stackoverflow.com/a/48104095/116862 and https://gist.github.com/calebd/93fa347397cec5f88233 | |
| open class AsyncOperation: Operation { | |
| public init(name: String? = nil) { | |
| super.init() |
| /*! @file OIDExternalUserAgentIOSSafariViewController.h | |
| @brief AppAuth iOS SDK | |
| @copyright | |
| Copyright 2018 Google Inc. All Rights Reserved. | |
| @copydetails | |
| Licensed under the Apache License, Version 2.0 (the "License"); | |
| you may not use this file except in compliance with the License. | |
| You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 |
| #import <CommonCrypto/CommonCrypto.h> |
| // Created by Vasily Ulianov on 09.02.17, updated in 2019. | |
| // License: MIT | |
| import Foundation | |
| /// Subclass of `Operation` that adds support of asynchronous operations. | |
| /// 1. Call `super.main()` when override `main` method. | |
| /// 2. When operation is finished or cancelled set `state = .finished` or `finish()` | |
| open class AsynchronousOperation: Operation { | |
| public override var isAsynchronous: Bool { |
| // Created by Matthew Johnson on 5/28/16. | |
| // Copyright © 2016 Anandabits LLC. All rights reserved. | |
| // | |
| // This is a minimalist implementation of a responder chain in pure Swift. | |
| // | |
| // It is not intended to demonstrate the best way to | |
| // implement event processing in Swift. | |
| // | |
| // The intent is to show how little code is necessary to acheive behavior | |
| // similar to Cocoa's responder chain in pure Swift. |
| I use the first | |
| —– BEGIN LICENSE —– | |
| Michael Barnes | |
| Single User License | |
| EA7E-821385 | |
| 8A353C41 872A0D5C DF9B2950 AFF6F667 | |
| C458EA6D 8EA3C286 98D1D650 131A97AB | |
| AA919AEC EF20E143 B361B1E7 4C8B7F04 |