AutoLayout
外接矩形
- デバッグ中に外接矩形を表示するオプション設定ができる 
Leading: 先頭 Trailing: 末尾 Baseline(LastBaseline), FirstBaseline Multiplier: 制約の係数
AutoLayout
外接矩形
Leading: 先頭 Trailing: 末尾 Baseline(LastBaseline), FirstBaseline Multiplier: 制約の係数
| var SPREADSHEET_ID = '****'; | |
| function onChange() { | |
| var sheet = SpreadsheetApp.openById(SPREADSHEET_ID).getSheetByName('logs'); | |
| var currentRow = sheet.getLastRow(); | |
| if (currentRow<1) { | |
| return; | |
| } | |
| var dateText = sheet.getRange(currentRow, 1).getValue(); | |
| if (typeof dateText != "string") { |
| import Foundation | |
| import KeychainAccess //https://github.com/kishikawakatsumi/KeychainAccess | |
| import Firebase | |
| //Requires shared Keychain with the same group name | |
| class ApplicationBuilder { | |
| enum Target { | |
| case app |
| import CoreImage | |
| import UIKit | |
| static func generateQRCode(url: String) -> UIImage? { | |
| let data = url.data(using: .utf8)! | |
| let params: [String: Any] = [ | |
| "inputMessage": data, | |
| "inputCorrectionLevel": "L" | |
| ] |
| { | |
| "global": { | |
| "check_for_updates_on_startup": true, | |
| "show_in_menu_bar": true, | |
| "show_profile_name_in_menu_bar": false | |
| }, | |
| "profiles": [ | |
| { | |
| "complex_modifications": { | |
| "parameters": { |
| interface Person { | |
| readonly groupName; | |
| readonly name; | |
| } | |
| const taro: Person = { | |
| groupName: "flower", | |
| name: "taro", | |
| } |
| // Properties | |
| interface Foo { | |
| readonly bar: number; | |
| readonly bas: number; | |
| } | |
| const foo: Foo = { bar: 1, bas: 2 }; | |
| foo.bar = 11; // Error: [ts] Cannot assign to 'name' because it is a read-only property. [2540] |
| // Properties | |
| interface Foo { | |
| readonly bar: number; | |
| readonly bas: number; | |
| } | |
| const foo: Foo = { bar: 1, bas: 2 }; | |
| foo.bar = 11; // Error: [ts] Cannot assign to 'name' because it is a read-only property. [2540] |
| interface ViewModel { | |
| name: string, | |
| nums: number[], | |
| displayName: string, | |
| } | |
| interface Model { | |
| name: string, | |
| nums: number[] |
| interface Foo { | |
| readonly bar: number; | |
| readonly baz: number; | |
| } | |
| const fooArray: Foo[] = [ | |
| { bar: 100, baz: 200 }, | |
| { bar: 300, baz: 400 }, | |
| ] |