A RubyMotion port of descendants_tracker