Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- // MyViewController.m
- //
- #import <QuartzCore/QuartzCore.h>
- #import "MyViewController.h"
- #import "MBProgressHUD.h"
- #import "Query.h"
- #import "QueryResponse.h"
- @interface MyViewController ()
- {
- MBProgressHUD *hud;
- }
- - (QueryResponse *)queryServiceWithQuery:(Query *)query;
- @end
- @implementation MyViewController
- @pragma mark - Accessor methods
- @synthesize *resultsTable;
- @pragma mark - Parent methods
- - (void)viewDidLoad
- {
- [super viewDidLoad];
- hud = [[MBProgressHUD alloc] initWithView:self.view];
- [self.view addSubview:hud];
- }
- @pragma mark - Public methods
- - (IBAction)reload:(id)sender
- {
- // reload:
- }
- @pragma mark - Private methods
- - (QueryResponse *)queryServiceWithQuery:(Query *)query
- {
- // queryServiceWithQuery:
- }
- @pragma mark - UITableViewDataSource methods
- ...
- @pragma mark - UITableViewDelegate methods
- ...
- @end
Add Comment
Please, Sign In to add comment