This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ServerViewController.m | |
// HungerCraft | |
// | |
// Created by Anthony Vella on 5/31/12. | |
// Copyright (c) 2012 Aurora High School. All rights reserved. | |
// | |
#import "ServerViewController.h" | |
#import "DetailsViewController.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// DetailsViewController.m | |
// HungerCraft | |
// | |
// Created by Anthony Vella on 5/31/12. | |
// Copyright (c) 2012 Aurora High School. All rights reserved. | |
// | |
#import "DetailsViewController.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// DetailsViewController.m | |
// HungerCraft | |
// | |
// Created by Anthony Vella on 5/31/12. | |
// Copyright (c) 2012 Aurora High School. All rights reserved. | |
// | |
#import "DetailsViewController.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath | |
{ | |
[self performSegueWithIdentifier:@"ShowSelectedServers" sender:indexPath]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ServerViewController.m | |
// HungerCraft | |
// | |
// Created by Anthony Vella on 5/31/12. | |
// Copyright (c) 2012 Aurora High School. All rights reserved. | |
// | |
#import "ServerViewController.h" | |
#import "DetailsViewController.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// DetailsViewController.m | |
// HungerCraft | |
// | |
// Created by Anthony Vella on 5/31/12. | |
// Copyright (c) 2012 Aurora High School. All rights reserved. | |
// | |
#import "DetailsViewController.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// DetailsViewController.h | |
// HungerCraft | |
// | |
// Created by Anthony Vella on 5/31/12. | |
// Copyright (c) 2012 Aurora High School. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// DetailsViewController.m | |
// HungerCraft | |
// | |
// Created by Anthony Vella on 5/31/12. | |
// Copyright (c) 2012 Aurora High School. All rights reserved. | |
// | |
#import "DetailsViewController.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (IBAction)JSONLoader:(id)sender | |
{ | |
UIActivityIndicatorView *spinner = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleGray]; | |
[spinner startAnimating]; | |
self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithCustomView:spinner]; | |
[self refreshServers]; | |
self.navigationItem.leftBarButtonItem = sender; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (IBAction)JSONLoader:(id)sender | |
{ | |
UIActivityIndicatorView *spinner = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleGray]; | |
[spinner startAnimating]; | |
self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithCustomView:spinner]; | |
[self refreshServers]; | |
self.navigationItem.leftBarButtonItem = sender; |
OlderNewer