Guest User

Untitled

a guest
Apr 22nd, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. -(IBAction)Login_Method:(id)sender withpassword:(id)password
  2. {
  3.  
  4. }
  5.  
  6. //username and password are UITextfields
  7. -(IBAction)Login_Method:(id)sender
  8. {
  9. id name=[username text];
  10. id pass=[password text];
  11. }
  12.  
  13. - (IBAction) actionMethod:(id)sender
  14.  
  15. - (void)action
  16. - (void)action:(id)sender
  17. - (void)action:(id)sender forEvent:(UIEvent *)event
  18.  
  19. // in your interface (header file):
  20. IBOutlet UITextField *userNameTextField;
  21.  
  22. // in your implementation file:
  23. NSString *userName = userNameTextField.text;
Add Comment
Please, Sign In to add comment