Photos Changes for Objective-C
Photos
PHAssetCollectionChangeRequest.h
Declaration | |
---|---|
From | + (instancetype)changeRequestForAssetCollection:(PHAssetCollection *)assetCollection assets:(PHFetchResult *)assets |
To | + (instancetype)changeRequestForAssetCollection:(PHAssetCollection *)assetCollection assets:(PHFetchResult<PHAsset *> *)assets |
PHChange.h
Declaration | |
---|---|
From | + (instancetype)changeDetailsFromFetchResult:(PHFetchResult *)fromResult toFetchResult:(PHFetchResult *)toResult changedObjects:(NSArray<PHObject *> *)changedObjects |
To | + (instancetype)changeDetailsFromFetchResult:(PHFetchResult<ObjectType> *)fromResult toFetchResult:(PHFetchResult<ObjectType> *)toResult changedObjects:(NSArray<ObjectType> *)changedObjects |
Declaration | |
---|---|
From | @property(atomic, strong, readonly) NSArray<__kindof PHObject *> *changedObjects |
To | @property(atomic, strong, readonly) NSArray<ObjectType> *changedObjects |
Declaration | |
---|---|
From | @property(atomic, strong, readonly) PHFetchResult *fetchResultAfterChanges |
To | @property(atomic, strong, readonly) PHFetchResult<ObjectType> *fetchResultAfterChanges |
Declaration | |
---|---|
From | @property(atomic, strong, readonly) PHFetchResult *fetchResultBeforeChanges |
To | @property(atomic, strong, readonly) PHFetchResult<ObjectType> *fetchResultBeforeChanges |
Declaration | |
---|---|
From | @property(atomic, strong, readonly) NSArray<__kindof PHObject *> *insertedObjects |
To | @property(atomic, strong, readonly) NSArray<ObjectType> *insertedObjects |
Declaration | |
---|---|
From | @property(atomic, strong, readonly) NSArray<__kindof PHObject *> *removedObjects |
To | @property(atomic, strong, readonly) NSArray<ObjectType> *removedObjects |
Declaration | |
---|---|
From | @property(atomic, strong, readonly) __kindof PHObject *objectAfterChanges |
To | @property(atomic, strong, readonly) ObjectType objectAfterChanges |
Declaration | |
---|---|
From | @property(atomic, strong, readonly) __kindof PHObject *objectBeforeChanges |
To | @property(atomic, strong, readonly) ObjectType objectBeforeChanges |
PHCollectionListChangeRequest.h
Declaration | |
---|---|
From | + (instancetype)changeRequestForCollectionList:(PHCollectionList *)collectionList childCollections:(PHFetchResult *)childCollections |
To | + (instancetype)changeRequestForCollectionList:(PHCollectionList *)collectionList childCollections:(PHFetchResult<__kindof PHCollection *> *)childCollections |