One Logo Pool Ball
Photos · IOS API REFERENCE

PHCollectionListChangeRequest

class · iOS 8.0+ · SDK 27.1

class PHCollectionListChangeRequest

Members (14)

init · iOS 8.0+

init

TypeScript
static initFor(collectionList: PHCollectionList): (PHCollectionListChangeRequest) | null
Swift declaration
convenience init?(for collectionList: PHCollectionList)
init · iOS 8.0+

init

TypeScript
static initForChildCollections(collectionList: PHCollectionList, childCollections: PHFetchResult<PHCollection>): (PHCollectionListChangeRequest) | null
Swift declaration
convenience init?(for collectionList: PHCollectionList, childCollections: PHFetchResult<PHCollection>)
init · iOS 14.2+

init

TypeScript
static initForTopLevelCollectionListUserCollections(childCollections: PHFetchResult<PHCollection>): (PHCollectionListChangeRequest) | null
Swift declaration
convenience init?(forTopLevelCollectionListUserCollections childCollections: PHFetchResult<PHCollection>)
static · iOS 8.0+

creationRequestForCollectionList

TypeScript
static creationRequestForCollectionList(title: string): PHCollectionListChangeRequest
Swift declaration
class func creationRequestForCollectionList(withTitle title: String) -> Self
static · iOS 8.0+

deleteCollectionLists

TypeScript
static deleteCollectionLists(collectionLists: SDKHandle): void
Swift declaration
class func deleteCollectionLists(_ collectionLists: any NSFastEnumeration)
method · iOS 8.0+

addChildCollections

TypeScript
addChildCollections(collections: SDKHandle): void
Swift declaration
func addChildCollections(_ collections: any NSFastEnumeration)
method · iOS 8.0+

insertChildCollections

TypeScript
insertChildCollections(collections: SDKHandle, indexes: _Foundation_IndexSet): void
Swift declaration
func insertChildCollections(_ collections: any NSFastEnumeration, at indexes: IndexSet)
method · iOS 8.0+

moveChildCollections

TypeScript
moveChildCollections(indexes: _Foundation_IndexSet, toIndex: number): void
Swift declaration
func moveChildCollections(at indexes: IndexSet, to toIndex: Int)
method · iOS 8.0+

removeChildCollections

TypeScript
removeChildCollections(collections: SDKHandle): void
Swift declaration
func removeChildCollections(_ collections: any NSFastEnumeration)
method · iOS 8.0+

removeChildCollections

TypeScript
removeChildCollectionsAt(indexes: _Foundation_IndexSet): void
Swift declaration
func removeChildCollections(at indexes: IndexSet)
method · iOS 8.0+

replaceChildCollections

TypeScript
replaceChildCollections(indexes: _Foundation_IndexSet, collections: SDKHandle): void
Swift declaration
func replaceChildCollections(at indexes: IndexSet, withChildCollections collections: any NSFastEnumeration)
get · iOS 8.0+

placeholderForCreatedCollectionList

TypeScript
get placeholderForCreatedCollectionList(): PHObjectPlaceholder
Swift declaration
var placeholderForCreatedCollectionList: PHObjectPlaceholder { get }
get · iOS 8.0+

title

TypeScript
get title(): string
Swift declaration
var title: String { get set }
set · iOS 8.0+

title

TypeScript
set title(value: string)
Swift declaration
var title: String { get set }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

PHCollectionListChangeRequest.init()

inherited init: cannot prove legal (class declares 5 custom initializers)

All Photos types →