1
2
3
4
5
6
7
8
9
|
1
2
3
4
5
6
7
8
9
|
-
+
|
/*
* Copyright (c) 2016, 2017, Jonathan Schleifer <js@heap.zone>
* Copyright (c) 2016, 2017, 2018, Jonathan Schleifer <js@heap.zone>
*
* https://heap.zone/git/scrypt-pwgen.git
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice is present in all copies.
*
|
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
-
-
+
+
|
reuseIdentifier: @"site"] autorelease];
cell.textLabel.text = self.sites[indexPath.row].NSObject;
return cell;
}
- (void)searchBar:(UISearchBar *)searchBar
textDidChange:(NSString *)searchText
- (void)searchBar: (UISearchBar *)searchBar
textDidChange: (NSString *)searchText
{
self.sites = [_siteStorage sitesWithFilter: _searchBar.text.OFObject];
[_tableView reloadData];
}
- (void)tableView: (UITableView *)tableView
didSelectRowAtIndexPath: (NSIndexPath *)indexPath
|