Skip to content

Commit

Permalink
Moved ivars to the implementation files
Browse files Browse the repository at this point in the history
  • Loading branch information
RayMorgan committed Oct 6, 2011
1 parent 252925b commit 4238d53
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
5 changes: 1 addition & 4 deletions LNLDemo4/LNLEchoViewController.h
Expand Up @@ -9,10 +9,7 @@
#import <UIKit/UIKit.h>


@interface LNLEchoViewController : UIViewController {
IBOutlet UILabel *label;
IBOutlet UITextField *textField;
}
@interface LNLEchoViewController : UIViewController

@property (nonatomic, retain) IBOutlet UILabel *label;
@property (nonatomic, retain) IBOutlet UITextField *textField;
Expand Down
5 changes: 4 additions & 1 deletion LNLDemo4/LNLEchoViewController.m
Expand Up @@ -9,7 +9,10 @@
#import "LNLEchoViewController.h"


@implementation LNLEchoViewController
@implementation LNLEchoViewController {
UILabel *label;
UITextField *textField;
}

@synthesize label, textField;

Expand Down
4 changes: 1 addition & 3 deletions LNLDemo4/LNLFirstController.h
Expand Up @@ -9,8 +9,6 @@
#import <UIKit/UIKit.h>


@interface LNLFirstController : UIViewController <UITableViewDataSource, UITableViewDelegate> {

}
@interface LNLFirstController : UIViewController <UITableViewDataSource, UITableViewDelegate>

@end
4 changes: 3 additions & 1 deletion LNLDemo4/LNLFirstController.m
Expand Up @@ -8,7 +8,9 @@

#import "LNLFirstController.h"

@implementation LNLFirstController
@implementation LNLFirstController {

}

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
Expand Down
4 changes: 1 addition & 3 deletions LNLDemo4/LNLRootViewController.h
Expand Up @@ -9,9 +9,7 @@
#import <UIKit/UIKit.h>


@interface LNLRootViewController : UIViewController {

}
@interface LNLRootViewController : UIViewController

- (IBAction)handleButtonPress;

Expand Down
4 changes: 3 additions & 1 deletion LNLDemo4/LNLRootViewController.m
Expand Up @@ -10,7 +10,9 @@
#import "LNLEchoViewController.h"


@implementation LNLRootViewController
@implementation LNLRootViewController {

}

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
Expand Down

0 comments on commit 4238d53

Please sign in to comment.