Collapses a group at the specified index.
- macOS 10.5+
The index of the group you want to collapse.
This method is declared in OS X v10.5, but an implementation was not provided until OS X v10.6. Avoid using this method in OS X v10.5.