Skip to content

dennygajera/allObjcModel

Repository files navigation

allObjcModel

// When you are calling use this code.

MBProgressHUD *hud = [MBProgressHUD showHUDAddedTo:self.view animated:YES]; hud.labelText = @"Loading...";

NSDictionary *dicPara = [[NSDictionary alloc]initWithObjectsAndKeys:_txtMobile.text,@"mobile", nil];
[[singletone sharedManager] WSResponse:kServiceNameLoginVerification Parameters:dicPara Success:^(NSDictionary *dicResult) {

    
    NSLog(@"%@",dicResult);
    
    if([[dicResult valueForKey:@"code"] integerValue] == 1)
    {
        [MBProgressHUD hideHUDForView:self.view animated:YES];
        CodeConVC *codeVc = [self.storyboard instantiateViewControllerWithIdentifier:@"CodeConVC"];
        codeVc.dicData = dicResult;
        [self.navigationController pushViewController:codeVc animated:YES];
    }
    
    
    
} Failure:^(NSError *error) {
    
    [MBProgressHUD hideHUDForView:self.view animated:YES];
}];

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published