Photos Changes
Photos
Removed PHAssetBurstSelectionType.value
Removed PHAssetMediaSubtype.value
Removed PHFetchResult.objectAtIndexedSubscript(Int) -> AnyObject!
Added PHAsset.location
Added PHAssetBurstSelectionType.init(rawValue: UInt)
Added PHAssetChangeRequest.location
Added PHAssetCollection.approximateLocation
Added PHAssetCollectionSubtype.AlbumMyPhotoStream
Added PHAssetCollectionSubtype.SmartAlbumUserLibrary
Added PHAssetMediaSubtype.init(rawValue: UInt)
Added PHContentEditingInput.location
Modified PHAdjustmentData.init(formatIdentifier: String!, formatVersion: String!, data: NSData!)
| Declaration | |
|---|---|
| From | init(formatIdentifier formatIdentifier: String!, formatVersion formatVersion: String!, data data: NSData!) |
| To | init!(formatIdentifier formatIdentifier: String!, formatVersion formatVersion: String!, data data: NSData!) |
Modified PHAssetBurstSelectionType [struct]
| Declaration | |
|---|---|
| From | struct PHAssetBurstSelectionType : RawOptionSetType {
init(_ value: UInt)
var value: UInt
static var None: PHAssetBurstSelectionType { get }
static var AutoPick: PHAssetBurstSelectionType { get }
static var UserPick: PHAssetBurstSelectionType { get }
} |
| To | struct PHAssetBurstSelectionType : RawOptionSetType {
init(_ rawValue: UInt)
init(rawValue rawValue: UInt)
static var None: PHAssetBurstSelectionType { get }
static var AutoPick: PHAssetBurstSelectionType { get }
static var UserPick: PHAssetBurstSelectionType { get }
} |
Modified PHAssetBurstSelectionType.init(_: UInt)
| Declaration | |
|---|---|
| From | init(_ value: UInt) |
| To | init(_ rawValue: UInt) |
Modified PHAssetChangeRequest.init(forAsset: PHAsset!)
| Declaration | |
|---|---|
| From | convenience init(forAsset asset: PHAsset!) |
| To | convenience init!(forAsset asset: PHAsset!) |
Modified PHAssetCollectionChangeRequest.init(forAssetCollection: PHAssetCollection!)
| Declaration | |
|---|---|
| From | convenience init(forAssetCollection assetCollection: PHAssetCollection!) |
| To | convenience init!(forAssetCollection assetCollection: PHAssetCollection!) |
Modified PHAssetCollectionChangeRequest.init(forAssetCollection: PHAssetCollection!, assets: PHFetchResult!)
| Declaration | |
|---|---|
| From | convenience init(forAssetCollection assetCollection: PHAssetCollection!, assets assets: PHFetchResult!) |
| To | convenience init!(forAssetCollection assetCollection: PHAssetCollection!, assets assets: PHFetchResult!) |
Modified PHAssetCollectionSubtype [enum]
| Declaration | |
|---|---|
| From | enum PHAssetCollectionSubtype : Int {
case AlbumRegular
case AlbumSyncedEvent
case AlbumSyncedFaces
case AlbumSyncedAlbum
case AlbumImported
case AlbumCloudShared
case SmartAlbumGeneric
case SmartAlbumPanoramas
case SmartAlbumVideos
case SmartAlbumFavorites
case SmartAlbumTimelapses
case SmartAlbumAllHidden
case SmartAlbumRecentlyAdded
case SmartAlbumBursts
case SmartAlbumSlomoVideos
case Any
} |
| To | enum PHAssetCollectionSubtype : Int {
case AlbumRegular
case AlbumSyncedEvent
case AlbumSyncedFaces
case AlbumSyncedAlbum
case AlbumImported
case AlbumMyPhotoStream
case AlbumCloudShared
case SmartAlbumGeneric
case SmartAlbumPanoramas
case SmartAlbumVideos
case SmartAlbumFavorites
case SmartAlbumTimelapses
case SmartAlbumAllHidden
case SmartAlbumRecentlyAdded
case SmartAlbumBursts
case SmartAlbumSlomoVideos
case SmartAlbumUserLibrary
case Any
} |
Modified PHAssetMediaSubtype [struct]
| Declaration | |
|---|---|
| From | struct PHAssetMediaSubtype : RawOptionSetType {
init(_ value: UInt)
var value: UInt
static var None: PHAssetMediaSubtype { get }
static var PhotoPanorama: PHAssetMediaSubtype { get }
static var PhotoHDR: PHAssetMediaSubtype { get }
static var VideoStreamed: PHAssetMediaSubtype { get }
static var VideoHighFrameRate: PHAssetMediaSubtype { get }
static var VideoTimelapse: PHAssetMediaSubtype { get }
} |
| To | struct PHAssetMediaSubtype : RawOptionSetType {
init(_ rawValue: UInt)
init(rawValue rawValue: UInt)
static var None: PHAssetMediaSubtype { get }
static var PhotoPanorama: PHAssetMediaSubtype { get }
static var PhotoHDR: PHAssetMediaSubtype { get }
static var VideoStreamed: PHAssetMediaSubtype { get }
static var VideoHighFrameRate: PHAssetMediaSubtype { get }
static var VideoTimelapse: PHAssetMediaSubtype { get }
} |
Modified PHAssetMediaSubtype.init(_: UInt)
| Declaration | |
|---|---|
| From | init(_ value: UInt) |
| To | init(_ rawValue: UInt) |
Modified PHCollectionListChangeRequest.init(forCollectionList: PHCollectionList!)
| Declaration | |
|---|---|
| From | convenience init(forCollectionList collectionList: PHCollectionList!) |
| To | convenience init!(forCollectionList collectionList: PHCollectionList!) |
Modified PHCollectionListChangeRequest.init(forCollectionList: PHCollectionList!, childCollections: PHFetchResult!)
| Declaration | |
|---|---|
| From | convenience init(forCollectionList collectionList: PHCollectionList!, childCollections childCollections: PHFetchResult!) |
| To | convenience init!(forCollectionList collectionList: PHCollectionList!, childCollections childCollections: PHFetchResult!) |
Modified PHContentEditingOutput.init(contentEditingInput: PHContentEditingInput!)
| Declaration | |
|---|---|
| From | init(contentEditingInput contentEditingInput: PHContentEditingInput!) |
| To | init!(contentEditingInput contentEditingInput: PHContentEditingInput!) |
Modified PHContentEditingOutput.init(placeholderForCreatedAsset: PHObjectPlaceholder!)
| Declaration | |
|---|---|
| From | init(placeholderForCreatedAsset placeholderForCreatedAsset: PHObjectPlaceholder!) |
| To | init!(placeholderForCreatedAsset placeholderForCreatedAsset: PHObjectPlaceholder!) |
Modified PHFetchResultChangeDetails.init(fromFetchResult: PHFetchResult!, toFetchResult: PHFetchResult!, changedObjects:[AnyObject]!)
| Declaration | |
|---|---|
| From | convenience init(fromFetchResult fromResult: PHFetchResult!, toFetchResult toResult: PHFetchResult!, changedObjects changedObjects: [AnyObject]!) |
| To | convenience init!(fromFetchResult fromResult: PHFetchResult!, toFetchResult toResult: PHFetchResult!, changedObjects changedObjects: [AnyObject]!) |