Hello All:
I have two files(file1.m
and file2.m
) and two strings(NSString *str1 = [[NSString alloc] initWithString:@"hello!"]
in file1.m and NSString *str2 in file2.m).I set str2 = str1 by a method and then the str2's value is "hello!".
Then I change the str2
to "hello hello!"
in file2.m
,and i want the str1
in file1.m
is also changed to "hello hello!"
.
How to do? If you konw,please tell me.
Thank you!