tags:

views:

34

answers:

0

Hi, I have problem in setting the object of NSUserDefault Class.

in a.m file i 'm setting the value of subject_textfield. in b.m file i'm getting this value this two operations are done by NSUserDefault class

now i'm setting that value for object of NSUSerDefault. NSUserDefaults* defs7 = [NSUserDefaults standardUserDefaults]; [defs7 setObject:string4 forKey:@"subject_textfield"];

here string4 gives the value of subject and subject_textfield is nothing but object of UITextField in a.m file