LoginSignup
0
1

More than 5 years have passed since last update.

Swiftについての覚書1

Last updated at Posted at 2016-12-09

ストーリーボードでテキストフィールドの設定

swift1.png

swift2.png

swift3.png

swift4.png

ストーリーボードを使わずにテキストフィールドの設定

swift5.png

swift6.png

CGRectmakeで座標x:50 y:200の位置に 横200pix 縦50pix のテキストフィールドを配置するという意味です。
borderStyleで枠線の設定をします。
addSubviewで画面にテキストフィールドを設定します。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1