Permalink
Browse files

Validation error handling in demo iOS app

  • Loading branch information...
1 parent cd226b7 commit 00ea7329786da70a3612109b755300435fc18baf @dingbat committed Apr 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 demo/iOS/NSRailsApp/AppDelegate.m
@@ -43,7 +43,7 @@ - (BOOL) application:(UIApplication *)application didFinishLaunchingWithOptions:
- (void) alertForError:(NSError *)e
{
- NSString *errorString;
+ NSString *errorString = [NSString string];
//get the dictionary of validation errors, if any
NSDictionary *validationErrors = [[e userInfo] objectForKey:NSRValidationErrorsKey];

0 comments on commit 00ea732

Please sign in to comment.