---
title: slideshowWillStart()
framework: quartz
role: symbol
role_heading: Instance Method
path: quartz/ikslideshowdatasource/slideshowwillstart()
---

# slideshowWillStart()

Performs custom tasks when the slideshow is about to start.

## Declaration

```swift
optional func slideshowWillStart()
```

## Discussion

Discussion Image Kit invokes this method when the slideshow is about to start. Implement this method to perform custom tasks at that time.

## See Also

### Related Documentation

- [IKSlideshowDataSource](quartz/ikslideshowdatasource.md)

### Performing Custom Tasks

- [slideshowDidStop()](quartz/ikslideshowdatasource/slideshowdidstop().md)
- [slideshowDidChangeCurrentIndex(_:)](quartz/ikslideshowdatasource/slideshowdidchangecurrentindex(_:).md)
