Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- // FirstViewController.h
- //
- // Created by Artjom Zabelin on 3/27/11.
- // Copyright 2011 ArtworkAD. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- #import "IASKAppSettingsViewController.h"
- #import "Reachability.h"
- #import "SecondViewController.h"
- @interface FirstViewController : UIViewController <IASKSettingsDelegate>{
- SecondViewController *sms;
- //create a settings view to customize preferences
- IASKAppSettingsViewController *appSettingsViewController;
- //fields in view to display information
- IBOutlet UITableViewCell *forwarderCell, *gatewayCell, *statusCell, *creditsCell;
- //labels for fields
- IBOutlet UILabel *forwarderLabel, *gatewayLabel, *statusLabel, *creditsLabel;
- //button to open settings view for forwarder and gateway change
- IBOutlet UIButton *forwarderChange;
- //compose button to open sms composer
- IBOutlet UIBarButtonItem *compose;
- //spinners to indicate loading process
- IBOutlet UIActivityIndicatorView *gatewayLoading, *creditsLoading;
- //reachability instance to check if network is avialable
- Reachability* internetReach;
- }
- //make the fields properties
- @property(nonatomic,retain) SecondViewController *sms;
- @property(nonatomic,retain) UIButton *forwarderChange;
- @property(nonatomic,retain) UIBarButtonItem *compose;
- @property(nonatomic,retain) UILabel *forwarderLabel, *gatewayLabel, *statusLabel, *creditsLabel;
- @property(nonatomic,retain) UITableViewCell *gatewayCell, *forwarderCell, *statusCell, *creditsCell;
- @property (nonatomic,retain) IASKAppSettingsViewController *appSettingsViewController;
- @property(nonatomic,retain) UIActivityIndicatorView *gatewayLoading, *creditsLoading;
- @end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement