AXPhotosDataSource

class AXPhotosDataSource : NSObject

AXPhotosDataSource

  • AXPhotosPrefetchBehavior

    See more

    Declaration

    Swift

    enum AXPhotosPrefetchBehavior : Int
  • The fetching behavior that the PhotosViewController should take action with. conservative, only the current photo will be loaded. regular (default), the current photo, the previous photo, and the next photo will be loaded. aggressive, the current photo, the previous two photos, and the next two photos will be loaded.

    Declaration

    Swift

    fileprivate(set) var prefetchBehavior: AXPhotosPrefetchBehavior
  • The initial photo index to display upon presentation.

    Declaration

    Swift

    fileprivate(set) var initialPhotoIndex: Int

DataSource