---
title: "changeDetailsForObject:"
framework: photos
role: symbol
role_heading: Instance Method
path: "photos/phchange/changedetailsforobject:"
---

# changeDetailsForObject:

Returns detailed change information for the specified asset or collection.

## Declaration

```occ
- (PHObjectChangeDetails *) changeDetailsForObject:(PHObject *) object;
```

## Parameters

- `object`: A doc://com.apple.photokit/documentation/Photos/PHAsset, doc://com.apple.photokit/documentation/Photos/PHAssetCollection, or doc://com.apple.photokit/documentation/Photos/PHCollectionList object.

## Return Value

Return Value A change details object, or nil if there have been no changes to the specified asset or collection.

## Discussion

Discussion When Photos calls your change observer’s photoLibraryDidChange(_:) method, get detailed change information about an asset or collection you’ve previously fetched by calling the changeDetailsForObject methods: changeDetailsForObject: changeDetails(for:) changeDetails(for:) If the asset or collection has changed since you last fetched it, the resulting PHObjectChangeDetails object describes the changes. If there are no changes between the fetched object and the current state of the asset or collection it represents in the Photos library, this method returns nil. For an asset collection or collection list, this method and the PHObjectChangeDetails object it returns describe changes only to the collection’s properties. If you are instead interested in changes to the collection’s membership, use the changeDetails(for:) method.

## See Also

### Getting Change Details

- [changeDetailsForFetchResult:](photos/phchange/changedetailsforfetchresult:.md)
