Swift2.0におけるクラスとプロパティの一覧

頭の整理のためにXcode7.3.1(swift2.0)であらかじめ用意されているクラス、プロパティ、メソッドの一部をまとめてみる。

書式

フレームワーク

  •  クラス
    • プロパティやタイプメソッド(タイプメソッドには()を付与)

という書式で以下にリストアップ

UI

  • UIView
    • userInteractionEnabled
  • UIColor
  • UIFont
    • systemFontOfSize()
    • boldSystemFontOfSize()
  • UILabel
    • text
    • textColor
    • font
    • textAlignment
    • numberOfLines
  • UIViewController
    • view
    • viewWillAppear()
    • editButtonItem()
  • UIWebView (WkWebViewを使った方がいいかも)
    • loadRequest()
    • goBack()
    • goForward()
    • reload()
    • stopLoading()
  • UILongPressGesturerecognizer
  • UIGestureRecognizerState
  • UIScrollView
    • contentSize
    • setContentOffset()
  • UIImageView
    • UIImageView()
    • image
  • UIImage
    • image
    • imageWithRenderingMode()
  • UIApplication
    • networkActivityIndicatorVisible
  • UIAlertController
    • UIAlertController()
    • presentViewController()
    • UIAlertAction()
    • addAction()
  • UIImagePickerController
    • sourceType
    • allowsEditing
    • isSourceTypeAvailable()
  • UISplitViewController
  • UINavigationBar
    • barTintColor
    • titleTextAttributes
    • tintColor
    • translucent
    • navigationItem
    • rightBarButtonItem
    • UIBarButtonItem()
  • UIBarButtonItem
  • UITabBar
    • barTintColor
    • translucent
  • UITabBarController
    • viewControllers
  • UITableView
    • accessoryView
    • registerNib()
  • UITableViewCell
    • textLabel
  • UINib
  • UIButton
    • selected
    • setTitle()
    • setTitleColor()
    • titleLabel

CA(Core Animation)

  • CALayer

MK

  • MKMapView
  • MKPointAnnotation
    • title
    • subtitle
    • coordinate
  • MKAnnotationView
  • MKPinAnnotationView
  • MKUserLocation

WK(WebKit)

  • WkWebView
    • goBack()
    • goForward()
    • reload()
    • stopLoading()
    • addObserver()
    • observeValueForKeyPath()
    • removeObserver()
    • URL

CL(Core Location)

CoreLocationフレームワークは現在地を取得する際に必要になるフレームワーク。

  • a

NS(NeXTSTEP)

  • NSBundle
  • NSURL
  • NSURLRequest
  • NSURLSession
    • sharedSession()
  • NSXMLParser
    • parse()
  • NSDate
  • NSDateFormatter
    • dateFormat
    • dateFromString()
  • NSUserDefaults
    • standardUserDefaults()
  • NSTextAlignment
スポンサーリンク
big rectangle
big rectangle
  • このエントリーをはてなブックマークに追加
スポンサーリンク
big rectangle