---
title: "slideshowItem(at:)"
framework: quartz
role: symbol
role_heading: Instance Method
path: "quartz/ikslideshowdatasource/slideshowitem(at:)"
---

# slideshowItem(at:)

Returns the item for a given index

## Declaration

```swift
func slideshowItem(at index: Int) -> Any!
```

## Parameters

- `index`: An index of an item in the slideshow.

## Return Value

Return Value The object that corresponds to the item at the specified index. The item can be any of the following objects: NSImage, NSString (to specify a path name), NSURL, FileWrapper, CGImage, or PDFPage.

## Discussion

Discussion Your data source must implement this method.

## See Also

### Providing Slideshow Information

- [numberOfSlideshowItems()](quartz/ikslideshowdatasource/numberofslideshowitems().md)
- [nameOfSlideshowItem(at:)](quartz/ikslideshowdatasource/nameofslideshowitem(at:).md)
- [canExportSlideshowItem(at:toApplication:)](quartz/ikslideshowdatasource/canexportslideshowitem(at:toapplication:).md)
