No Description

NiblessViewController.swift 793B

123456789101112131415161718192021222324252627
  1. //
  2. // NiblessViewController.swift
  3. // PaiaiUIKit
  4. //
  5. // Created by FFIB on 2019/2/6.
  6. // Copyright © 2019 FFIB. All rights reserved.
  7. //
  8. import UIKit
  9. open class NiblessViewController: UIViewController {
  10. /// - Methods
  11. public init() {
  12. super.init(nibName: nil, bundle: nil)
  13. }
  14. @available(*, unavailable, message: "Loading this view controller from a nib is unsupported")
  15. public override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) {
  16. super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil)
  17. }
  18. @available(*, unavailable, message: "Loading this view controller from a nib is unsupported")
  19. public required init(coder aDecoder: NSCoder) {
  20. fatalError("Loading this view controller from a nib is unsupported")
  21. }
  22. }