key | en |
ja |
zh-HK |
zh-TW |
---|---|---|---|---|
FELICA_PASS_PROPERTIES_TICKET_SEAT_FORMAT |
%1$@-%2$@ | %1$@-%2$@ | %1$@-%2$@ | %1$@-%2$@ |
PASS_VIEW_USER_ACTIVITY_TEMPLATE_NAME_NON_PAYMENT_TICKET |
ticket | チケット | 門票 | 門票 |
PROGRESS_ACTIVATING |
Card Activating… | カードをアクティベート中… | 正在啟用卡⋯ | 正在啟用卡片⋯ |
PASS_MULTIPLE_CHANGES_BULLETIN_PASS |
Pass changed | パスが変更されました | 票證已更改 | 票卡已更改 |
PROGRESS_DOWNLOADING_CARD_IPAD |
Adding to Apple Pay… | Apple Payに追加中… | 正在加至Apple Pay⋯ | 正在加入Apple Pay⋯ |
PROGRESS_CONTACTING_ISSUER |
Contacting the Card Issuer… | カード発行元に問い合わせ中… | 正在聯絡發卡機構⋯ | 正在聯絡發卡機構⋯ |
PASS_VIEW_USER_ACTIVITY_TEMPLATE_NAME_NON_PAYMENT_BOARDING_PASS |
boarding pass | 搭乗券 | 登機證 | 登機證 |
PASS_VIEW_USER_ACTIVITY_TEMPLATE_NAME_NON_PAYMENT_PASS |
pass | パス | 票證 | 票卡 |
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 PackageDescription | |
import Foundation | |
import Swift | |
extension PackageDescription.Product { | |
public static func iOSApplication( | |
name: Swift.String, | |
targets: [Swift.String], | |
bundleIdentifier: Swift.String? = nil, | |
teamIdentifier: Swift.String? = nil, |
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
trash build | |
# https://help.apple.com/xcode/mac/current/#/dev544efab96 | |
xcodebuild \ | |
'ENABLE_BITCODE=YES' \ | |
'BITCODE_GENERATION_MODE=bitcode' \ | |
'OTHER_CFLAGS=-fembed-bitcode' \ | |
'BUILD_LIBRARY_FOR_DISTRIBUTION=YES' \ | |
'SKIP_INSTALL=NO' \ |
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
on run {input, parameters} | |
tell application "System Events" | |
set front_app to name of (path to frontmost application) | |
end tell | |
-- display notification front_app with title "Running applications" | |
if front_app is "Safari.app" then | |
tell application "Safari" | |
set theURL to URL of front document |
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
// | |
// NetworkPlaygroundApp.swift | |
// NetworkPlayground | |
// | |
// Created by treastrain / Tanaka Ryoga on 2021/09/28. | |
// | |
import SwiftUI | |
import Network |
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
// | |
// main.swift | |
// | |
// Created by treastrain / Tanaka Ryoga on 2021/09/12. | |
// | |
// These codes are licensed under CC0. | |
// https://creativecommons.org/publicdomain/zero/1.0/deed | |
// | |
import Foundation |
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
// | |
// ConcurrencyNFCApp.swift | |
// ConcurrencyNFC | |
// | |
// Created by treastrain on 2021/08/28. | |
// | |
import SwiftUI | |
import CoreNFC |
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 | |
struct Dice { | |
private let characters = ["う", "お", "こ", "ち", "ま", "ん"].sorted() | |
func roll() -> String? { | |
return Int.random(in: 0..<5) == 0 ? nil : characters.shuffled().first | |
} | |
} |
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
// | |
// AuthenticationByTouchIDWithMacOSCommandLineTool.swift | |
// | |
// | |
// Created by treastrain on 2021/03/26. | |
// | |
import LocalAuthentication | |
let context = LAContext() |