<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.11.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameplayKit",
  "identifier" : "/documentation/GameplayKit/GKRTreeSplitStrategy",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "GameplayKit"
    ],
    "preciseIdentifier" : "c:@E@GKRTreeSplitStrategy"
  },
  "title" : "GKRTreeSplitStrategy"
}
-->

# GKRTreeSplitStrategy

Options that control how a tree balances its internal structure when adding elements, used with the [`addElement(_:boundingRectMin:boundingRectMax:splitStrategy:)`](/documentation/GameplayKit/GKRTree/addElement(_:boundingRectMin:boundingRectMax:splitStrategy:)) method.

```
enum GKRTreeSplitStrategy
```

## Topics

### Constants

[`GKRTreeSplitStrategy.halve`](/documentation/GameplayKit/GKRTreeSplitStrategy/halve)

An option to split groups of elements in half based on the order they were added to the tree in.

[`GKRTreeSplitStrategy.linear`](/documentation/GameplayKit/GKRTreeSplitStrategy/linear)

An option to split groups of elements by finding a line that divides space so that half of the elements are on either side.

[`GKRTreeSplitStrategy.quadratic`](/documentation/GameplayKit/GKRTreeSplitStrategy/quadratic)

An option to split groups of elements by finding the subgroups that occupy the least area.

[`GKRTreeSplitStrategy.reduceOverlap`](/documentation/GameplayKit/GKRTreeSplitStrategy/reduceOverlap)

An option to split groups of elements by finding the subgroups whose areas overlap the least.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)