mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-28 13:47:57 +03:00
21 lines
600 B
Text
21 lines
600 B
Text
#import "SettingsListSelectorViewController.h"
|
|
|
|
@implementation SettingsListSelectorViewController
|
|
|
|
- (void)viewDidAppear:(BOOL)animated
|
|
{
|
|
UITableViewCell* cell = [self.tableView cellForRowAtIndexPath:[NSIndexPath indexPathForRow:self.value inSection:0]];
|
|
if(cell != nil)
|
|
{
|
|
cell.accessoryType = UITableViewCellAccessoryCheckmark;
|
|
}
|
|
}
|
|
|
|
- (void)tableView:(UITableView*)tableView didSelectRowAtIndexPath:(NSIndexPath*)indexPath
|
|
{
|
|
self.value = [indexPath row];
|
|
[tableView deselectRowAtIndexPath:indexPath animated:YES];
|
|
[self performSegueWithIdentifier:@"returnToSettings" sender:self];
|
|
}
|
|
|
|
@end
|