Index

RBManagedVisualEffect.swift

Enumerations

Classes


RBManagedVisualEffect

Provides an easy method to wrap a UIView within a UIVisualEffectView with blur and vibrancy effects.

Properties

The main view.
public var view UIView { get }

The parent view that should contain the managed view.
public var parentView UIView { get }

The effect type.
public var effectType RBVisualEffectType { get set }

The managed view. Depending on the RBVisualEffectType this will either be the view (if effectType = RBVisualEffectType.none) or a UIVisualEffectView.
public var managedView UIView? { get }

The UIVisualEffectView if an effect has been applied.
public var visualEffectView UIVisualEffectView? { get }

The UIVisualEffectView that corresponds to the UIVibrancyEffect if a effectType with vibrancy has been applied.
public var vibrancyEffectView UIVisualEffectView? { get }

The UIVisualEffectView that corresponds to the UIVibrancyEffect if a effectType with vibrancy has been applied.
public var wrapperViews [UIView]? { get set }

Functions

Sets the managedView frame to the given frame. If an effectType is applied the underlying UIVisualEffectViews as well as the main view will be adjusted to match the frame size.
@param frame : The frame to use.
public func layout(withFrame frame: CGRect)