
- (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string { NSString *str =@"0.00"; if([string isEqual:@""]){ if(textField.text.length==0){ textField.text= str; return NO; }else{ NSArray *items = [[NSString stringWithFormat:@"%f",[te...
Posted on 5 July 2019 | 8:25 pm
Read postLogin.h class #import <UIKit/UIKit.h> #import "API_Services.h" @interface ViewController : UIViewController<UITextFieldDelegate,APIServicesListener> { UITextField *emailTextField,*passwordTextField; } @property (strong, nonatomic) UIWindow *window; @end Login.m Class On Login Button Call the Below t...
Posted on 8 May 2019 | 1:49 pm
Read postTo set values, use the below code. YourSingletonClass *sharedManager = [YourtSingletonClass sharedManager]; sharedManager.nameString =@"name"; sharedManager.emailString =@"[email protected]"; For getting values, use the below code YourSingletonClass *sharedManager = [YourtSingletonClass sharedManager]...
Posted on 12 May 2017 | 11:37 am
Read post