¡@

Home 

2014/10/15 ¤U¤È 10:14:35

iphone Programming Glossary: strtextvalue

How to send the text from textfield to another class?

http://stackoverflow.com/questions/7076762/how-to-send-the-text-from-textfield-to-another-class

. Now in SecondViewController declare one NSString and set its properties. SecondViewController.h NSString strTextValue .... @property nonatomic retain NSString strTextValue SecondViewController.m @synthesize strTextValue Now in GroupDetailViewController.. NSString and set its properties. SecondViewController.h NSString strTextValue .... @property nonatomic retain NSString strTextValue SecondViewController.m @synthesize strTextValue Now in GroupDetailViewController on button touch event put the value from.. NSString strTextValue .... @property nonatomic retain NSString strTextValue SecondViewController.m @synthesize strTextValue Now in GroupDetailViewController on button touch event put the value from textfield in strTextValue . IBAction ButtonMethod..