★ UIStackViewの初期化
let stackView = UIStackView()
// 追加するView配列を指定してStackViewを初期化する
let view1 = UIView()
let view2 = UIView()| // | |
| // Regex.swift | |
| // ha1fRegex | |
| // | |
| // Created by はるふ on 2016/09/30. | |
| // Copyright © 2016年 はるふ. All rights reserved. | |
| // | |
| import Foundation |
| <!doctype html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
| <title>LT Timer at LINE Developer meetup #47 in Fukuoka</title> | |
| <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" | |
| crossorigin="anonymous"> | |
| <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" |
| // This sample works on Swift4.2 and Swift5! | |
| // Let's try to execute this sample with Playground! | |
| import Foundation | |
| // - MARK: Artificially RxSwift classes | |
| public enum Rx { | |
| public final class Observable<E> {} |
| name: XXXX | |
| attributes: | |
| LastUpgradeCheck: 1140 | |
| ORGANIZATIONNAME: "kankak, Inc." | |
| options: | |
| bundleIdPrefix: com.xxxx.xxxxxxxx | |
| deploymentTarget: | |
| iOS: 13.1.3 | |
| configs: | |
| Develop Debug: debug |
| @propertyWrapper | |
| class Box<T> { | |
| var wrappedValue: T | |
| var projectedValue: Box<T> { | |
| Box(wrappedValue) | |
| } | |
| init(_ value: T) { | |
| self.wrappedValue = value |