Skip to content

How do I get textFields Text ?

gwdp edited this page Sep 13, 2010 · 7 revisions

/*********** UPDATED*************/

I am trying to acess firstTextField but no sucess !
Can someone give me a help in acessing Text Field Texts ?

NEVER MIND IT IS ALWAYS IN DOCS

IF SOMEONE HAVE THIS QUESTION HERE IS MY METHOD

- (void)alertView:(EGOTextFieldAlertView *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex {

if (actionSheet.title == "Earth") { if (buttonIndex == 0) {/* CANCEL BUTTON*/} else { NSString * oString = [[actionSheet textFieldForIndex:0] text]; NSString * aString = [[actionSheet textFieldForIndex:1]text]; NSLog(“%@ AND %@”,oString,aString);

}
}
}

THANKS FOR THIS CLASS WORKS GREAT !

GABRIEL

Clone this wiki locally