ViewElement
@objc(IAVDViewElement)
public final class ViewElement : NSObject, Element
An element that represents a UIView.
-
Declaration
Swift
public var label: ElementLabel { get }
-
Declaration
Swift
public var frame: CGRect { get }
-
Declaration
Swift
public var isHidden: Bool { get }
-
Declaration
Swift
public var snapshotImage: CGImage? { get }
-
Declaration
Swift
public var children: [Element] { get }
-
Declaration
Swift
public var shortDescription: String { get }
-
Declaration
Swift
override public var description: String { get }
-
Constructs a new
ViewElement
Declaration
Swift
@objc public init(view: UIView)
Parameters
view
The
UIView
to create the element for.