root/apps/iphone/my.tel/trunk/Classes/GroupsViewController.h
@
657
| Revision 623, 1.0 kB (checked in by henri, 3 years ago) |
|---|
| Line | |
|---|---|
| 1 | // |
| 2 | // GroupsViewController.h |
| 3 | // My.tel |
| 4 | // |
| 5 | // Created by Henri Asseily on 2/6/09. |
| 6 | // Copyright 2009 __MyCompanyName__. All rights reserved. |
| 7 | // |
| 8 | |
| 9 | #import <UIKit/UIKit.h> |
| 10 | #import "MyTelConnect.h" |
| 11 | #import "Group.h" |
| 12 | #import "GroupFriendsController.h" |
| 13 | |
| 14 | |
| 15 | @interface GroupsViewController : UITableViewController |
| 16 | <UITableViewDelegate, UITableViewDataSource, UIAlertViewDelegate, TelControllerDelegate> { |
| 17 | NSMutableArray *groupsArray; // retrieved raw JSON data (also used as the datasource array) |
| 18 | NSUInteger currentGroupIndex; // groupsArray index of the group being edited or viewed |
| 19 | id <TelControllerDelegate> delegate; |
| 20 | @private |
| 21 | BOOL didPreload; |
| 22 | } |
| 23 | |
| 24 | + (GroupsViewController *)controllerWithDelegate:(id <TelControllerDelegate>)aDelegate preload:(BOOL)preload; |
| 25 | - (void)updateUITableWithJson:(NSDictionary *)parsedJson; |
| 26 | |
| 27 | - (void)listGroups; |
| 28 | - (void)createGroup:(NSString *)aGroupName; |
| 29 | - (void)deleteGroupAtIndex:(NSUInteger)index; |
| 30 | |
| 31 | - (IBAction)didClickAdd:(id)sender; |
| 32 | |
| 33 | @property (nonatomic, retain) NSMutableArray *groupsArray; |
| 34 | @property (retain) id delegate; |
| 35 | |
| 36 | @end |
Note: See TracBrowser
for help on using the browser.








