-
Standard frame duration
Declaration
Swift
static let frameAnimDuration: TimeInterval
-
The toolbar used to set the
titleView
,leftBarButtonItems
,rightBarButtonItems
Declaration
Swift
let toolbar: UIToolbar
-
The title view displayed in the toolbar. This view is sized and centered between the
leftBarButtonItems
andrightBarButtonItems
. This is prioritized overtitle
.Declaration
Swift
var titleView: AXOverlayTitleViewProtocol? { get set }
-
The bar button item used internally to display the
titleView
attribute in the toolbar.Declaration
Swift
var titleViewBarButtonItem: UIBarButtonItem?
-
The title displayed in the toolbar. This string is centered between the
leftBarButtonItems
andrightBarButtonItems
. OverwritesinternalTitle
.Declaration
Swift
var title: String? { get set }
-
The title displayed in the toolbar. This string is centered between the
leftBarButtonItems
andrightBarButtonItems
. This is used internally by the library to set a default title. Overwritten bytitle
.Declaration
Swift
var internalTitle: String? { get set }
-
The bar button item used internally to display the
title
attribute in the toolbar.Declaration
Swift
let titleBarButtonItem: UIBarButtonItem
-
The bar button item that appears in the top left corner of the overlay.
Declaration
Swift
var leftBarButtonItem: UIBarButtonItem? { get set }
-
The bar button items that appear in the top left corner of the overlay.
Declaration
Swift
var leftBarButtonItems: [UIBarButtonItem]? { get set }
-
The bar button item that appears in the top right corner of the overlay.
Declaration
Swift
var rightBarButtonItem: UIBarButtonItem? { get set }
-
The bar button items that appear in the top right corner of the overlay.
Declaration
Swift
var rightBarButtonItems: [UIBarButtonItem]? { get set }
-
The caption view to be used in the overlay.
Declaration
Swift
var captionView: AXCaptionViewProtocol { get set }
-
Whether or not to animate
captionView
changes. Defaults to true.Declaration
Swift
var animateCaptionViewChanges: Bool { get set }
-
The inset of the contents of the
OverlayView
. Use this property to adjust layout for things such as status bar height. For internal use only.Declaration
Swift
var contentInset: UIEdgeInsets { get set }
-
Container to embed all content anchored at the top of the
overlayView
. Add custom subviews to the top container in the order that you wish to stack them. These must be self-sizing views.Declaration
Swift
var topStackContainer: AXStackableViewContainer!
-
Container to embed all content anchored at the bottom of the
overlayView
. Add custom subviews to the bottom container in the order that you wish to stack them. These must be self-sizing views.Declaration
Swift
var bottomStackContainer: AXStackableViewContainer!
-
PerformAfterShowInterfaceCompletion
Declaration
Swift
func performAfterShowInterfaceCompletion(_ closure: @escaping () -> Void)
Parameters
closure
Completion
-
Show or hide interface
Declaration
Swift
func setShowInterface(_ show: Bool, animated: Bool, alongside closure: (() -> Void)? = nil, completion: ((Bool) -> Void)? = nil)
Parameters
show
Whether to show
animated
Whether to animate
closure
Alongside closure
completion
Completion closure
-
Update caption view
Declaration
Swift
func updateCaptionView(photo: AXPhotoProtocol)
Parameters
photo
AXPhotoProtocol