Skip to content

UILabel

   

UILabelクラスは文字表示を管理するクラスです。画面に文字を表示させたい時に使用します。

UILabelのクラス階層

NSObject

UIResponder

UIView

UILabel

AppleDeveloperリファレンス UILabel

UILabelサンプル

サンプルコード

alt

UILabelのカスタマイズ

UILabelにタッチイベントを実装 参考: [Swift2.0] UILabelとUIImageViewのタップイベント処理を実装する

関連記事

  1. 現在時刻の取得
  2. UITableView
  3. UIButton
  4. UIBarButtonItem
  5. Dictionary
  6. Array