Explorar el Código

Add • indexes for quickly scrolling to explorer sections

Tanner Bennett hace 6 años
padre
commit
3226cbc8c4
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      Classes/ObjectExplorers/FLEXObjectExplorerViewController.m

+ 6 - 0
Classes/ObjectExplorers/FLEXObjectExplorerViewController.m

@@ -309,6 +309,12 @@
     return UITableViewAutomaticDimension;
     return UITableViewAutomaticDimension;
 }
 }
 
 
+- (NSArray<NSString *> *)sectionIndexTitlesForTableView:(UITableView *)tableView {
+    return [self.sections flex_mapped:^id(FLEXExplorerSection *obj, NSUInteger idx) {
+        return @"⦁";
+    }];
+}
+
 
 
 #pragma mark - UITableViewDelegate
 #pragma mark - UITableViewDelegate