An introduction to curl using GitHub's API
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
// swift-interface-format-version: 1.0 | |
// swift-compiler-version: Apple Swift version 5.7 (swiftlang-5.7.0.113.10 clang-1400.0.16.2) | |
// swift-module-flags: -target arm64-apple-ios16.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Osize -library-level api -library-level api -module-name SwiftUI | |
// swift-module-flags-ignorable: -user-module-version 4.0.66.3.102 | |
import Accessibility | |
import Combine | |
import CoreData | |
import CoreFoundation | |
@_exported import CoreGraphics | |
@_exported import CoreTransferable |
// swift-interface-format-version: 1.0 | |
// swift-compiler-version: Apple Swift version 5.6 (swiftlang-5.6.0.323.35 clang-1316.0.20.9) | |
// swift-module-flags: -target arm64-apple-ios15.5 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Osize -library-level api -library-level api -module-name SwiftUI | |
// swift-module-flags-ignorable: -user-module-version 3.5.2 | |
import Accessibility | |
import Combine | |
import CoreData | |
import CoreFoundation | |
import CoreGraphics | |
import Darwin |
import SwiftUI | |
import Combine | |
struct ContentView: View { | |
var body: some View { | |
VStack { | |
Section { | |
list | |
.frame(height: 150) | |
} header: { |
import SwiftUI | |
struct ContentView: View { | |
var value: Int = 0 | |
var body: some View { | |
Text("Hello") | |
.padding() | |
.background(.orange) | |
.clipShape(shape) |
.DS_Store | |
.tags* | |
/.idea/ | |
/build/ | |
/dist/ | |
/external_binaries/ | |
/out/ | |
/vendor/download/ | |
/vendor/debian_jessie_amd64-sysroot/ | |
/vendor/debian_jessie_arm-sysroot/ |
sudo easy_install pip |
import Foundation | |
class ThrottleHandler { | |
let interval: NSTimeInterval | |
let block: dispatch_block_t | |
private var source: dispatch_source_t? | |
init(interval: NSTimeInterval, block: dispatch_block_t) { | |
self.interval = interval |
import React from 'react' | |
import FBSDK from 'react-native-fbsdk' | |
const { LoginButton, AccessToken, GraphRequest, GraphRequestManager } = FBSDK | |
class FacebookService { | |
constructor() { | |
this.requestManager = new GraphRequestManager() | |
} |
import UIKit | |
class FloatingButtonController: UIViewController { | |
private(set) var button: UIButton! | |
required init?(coder aDecoder: NSCoder) { | |
fatalError() | |
} |