Objective-C infrastructure for managing search results