---
title: "setAnimates(_:)"
framework: quartz
role: symbol
role_heading: Instance Method
path: "quartz/ikimagebrowserview/setanimates(_:)"
---

# setAnimates(_:)

Controls whether the receiver animates reordering and changes of the data source.

## Declaration

```swift
func setAnimates(_ flag: Bool)
```

## Parameters

- `flag`: A BOOL value that specifies whether the receiver animates reordering and changes of the data source.

## See Also

### Reordering and Groups Items

- [selectionIndexes()](quartz/ikimagebrowserview/selectionindexes().md)
- [setSelectionIndexes(_:byExtendingSelection:)](quartz/ikimagebrowserview/setselectionindexes(_:byextendingselection:).md)
- [setAllowsMultipleSelection(_:)](quartz/ikimagebrowserview/setallowsmultipleselection(_:).md)
- [allowsMultipleSelection()](quartz/ikimagebrowserview/allowsmultipleselection().md)
- [setAllowsEmptySelection(_:)](quartz/ikimagebrowserview/setallowsemptyselection(_:).md)
- [allowsEmptySelection()](quartz/ikimagebrowserview/allowsemptyselection().md)
- [setAllowsReordering(_:)](quartz/ikimagebrowserview/setallowsreordering(_:).md)
- [allowsReordering()](quartz/ikimagebrowserview/allowsreordering().md)
- [animates()](quartz/ikimagebrowserview/animates().md)
- [expandGroup(at:)](quartz/ikimagebrowserview/expandgroup(at:).md)
- [collapseGroup(at:)](quartz/ikimagebrowserview/collapsegroup(at:).md)
- [isGroupExpanded(at:)](quartz/ikimagebrowserview/isgroupexpanded(at:).md)
