MimiBulletinItem
open class MimiBulletinItem : MimiBulletinItemable
An individual item that can be displayed as a bulletin.
-
Controller for the bulletin.
Declaration
Swift
public internal(set) var controller: MimiBulletinController? { get }
-
View that the bulletin is displayed in (if loaded)
Declaration
Swift
public var view: UIView? { get }
-
Whether the bulletin can be dismissed by the user by tapping outside of the bulletin bounds.
Declaration
Swift
public var isDismissable: Bool
-
Whether the bulletin requires the full width of the container.
Declaration
Swift
open var isFullWidth: Bool { get }
-
Content inset of the item within the container.
Declaration
Swift
internal(set) open var contentInset: UIEdgeInsets { get }
-
Standard content inset that is applied to bulletin items if no custom layout behavior is specified.
Declaration
Swift
internal(set) open var standardContentInset: UIEdgeInsets { get }
-
Object that acts as a delegate to the bulletin for interaction events.
Declaration
Swift
open weak var interactionDelegate: MimiBulletinItemInteractionDelegate?
-
Create and return views in the order to be added to the bulletin’s view.
Declaration
Swift
open func makeViews(maker: MimiBulletinViewMaker) -> [UIView]
Parameters
maker
A factory for popular view components.
-
Called after the bulletin’s view is loaded into memory.
Declaration
Swift
open func didLoad()
-
Called when the bulletin’s view is about to be added to the embedding controller’s view heirarchy.
Declaration
Swift
open func willAppear(animated: Bool)
Parameters
animated
Whether the view is being added using an animation.
-
Called after the bulletin’s view was added to the embedding controller’s view heirarchy.
Declaration
Swift
open func didAppear(animated: Bool)
Parameters
animated
Whether the view was added using an animation.
-
Called when the bulletin’s view is about to be removed from the embedding controller’s view heirarchy.
Declaration
Swift
open func willDisappear(animated: Bool)
Parameters
animated
Whether the view is being removed using an animation.
-
Called after the bulletin’s view was removed from the embedding controller’s view heirarchy.
Declaration
Swift
open func didDisappear(animated: Bool)
Parameters
animated
Whether the view was removed using an animation.
-
Called when the embedding controller has just laid out its subviews.
Declaration
Swift
open func didLayoutSubviews()