A port of the example from Connecting NSOutlineView to Core Data in 10.6 Part 1: Ordered Trees to rubymotion.