I hereby claim:
- I am Sherlouk on github.
- I am sherlouk (https://keybase.io/sherlouk) on keybase.
- I have a public key whose fingerprint is 8CC0 49F4 F4B7 D026 95D3 CB28 9C41 C003 590E 1908
To claim this, I am signing this object:
| {% macro extractResultType parameter %}{% typed parameter as MethodParameter %}{{ parameter.typeName.closure.parameters[0].typeName.generic.typeParameters[0].typeName }}{% endmacro %} | |
| {% macro extractParameters parameters %}{% typed parameters as [MethodParameter] %}{% map parameters into newArray %}{% if maploop.last == false %}{{ maploop.item.asSource }}{% endif %}{% endmap %}{{ newArray|join:", " |replace:", $","","regex" }}{% endmacro %} | |
| {% macro extractFunctionName method %}{% for var in method.name|split:"(" %}{% if forloop.first %}{{ var|replace:">","" }}{% if method.isGeneric %}{% for conformance in method.returnTypeName.name|split:"where T" %}{% if forloop.last %}{{ conformance }}>{% endif %}{% endfor %}{% endif %}{% endif %}{% endfor %}{% endmacro %} | |
| {% macro extractParametersCalled parameters %}{% map parameters into newArray %}{% if not maploop.last %}{% if maploop.item.argumentLabel %}{{ maploop.item.argumentLabel }}: {{ maploop.item.name }}{% else %}{{ maploop.item.name }}{% endif %}{% endif %}{ |
| // | |
| // DebugDevice.swift | |
| // | |
| // Copyright 2022 • Sidetrack Tech Limited | |
| // | |
| import Foundation | |
| // This must be called on the main-thread. | |
| var isDebugProfileInstalled: Bool { |
| import SwiftUI | |
| import UIKit | |
| // from https://github.com/cashapp/AccessibilitySnapshot | |
| import AccessibilitySnapshotCore | |
| struct AccessibilityPreview<Content: View>: View { | |
| let content: Content | |
| var body: some View { |
| // | |
| // LazyEqualVGrid.swift | |
| // | |
| // Created by James Sherlock on 25/09/2021. | |
| // | |
| import SwiftUI | |
| struct LazyEqualVGrid<Content: View, Data: Identifiable>: View { | |
| { | |
| "crashDiagnostics" : [ | |
| { | |
| "version" : "1.0.0", | |
| "callStackTree" : { | |
| "callStacks" : [ | |
| { | |
| "threadAttributed" : true, | |
| "callStackRootFrames" : [ | |
| { |
I hereby claim:
To claim this, I am signing this object:
| a: AM/PM | |
| s: 1/59 - Seconds | |
| ss: 01/59 - Seconds w/ Leading | |
| m: 1/59 - Minutes | |
| mm: 01/59 - Minutes w/ Leading | |
| h: 5/10 (5AM, 10PM) - 12hr Clock | |
| hh: 05/10 (5AM, 10PM) - 12hr Clock w/ Leading |