---
title: imageVersion()
framework: objectivec
role: symbol
role_heading: Instance Method
path: objectivec/nsobject-swift.class/imageversion()
---

# imageVersion()

Returns the version of the item.

## Declaration

```swift
func imageVersion() -> Int
```

## Return Value

Return Value The version of the item.

## Discussion

Discussion This method is optional. The receiver can return a new version to let the image browser know that it should not use its cache for the item.
