This file contains 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
generates: | |
types.ts: | |
plugins: | |
- typescript | |
- typescript-operations |
This file contains 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
{ | |
"sourcekit-lsp.serverPath": "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/sourcekit-lsp", | |
"sourcekit-lsp.serverArguments": [ | |
"-Xswiftc", | |
"-sdk", | |
"-Xswiftc", | |
"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.7.sdk", | |
"-Xswiftc", | |
"-target", | |
"-Xswiftc", |
This file contains 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
typealias InputAndExpected = [String: String] | |
let x: InputAndExpected = [ | |
"11": "11.0", | |
"11.0": "11.0", | |
"11.01": "11.01", | |
"11.1": "11.1", | |
"11.10": "11.10", | |
"11.11": "11.11" | |
] |
This file contains 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
- id: bannzai | |
github: | |
login: yudai-hirose | |
slack: | |
name: bannzai | |
- id: koooootake | |
github: | |
login: rina-kotake | |
slack: | |
name: rina.kotake |
This file contains 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
- bannzai: | |
github: | |
login: bannzai | |
slack: | |
id: XXXXXXXX |
This file contains 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 class VideoPlayerView: UIView { | |
fileprivate let resourcePath: String | |
fileprivate let fileExtension: String | |
fileprivate let asset: AVAsset | |
fileprivate let playerItem: AVPlayerItem | |
fileprivate let player: AVPlayer | |
public required init?(coder aDecoder: NSCoder) { fatalError("init(coder:) has not been implemented") } | |
public init(resourcePath: String, ofType: String) { | |
self.resourcePath = resourcePath |
This file contains 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 UIKit | |
import SwiftUI | |
class SceneDelegate: UIResponder, UIWindowSceneDelegate { | |
var window: UIWindow? | |
func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) { | |
if let windowScene = scene as? UIWindowScene { | |
let window = UIWindow(windowScene: windowScene) | |
self.window = window | |
} |
This file contains 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 | |
// Library A start | |
public typealias MediaSourceConnection = Any | |
public struct MediaEvent<T> { | |
init<T>(_ t: T) { } | |
} | |
public protocol MediaSink: AnyObject { | |
associatedtype InputMedia |
This file contains 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
let odd = [1,2,3].filter { $0 % 2 == 1 } | |
let numbers: [Int] = [1,2,3] | |
let odd: [Int] = numbers.filter { (number: Int) -> Bool in | |
return number % 2 == 1 | |
} |
This file contains 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 class Model: NSObject { | |
@objc dynamic init(x: Int) { | |
print("x: \(x)") | |
} | |
@objc dynamic init(y: Int) { | |
print("y: \(y)") | |
} | |
} |