9 search resultsShowing 1~9 results

Stocked
makopy_inside

@makopy_inside

[Swift]Dictionary<Key, Value>型

Dictionary<Key, Value>型 キーと値のペアを持つコレクション キーをもとに値にアクセスする キーはアクセス対象の識別に使用されるため一意でなければならない Key...

14
19
Comment0
makopy_inside

@makopy_inside

[Swift]String型

String型 Unicodeで定義された任意の文字を扱える 文字列リテラル 文字列を表すリテラル "abc"のように、"(ダブルクオート)で文字列を囲む String型やCharacter型の...

6
11
Comment0
makopy_inside

@makopy_inside

[Swift]数値型

数値型 数値リテラル 数値を表すリテラル 整数リテラル デフォルトはInt型 整数リテラル let a = 123 // Int型 浮動小数点リテラル デフォルトはDouble型 浮動小数点リテ...

21
17
Comment0
makopy_inside

@makopy_inside

[Swift]Bool型

Bool型 真理値を表す ある命題が真であるか偽であるか 真理値リテラル 真理値を表すリテラル true: 真 false: 偽 真理値リテラルの代入先の型はBool型 論理演算 否定 論理積 ...

6
3
Comment0
makopy_inside

@makopy_inside

[Swift]変数/定数のスコープ

変数/定数のスコープ スコープとは? 変数/定数/関数/型の名前の有効範囲 ローカルスコープ グローバルスコープ 同一スコープ内では名前が一意である必要がある ローカルスコープ 関数や制御構文に...

3
1
Comment0
makopy_inside

@makopy_inside

Swiftの特徴

Swiftの特徴 静的型付き言語 型安全性 コンパイル時に、変数や定数の型の情報を決定 型の誤りをコンパイル時に検出するので、予期せぬ型による実行時エラーが発生しない var a: Int //...

8
6
Comment0
makopy_inside

@makopy_inside

[Swift]変数と定数

変数と定数 宣言方法 変数 値の変更が必要な場合 varを使用 変数の宣言 var 変数名: 型名 変数の宣言 var a: Int 定数 値の変更が不要な場合 変更が想定されていない値を更新し...

6
3
Comment0

9 search resultsShowing 1~9 results

Qiita is a knowledge sharing service for engineers.

  1. You can follow users and tags
  2. You can stock useful information
  3. You can make edit suggestions for articles
Functions that can be used after logging in