Advertisement
Guest User

Untitled

a guest
Apr 30th, 2011
281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //
  2. //  FirstViewController.h
  3. //
  4. //  Created by Artjom Zabelin on 3/27/11.
  5. //  Copyright 2011 ArtworkAD. All rights reserved.
  6. //
  7.  
  8. #import <UIKit/UIKit.h>
  9. #import "IASKAppSettingsViewController.h"
  10. #import "Reachability.h"
  11. #import "SecondViewController.h"
  12.  
  13. @interface FirstViewController : UIViewController <IASKSettingsDelegate>{
  14.    
  15.     SecondViewController *sms;
  16.    
  17.     //create a settings view to customize preferences
  18.     IASKAppSettingsViewController *appSettingsViewController;
  19.  
  20.     //fields in view to display information
  21.     IBOutlet UITableViewCell *forwarderCell, *gatewayCell, *statusCell, *creditsCell;
  22.    
  23.     //labels for fields
  24.     IBOutlet UILabel *forwarderLabel, *gatewayLabel, *statusLabel, *creditsLabel;
  25.    
  26.     //button to open settings view for forwarder and gateway change
  27.     IBOutlet UIButton *forwarderChange;
  28.    
  29.     //compose button to open sms composer
  30.     IBOutlet UIBarButtonItem *compose;
  31.    
  32.     //spinners to indicate loading process
  33.     IBOutlet UIActivityIndicatorView *gatewayLoading, *creditsLoading;
  34.    
  35.     //reachability instance to check if network is avialable
  36.     Reachability* internetReach;
  37. }
  38.  
  39. //make the fields properties
  40. @property(nonatomic,retain) SecondViewController *sms;
  41. @property(nonatomic,retain) UIButton *forwarderChange;
  42. @property(nonatomic,retain) UIBarButtonItem *compose;
  43. @property(nonatomic,retain) UILabel *forwarderLabel, *gatewayLabel, *statusLabel, *creditsLabel;
  44. @property(nonatomic,retain) UITableViewCell *gatewayCell, *forwarderCell, *statusCell, *creditsCell;
  45. @property (nonatomic,retain) IASKAppSettingsViewController *appSettingsViewController;
  46. @property(nonatomic,retain) UIActivityIndicatorView *gatewayLoading, *creditsLoading;
  47.  
  48. @end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement