realm/realm-cocoa — pull request #839 by alazier (2014-08-25 20:03:25+00:00)
Title: [WIP] Perform queries on demand

This creates TableViews on demand rather than executing queries on RLMArray creation. This also fixes the bug when re-sorting RLMArrays and other issues caused by not holding onto the query used when creating a TableView.