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
// | |
// ViewController.swift | |
// TryRx | |
// | |
// Created by Uday Pandey on 15/06/2018. | |
// Copyright © 2018 Thirstysea Ltd. All rights reserved. | |
// | |
import UIKit | |
import RxSwift |
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
// Helper view to debug various layout sizes. A print does not work in the body of the view. | |
// | |
// Usage | |
// Text("Hello world") | |
// .background(GeometryPrinter()) | |
// Text("Hello world") | |
// .background(GeometryPrinter(prefix: "text")) | |
// Text("Hello world") | |
// .background(GeometryPrinter(prefix: "text", color: .green)) | |
// |
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 UIKit | |
import RxCocoa | |
import RxSwift | |
protocol CoordinatorType { | |
associatedtype Event | |
func fsm(event: Event) | |
} | |
enum RegistrationEvent { |
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
let json = """ | |
{ | |
"slides": [ | |
{ | |
"title": "SwiftUI In Depth", | |
"type": "swiftui" | |
}, | |
{ | |
"title": "Watch OS Overview", | |
"type": "watchos" |
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
let first = [1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 4, 5, 6, 7, 8, 9, 0] | |
let second = [4, 5, 6] | |
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
let first = "Hello World Hello World" | |
let second = "World" |
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 | |
public typealias UserIdentifier = String | |
struct User: Codable, Equatable { | |
let userId: UserIdentifier | |
let firstName: String | |
let lastName: String | |
let email: String |
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
dyld[10976]: Library not loaded: @rpath/openssl.framework/openssl | |
Referenced from: /private/var/containers/Bundle/Application/18542682-F42D-4D3B-A97E-C6DE7C019E93/Garrison.app/Frameworks/AppCoreWrapper.framework/AppCoreWrapper | |
Reason: tried: '/usr/lib/swift/openssl.framework/openssl' (no such file), '/private/var/containers/Bundle/Application/18542682-F42D-4D3B-A97E-C6DE7C019E93/Garrison.app/Frameworks/openssl.framework/openssl' (no such file), '/private/var/containers/Bundle/Application/18542682-F42D-4D3B-A97E-C6DE7C019E93/Garrison.app/Frameworks/AppCoreWrapper.framework/Frameworks/openssl.framework/openssl' (code signature in <4F288B6D-CF91-349E-B898-2D971560B5E2> '/private/var/containers/Bundle/Application/18542682-F42D-4D3B-A97E-C6DE7C019E93/Garrison.app/Frameworks/AppCoreWrapper.framework/Frameworks/openssl.framework/openssl' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.), '/private/var/containers/Bundle/Application/18542682-F42 |
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
// | |
// SampleDelegateWrapper.swift | |
// Plugin | |
// | |
// Created by Uday Pandey on 18/11/2022. | |
// | |
import Foundation | |
enum ZigbeePeripheral {} |
OlderNewer