1 /* xscreensaver, Copyright (c) 2012 Jamie Zawinski <jwz@jwz.org>
3 * Permission to use, copy, modify, distribute, and sell this software and its
4 * documentation for any purpose is hereby granted without fee, provided that
5 * the above copyright notice appear in all copies and that both that
6 * copyright notice and this permission notice appear in supporting
7 * documentation. No representations are made about the suitability of this
8 * software for any purpose. It is provided "as is" without express or
11 * This implements the top-level screen-saver selection list in the iOS app.
16 #import <UIKit/UIKit.h>
18 @interface SaverListController : UITableViewController {
20 int active_section_count;
21 NSMutableArray *list_by_letter[26]; // 27 to get "#" after "Z".
22 NSMutableArray *letter_sections;
23 NSMutableArray *section_titles;
24 NSDictionary *descriptions;
28 NSIndexPath *last_tap;
31 - (id)initWithNames:(NSArray *)names descriptions:(NSDictionary *)descs;
32 - (void) reload:(NSArray *)names descriptions:(NSDictionary *)descs;
33 - (void) scrollTo:(NSString *)name;