The randomizer to be used when evaluating parts of the tree that branch randomly.
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10.0+
Some of the branches in a decision tree may not depend on an external input; instead, when evaluating the tree with the
find method, the tree automatically chooses an answer at random. (In a manually created decision tree, you can create random branches with the
create method.) The tree uses this random source when randomly choosing answers.