Cargo Features

[dependencies]
objc2-photos-ui = { version = "0.2.2", default-features = false, features = ["std", "alloc", "all", "bitflags", "block2", "objc2-app-kit", "objc2-core-location", "objc2-map-kit", "objc2-photos", "PHContentEditingController", "PHLivePhotoView", "PHPicker", "PHProjectExtensionContext", "PHProjectExtensionController", "PHProjectInfo", "PHProjectTypeDescription", "PHProjectTypeDescriptionDataSource", "PhotosUITypes"] }
default = std

The std feature is set by default whenever objc2-photos-ui is added without default-features = false somewhere in the dependency tree.

std default = alloc

Currently not possible to turn off, put here for forwards compatibility.

Enables std of optional bitflags, optional block2, objc2, optional objc2-app-kit, optional objc2-core-location, objc2-foundation, optional objc2-map-kit, and optional objc2-photos

alloc std

Enables alloc of optional block2, objc2, optional objc2-app-kit, optional objc2-core-location, objc2-foundation, optional objc2-map-kit, and optional objc2-photos

all = PHContentEditingController, PHLivePhotoView, PHPicker, PHProjectExtensionContext, PHProjectExtensionController, PHProjectInfo, PHProjectTypeDescription, PHProjectTypeDescriptionDataSource, PhotosUITypes, bitflags, block2, objc2-app-kit, objc2-core-location, objc2-map-kit, objc2-photos
bitflags PHPicker? all?

Enables bitflags, bitflags of objc2-foundation, optional objc2-app-kit, optional objc2-map-kit, and optional objc2-photos

block2 all?

Enables block2, block2 of objc2-foundation, optional objc2-app-kit, optional objc2-core-location, optional objc2-map-kit, and optional objc2-photos

objc2-app-kit all?

Enables objc2-app-kit, objc2-app-kit of optional objc2-map-kit and optional objc2-photos

objc2-core-location all?

Enables objc2-core-location, objc2-core-location of optional objc2-map-kit and optional objc2-photos

objc2-map-kit all?

Enables objc2-map-kit

objc2-photos all?

Enables objc2-photos

PHContentEditingController all?

Enables NSImage of optional objc2-app-kit, PHAdjustmentData, PHContentEditingInput and PHContentEditingOutput of optional objc2-photos

PHLivePhotoView all?

Enables NSCoder, NSGeometry and NSObject of objc2-foundation, NSAccessibilityProtocols, NSAnimation, NSAppearance, NSDragging, NSResponder, NSUserInterfaceItemIdentification and NSView of optional objc2-app-kit, PHLivePhoto of optional objc2-photos

PHPicker all? = bitflags

Enables NSArray, NSBundle, NSCoder, NSItemProvider, NSObject and NSString of objc2-foundation, NSCollectionViewCompositionalLayout, NSKeyValueBinding, NSNib, NSResponder, NSStoryboardSegue, NSUserInterfaceItemIdentification and NSViewController of optional objc2-app-kit, PHPhotoLibrary and PhotosTypes of optional objc2-photos

PHProjectExtensionContext all?

Enables NSExtensionContext and NSProgress of objc2-foundation, PHAsset, PHCollection, PHObject, PHPhotoLibrary and PHProject of optional objc2-photos

PHProjectExtensionController all?

Enables NSArray, NSError, NSExtensionContext and NSString of objc2-foundation

PHProjectInfo all?

Enables NSArray, NSAttributedString, NSDate, NSGeometry, NSObject and NSString of objc2-foundation, NSColor of optional objc2-app-kit, CLLocation of optional objc2-core-location, MKAnnotation and MKTypes of optional objc2-map-kit, PHCloudIdentifier of optional objc2-photos

PHProjectTypeDescription all?

Enables NSArray, NSAttributedString, NSObject and NSString of objc2-foundation, NSImage of optional objc2-app-kit

PHProjectTypeDescriptionDataSource all?

Enables NSArray, NSAttributedString and NSString of objc2-foundation

PhotosUITypes all?

Enables NSString of objc2-foundation