Fixed a problem where I forgot to instantiate the login view model.

This commit is contained in:
Ash Furrow
2013-10-22 19:27:08 -04:00
parent dde8c88cd0
commit a6ee359b7b

View File

@@ -26,6 +26,15 @@
@implementation FRPLoginViewController
-(instancetype)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
if (!self) return nil;
self.viewModel = [FRPLoginViewModel new];
return self;
}
- (void)viewDidLoad
{
[super viewDidLoad];