-
Notifications
You must be signed in to change notification settings - Fork 6
ADAssetBrowserController
duzexu edited this page Sep 18, 2021
·
3 revisions
Controller to browser asset in big mode.
public class ADAssetBrowserController: UIViewController ADAssetBrowserInteractiveTransitionDelegate, ADAssetBrowserTransitionContextFrom, UICollectionViewDataSource, UICollectionViewDelegateFlowLayout, UINavigationControllerDelegate, UIViewController
The data source of browser assets.
public var dataSource: ADAssetBrowserDataSource!View to display asset.
public var collectionView: UICollectionView!public override var prefersStatusBarHidden: Bool public override var preferredStatusBarStyle: UIStatusBarStyle public override func viewDidLoad() public override func viewWillAppear(_ animated: Bool) public override func viewWillDisappear(_ animated: Bool) Called when return to thumbnail controller. Subclass can override to refresh thumbnail controller.
open func didSelectsUpdate() Called when finish selection. Subclass can override to do something.
open func finishSelection() Module_ImageEdit-
Called when image edit finished.
open func didImageEditInfoUpdate(_ info: ADImageEditInfo)
Indicated current asset can select or not. Subclass can override to do something.
open func canSelectWithCurrentIndex() -> Bool If true, means you can select. Otherwise can't.
public func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, minimumInteritemSpacingForSectionAt section: Int) -> CGFloat public func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, minimumLineSpacingForSectionAt section: Int) -> CGFloat public func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, insetForSectionAt section: Int) -> UIEdgeInsets public func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize public func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int public func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell public func collectionView(_ collectionView: UICollectionView, willDisplay cell: UICollectionViewCell, forItemAt indexPath: IndexPath) public func collectionView(_ collectionView: UICollectionView, didEndDisplaying cell: UICollectionViewCell, forItemAt indexPath: IndexPath) public func scrollViewDidScroll(_ scrollView: UIScrollView) public func navigationController(_ navigationController: UINavigationController, animationControllerFor operation: UINavigationController.Operation, from fromVC: UIViewController, to toVC: UIViewController) -> UIViewControllerAnimatedTransitioning? public func navigationController(_ navigationController: UINavigationController, interactionControllerFor animationController: UIViewControllerAnimatedTransitioning) -> UIViewControllerInteractiveTransitioning? Generated at 2022-03-28T09:06:08+0000 using swift-doc 1.0.0-rc.1.
Types
- ADAddPhotoCell
- ADAddPhotoCell.Key
- ADAlbumListCell
- ADAlbumListCell.Key
- ADAlbumListController
- ADAlbumListDataSource
- ADAlbumModel
- ADAlbumSelectOptions
- ADAlbumType
- ADAsset
- ADAssetBrowserController
- ADAssetBrowserDataSource
- ADAssetBrowserOptions
- ADAssetListDataSource
- ADAssetModel
- ADAssetModel.MediaType
- ADAssetModel.SelectStatus
- ADAssetResult
- ADAssetSelectOptions
- ADBrowserToolBarCell
- ADBrowserToolBarCell.Key
- ADCameraCell
- ADCameraCell.Key
- ADClipInfo
- ADConstraintParams
- ADImageEditController
- ADImageEditInfo
- ADImageEditTools
- ADImageSource
- ADImageStickerContentView
- ADImageStickerDataSource
- ADImageStickerDataSource.StickerItem
- ADImageStickerDataSource.StickerSection
- ADInteractStrategy
- ADInteractType
- ADInteractZIndex
- ADLocale
- ADLocale.LocaleKey
- ADPhotoKitConfig
- ADPhotoKitConfiguration
- ADPhotoKitConfiguration.ThumbnailControllerLayout
- ADPhotoKitUI
- ADPhotoManager
- ADPhotoManager.AssetResultType
- ADPhotoSelectParams
- ADPickerStyle
- ADRotation
- ADSelectAssetModel
- ADStickerContentView
- ADStickerInteractView
- ADTextSticker
- ADTextSticker.Style
- ADThumbnailListCell
- ADThumbnailListCell.Appearance
- ADThumbnailListCell.Key
- ADThumbnailListCell.State
- ADThumbnailViewController
- ADVideoSource
Protocols
- ADAlbumListCellConfigurable
- ADAlbumListNavBarConfigurable
- ADAlertConfigurable
- ADAssetBrowsable
- ADBrowserCellConfigurable
- ADBrowserNavBarConfigurable
- ADBrowserToolBarConfigurable
- ADDataSourceReloadable
- ADImageBrowserCellConfigurable
- ADImageClipConfigurable
- ADImageEditTool
- ADImageEditToolCodable
- ADImageStickerSelectConfigurable
- ADProgressConfigurable
- ADProgressHUDConfigurable
- ADSourceImageEditable
- ADSourceImageModify
- ADTextStickerEditConfigurable
- ADThumbnailCellConfigurable
- ADThumbnailNavBarConfigurable
- ADThumbnailToolBarConfigurable
- ADToolConfigable
- ADToolInteractable
- ADVideoBrowserCellConfigurable
Global Typealiases
- ADAlbumListCellable
- ADAlbumListNavBarable
- ADBrowserCellable
- ADBrowserNavBarable
- ADBrowserToolBarable
- ADClipingInfo
- ADImageBrowserCellable
- ADImageClipable
- ADImageStickerSelectable
- ADProgressHUDable
- ADProgressableable
- ADTextStickerColor
- ADTextStickerEditable
- ADThumbnailCellable
- ADThumbnailNavBarable
- ADThumbnailToolBarable
- ADVideoBrowserCellable