]> git.saurik.com Git - cydia.git/blobdiff - CyteKit/TabBarController.mm
Cache sorts (really really important for Chinese).
[cydia.git] / CyteKit / TabBarController.mm
index 7a4ead30b30fa1c41b124bbc1e9b5c2320a22f99..35a2bd0f6717dd8893e9fa94d3faecd19f48c227 100644 (file)
     _H<UIViewController> remembered_;
 }
 
+- (NSArray *) navigationURLCollection {
+    NSMutableArray *items([NSMutableArray array]);
+
+    // XXX: Should this deal with transient view controllers?
+    for (id navigation in [self viewControllers]) {
+        NSArray *stack = [navigation performSelector:@selector(navigationURLCollection)];
+        if (stack != nil)
+            [items addObject:stack];
+    }
+
+    return items;
+}
+
 - (void) didReceiveMemoryWarning {
     [super didReceiveMemoryWarning];