Skip to content

Instantly share code, notes, and snippets.

Avatar

shtnkgm shtnkgm

View GitHub Profile
View swiftui-sheet-issue.swift
import SwiftUI
struct ContentView: View {
var body: some View {
NavigationView {
NavigationLink("Button1", destination: ChildView())
}
.navigationViewStyle(StackNavigationViewStyle())
}
View UnicodeNormalization.swift
import Foundation
// NSStringのプロパティ
// decomposed
// 分解した
// precomposed
// 構成済み
View AsyncProgramming.swift
import Foundation
import PlaygroundSupport
PlaygroundPage.current.needsIndefiniteExecution = true
DispatchQueue.main.async {
print("メインスレッドで非同期実行")
}
DispatchQueue(label: "").async {
print("サブスレッド(直列キュー)で非同期実行")
@shtnkgm
shtnkgm / RaspberryPiJenkinsSetup.md
Last active Sep 21, 2018
Raspberry Pi Jenkins環境構築
View RaspberryPiJenkinsSetup.md
@shtnkgm
shtnkgm / .gitignore
Last active Oct 8, 2018
.gitignore ios templete
View .gitignore
### wget https://bit.ly/shtnkgmgi2 -O .gitignore
### https://gist.githubusercontent.com/shtnkgm/dfe0a0478a15de11ce93ca6f39223cd5/raw/.gitignore
# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
## Build generated
build/
DerivedData/
View Playgroundで非同期処理を実行
import PlaygroundSupport
PlaygroundPage.current.needsIndefiniteExecution = true