Commit b3f16f78 by Daniel Dahan

development: removed @IBDesignable from Material issue-497

parent d3ea4e7b
...@@ -59,7 +59,6 @@ public enum BottomNavigationTransitionAnimation: Int { ...@@ -59,7 +59,6 @@ public enum BottomNavigationTransitionAnimation: Int {
case fade case fade
} }
@IBDesignable
open class BottomNavigationController: UITabBarController, UITabBarControllerDelegate { open class BottomNavigationController: UITabBarController, UITabBarControllerDelegate {
/// The transition animation to use when selecting a new tab. /// The transition animation to use when selecting a new tab.
open var transitionAnimation = BottomNavigationTransitionAnimation.fade open var transitionAnimation = BottomNavigationTransitionAnimation.fade
......
...@@ -37,7 +37,6 @@ extension UITabBarItem { ...@@ -37,7 +37,6 @@ extension UITabBarItem {
} }
} }
@IBDesignable
open class BottomTabBar: UITabBar { open class BottomTabBar: UITabBar {
/// Automatically aligns the BottomNavigationBar to the superview. /// Automatically aligns the BottomNavigationBar to the superview.
open var isAlignedToParentAutomatically = true open var isAlignedToParentAutomatically = true
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
import UIKit import UIKit
@IBDesignable
@objc(Button) @objc(Button)
open class Button: UIButton { open class Button: UIButton {
/** /**
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
import UIKit import UIKit
@IBDesignable
@objc(MaterialCollectionReusableView) @objc(MaterialCollectionReusableView)
open class MaterialCollectionReusableView: UICollectionReusableView { open class MaterialCollectionReusableView: UICollectionReusableView {
/** /**
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
import UIKit import UIKit
@IBDesignable
open class CollectionView: UICollectionView { open class CollectionView: UICollectionView {
/// A preset wrapper around contentInset. /// A preset wrapper around contentInset.
open var contentEdgeInsetsPreset: EdgeInsets { open var contentEdgeInsetsPreset: EdgeInsets {
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
import UIKit import UIKit
@IBDesignable
@objc(CollectionViewCell) @objc(CollectionViewCell)
open class CollectionViewCell: UICollectionViewCell { open class CollectionViewCell: UICollectionViewCell {
/// A reference to the divider. /// A reference to the divider.
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
import UIKit import UIKit
@IBDesignable
open class Label: UILabel { open class Label: UILabel {
/** /**
:name: layerClass :name: layerClass
......
...@@ -48,7 +48,6 @@ extension UIViewController { ...@@ -48,7 +48,6 @@ extension UIViewController {
} }
} }
@IBDesignable
open class MenuController: RootController { open class MenuController: RootController {
/// Reference to the MenuView. /// Reference to the MenuView.
open private(set) lazy var menu: Menu = Menu() open private(set) lazy var menu: Menu = Menu()
......
...@@ -38,7 +38,6 @@ public enum NavigationBarStyle: Int { ...@@ -38,7 +38,6 @@ public enum NavigationBarStyle: Int {
case large case large
} }
@IBDesignable
open class NavigationBar: UINavigationBar { open class NavigationBar: UINavigationBar {
/// A reference to the divider. /// A reference to the divider.
open internal(set) var divider: Divider! open internal(set) var divider: Divider!
......
...@@ -42,7 +42,6 @@ extension UINavigationController { ...@@ -42,7 +42,6 @@ extension UINavigationController {
} }
} }
@IBDesignable
open class NavigationController: UINavigationController { open class NavigationController: UINavigationController {
/** /**
An initializer that initializes the object with a NSCoder object. An initializer that initializes the object with a NSCoder object.
......
...@@ -120,7 +120,6 @@ public protocol NavigationDrawerControllerDelegate { ...@@ -120,7 +120,6 @@ public protocol NavigationDrawerControllerDelegate {
optional func navigationDrawerStatusBarHiddenState(navigationDrawerController: NavigationDrawerController, hidden: Bool) optional func navigationDrawerStatusBarHiddenState(navigationDrawerController: NavigationDrawerController, hidden: Bool)
} }
@IBDesignable
@objc(NavigationDrawerController) @objc(NavigationDrawerController)
open class NavigationDrawerController: RootController, UIGestureRecognizerDelegate { open class NavigationDrawerController: RootController, UIGestureRecognizerDelegate {
/** /**
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
import UIKit import UIKit
@IBDesignable
open class RootController: UIViewController { open class RootController: UIViewController {
/// Device status bar style. /// Device status bar style.
open var statusBarStyle: UIStatusBarStyle { open var statusBarStyle: UIStatusBarStyle {
......
...@@ -48,7 +48,6 @@ extension UIViewController { ...@@ -48,7 +48,6 @@ extension UIViewController {
} }
} }
@IBDesignable
open class StatusBarController: RootController { open class StatusBarController: RootController {
/// A reference to the statusBarView. /// A reference to the statusBarView.
open private(set) lazy var statusBarView = View() open private(set) lazy var statusBarView = View()
......
...@@ -59,7 +59,6 @@ public protocol SwitchControlDelegate { ...@@ -59,7 +59,6 @@ public protocol SwitchControlDelegate {
} }
@objc(SwitchControl) @objc(SwitchControl)
@IBDesignable
open class SwitchControl: UIControl { open class SwitchControl: UIControl {
/// An internal reference to the switchState public property. /// An internal reference to the switchState public property.
private var internalSwitchControlState: SwitchControlState = .off private var internalSwitchControlState: SwitchControlState = .off
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
import UIKit import UIKit
@IBDesignable
open class TableViewCell: UITableViewCell { open class TableViewCell: UITableViewCell {
/** /**
A CAShapeLayer used to manage elements that would be affected by A CAShapeLayer used to manage elements that would be affected by
......
...@@ -32,7 +32,6 @@ import UIKit ...@@ -32,7 +32,6 @@ import UIKit
public protocol TextFieldDelegate: UITextFieldDelegate {} public protocol TextFieldDelegate: UITextFieldDelegate {}
@IBDesignable
open class TextField: UITextField { open class TextField: UITextField {
/// Default size when using AutoLayout. /// Default size when using AutoLayout.
open override var intrinsicContentSize: CGSize { open override var intrinsicContentSize: CGSize {
......
...@@ -33,7 +33,6 @@ import UIKit ...@@ -33,7 +33,6 @@ import UIKit
@objc(TextViewDelegate) @objc(TextViewDelegate)
public protocol TextViewDelegate : UITextViewDelegate {} public protocol TextViewDelegate : UITextViewDelegate {}
@IBDesignable
@objc(TextView) @objc(TextView)
public class TextView: UITextView { public class TextView: UITextView {
/// A property that accesses the backing layer's backgroundColor. /// A property that accesses the backing layer's backgroundColor.
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
import UIKit import UIKit
@IBDesignable
@objc(View) @objc(View)
open class View: UIView { open class View: UIView {
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment