List of all Iphone and Blackberry Development codes in a one click Iphone,objective C,xcode,blackberry Development,iOS Development

Thursday, March 16, 2017

ios Webservice class

class for handling webservices download

[[Services sharedInstance]login:usernameTextField.text password:passwordTextField.text andListener:self];


#pragma mark- Service call back method
-(void)ServicesResult:(NSString *)success withResult:(NSDictionary *)result statusCode:(NSString *)statusCode{
  
    if([statusCode isEqualToString:@"200"]){
    
    }
    else if([statusCode isEqualToString:@"1"]){
       
        [util alertViewShow:STRING_No_Network_ERROR withTag:0];
       
    }else{
       
    }
   
}

No comments:

Post a Comment