Photos Changes for Swift
Photos
Modified PHAdjustmentData
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified PHAsset
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified PHAssetChangeRequest
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified PHAssetCollection
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified PHAssetCollectionChangeRequest
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified PHAssetCollectionSubtype [enum]
| Protocols | |
|---|---|
| From | Equatable, Hashable, RawRepresentable |
| To | -- |
Modified PHAssetCollectionType [enum]
| Protocols | |
|---|---|
| From | Equatable, Hashable, RawRepresentable |
| To | -- |
Modified PHAssetCreationRequest
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified PHAssetEditOperation [enum]
| Protocols | |
|---|---|
| From | Equatable, Hashable, RawRepresentable |
| To | -- |
Modified PHAssetMediaSubtype [struct]
| Declaration | |
|---|---|
| From | struct PHAssetMediaSubtype : OptionSetType {
init(rawValue rawValue: UInt)
static var None: PHAssetMediaSubtype { get }
static var PhotoPanorama: PHAssetMediaSubtype { get }
static var PhotoHDR: PHAssetMediaSubtype { get }
static var PhotoScreenshot: PHAssetMediaSubtype { get }
static var VideoStreamed: PHAssetMediaSubtype { get }
static var VideoHighFrameRate: PHAssetMediaSubtype { get }
static var VideoTimelapse: PHAssetMediaSubtype { get }
} |
| To | struct PHAssetMediaSubtype : OptionSetType {
init(rawValue rawValue: UInt)
static var None: PHAssetMediaSubtype { get }
static var PhotoPanorama: PHAssetMediaSubtype { get }
static var PhotoHDR: PHAssetMediaSubtype { get }
static var PhotoScreenshot: PHAssetMediaSubtype { get }
static var PhotoLive: PHAssetMediaSubtype { get }
static var VideoStreamed: PHAssetMediaSubtype { get }
static var VideoHighFrameRate: PHAssetMediaSubtype { get }
static var VideoTimelapse: PHAssetMediaSubtype { get }
} |
Modified PHAssetMediaType [enum]
| Protocols | |
|---|---|
| From | Equatable, Hashable, RawRepresentable |
| To | -- |
Modified PHAssetResource
| Declaration | Protocols | |
|---|---|---|
| From | class PHAssetResource : NSObject {
var type: PHAssetResourceType { get }
var assetLocalIdentifier: String { get }
var uniformTypeIdentifier: String { get }
var originalFilename: String { get }
class func assetResourcesForAsset(_ asset: PHAsset) -> [PHAssetResource]
} | AnyObject |
| To | class PHAssetResource : NSObject {
var type: PHAssetResourceType { get }
var assetLocalIdentifier: String { get }
var uniformTypeIdentifier: String { get }
var originalFilename: String { get }
class func assetResourcesForAsset(_ asset: PHAsset) -> [PHAssetResource]
class func assetResourcesForLivePhoto(_ livePhoto: PHLivePhoto) -> [PHAssetResource]
} | -- |
Modified PHAssetResourceCreationOptions
| Protocols | |
|---|---|
| From | AnyObject, NSCopying |
| To | NSCopying |
Modified PHAssetResourceManager
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified PHAssetResourceRequestOptions
| Protocols | |
|---|---|
| From | AnyObject, NSCopying |
| To | NSCopying |
Modified PHAssetResourceType [enum]
| Declaration | Protocols | |
|---|---|---|
| From | enum PHAssetResourceType : Int {
case Photo
case Video
case Audio
case AlternatePhoto
case FullSizePhoto
case FullSizeVideo
case AdjustmentData
case AdjustmentBasePhoto
} | Equatable, Hashable, RawRepresentable |
| To | enum PHAssetResourceType : Int {
case Photo
case Video
case Audio
case AlternatePhoto
case FullSizePhoto
case FullSizeVideo
case AdjustmentData
case AdjustmentBasePhoto
case PairedVideo
} | -- |
Modified PHAuthorizationStatus [enum]
| Protocols | |
|---|---|
| From | Equatable, Hashable, RawRepresentable |
| To | -- |
Modified PHCachingImageManager
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified PHChange
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified PHCollection
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified PHCollectionEditOperation [enum]
| Protocols | |
|---|---|
| From | Equatable, Hashable, RawRepresentable |
| To | -- |
Modified PHCollectionList
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified PHCollectionListChangeRequest
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified PHCollectionListSubtype [enum]
| Protocols | |
|---|---|
| From | Equatable, Hashable, RawRepresentable |
| To | -- |
Modified PHCollectionListType [enum]
| Protocols | |
|---|---|
| From | Equatable, Hashable, RawRepresentable |
| To | -- |
Modified PHContentEditingInput
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified PHContentEditingInputRequestOptions
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified PHContentEditingOutput
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified PHFetchOptions
| Protocols | |
|---|---|
| From | AnyObject, NSCopying |
| To | NSCopying |
Modified PHFetchResult
| Protocols | |
|---|---|
| From | AnyObject, NSCopying, NSFastEnumeration |
| To | NSCopying, NSFastEnumeration |
Modified PHFetchResultChangeDetails
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified PHImageContentMode [enum]
| Protocols | |
|---|---|
| From | Equatable, Hashable, RawRepresentable |
| To | -- |
Modified PHImageManager
| Declaration | Protocols | |
|---|---|---|
| From | class PHImageManager : NSObject {
class func defaultManager() -> PHImageManager
func requestImageForAsset(_ asset: PHAsset, targetSize targetSize: CGSize, contentMode contentMode: PHImageContentMode, options options: PHImageRequestOptions?, resultHandler resultHandler: (UIImage?, [NSObject : AnyObject]?) -> Void) -> PHImageRequestID
func requestImageDataForAsset(_ asset: PHAsset, options options: PHImageRequestOptions?, resultHandler resultHandler: (NSData?, String?, UIImageOrientation, [NSObject : AnyObject]?) -> Void) -> PHImageRequestID
func cancelImageRequest(_ requestID: PHImageRequestID)
func requestPlayerItemForVideo(_ asset: PHAsset, options options: PHVideoRequestOptions?, resultHandler resultHandler: (AVPlayerItem?, [NSObject : AnyObject]?) -> Void) -> PHImageRequestID
func requestExportSessionForVideo(_ asset: PHAsset, options options: PHVideoRequestOptions?, exportPreset exportPreset: String, resultHandler resultHandler: (AVAssetExportSession?, [NSObject : AnyObject]?) -> Void) -> PHImageRequestID
func requestAVAssetForVideo(_ asset: PHAsset, options options: PHVideoRequestOptions?, resultHandler resultHandler: (AVAsset?, AVAudioMix?, [NSObject : AnyObject]?) -> Void) -> PHImageRequestID
} | AnyObject |
| To | class PHImageManager : NSObject {
class func defaultManager() -> PHImageManager
func requestImageForAsset(_ asset: PHAsset, targetSize targetSize: CGSize, contentMode contentMode: PHImageContentMode, options options: PHImageRequestOptions?, resultHandler resultHandler: (UIImage?, [NSObject : AnyObject]?) -> Void) -> PHImageRequestID
func requestImageDataForAsset(_ asset: PHAsset, options options: PHImageRequestOptions?, resultHandler resultHandler: (NSData?, String?, UIImageOrientation, [NSObject : AnyObject]?) -> Void) -> PHImageRequestID
func cancelImageRequest(_ requestID: PHImageRequestID)
func requestLivePhotoForAsset(_ asset: PHAsset, targetSize targetSize: CGSize, contentMode contentMode: PHImageContentMode, options options: PHLivePhotoRequestOptions?, resultHandler resultHandler: (PHLivePhoto?, [NSObject : AnyObject]?) -> Void) -> PHImageRequestID
func requestPlayerItemForVideo(_ asset: PHAsset, options options: PHVideoRequestOptions?, resultHandler resultHandler: (AVPlayerItem?, [NSObject : AnyObject]?) -> Void) -> PHImageRequestID
func requestExportSessionForVideo(_ asset: PHAsset, options options: PHVideoRequestOptions?, exportPreset exportPreset: String, resultHandler resultHandler: (AVAssetExportSession?, [NSObject : AnyObject]?) -> Void) -> PHImageRequestID
func requestAVAssetForVideo(_ asset: PHAsset, options options: PHVideoRequestOptions?, resultHandler resultHandler: (AVAsset?, AVAudioMix?, [NSObject : AnyObject]?) -> Void) -> PHImageRequestID
} | -- |
Modified PHImageRequestOptions
| Protocols | |
|---|---|
| From | AnyObject, NSCopying |
| To | NSCopying |
| Protocols | |
|---|---|
| From | Equatable, Hashable, RawRepresentable |
| To | -- |
| Protocols | |
|---|---|
| From | Equatable, Hashable, RawRepresentable |
| To | -- |
Modified PHImageRequestOptionsVersion [enum]
| Protocols | |
|---|---|
| From | Equatable, Hashable, RawRepresentable |
| To | -- |
Modified PHObject
| Protocols | |
|---|---|
| From | AnyObject, NSCopying |
| To | NSCopying |
Modified PHObjectChangeDetails
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified PHObjectPlaceholder
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified PHPhotoLibrary
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified PHVideoRequestOptions
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
| Protocols | |
|---|---|
| From | Equatable, Hashable, RawRepresentable |
| To | -- |
Modified PHVideoRequestOptionsVersion [enum]
| Protocols | |
|---|---|
| From | Equatable, Hashable, RawRepresentable |
| To | -- |