Speaking of iPadOS, I recently read about a useful gesture that involves one of the OS’s most simple gestures: the long press. To wit, in OmniFocus, you can collapse and expand all projects in a folder:
There is a corresponding keyboard shortcut as well. Like the shift-click, command-click, option-click, and other combinations, you can in fact discover quite a bit by experimenting.