I am trying to equal a UITextView strings with CATextLayer on different viewControllers .
on ViewController1 :
Code:
CATextLayer *textLayer;
on ViewController2 :
Code:
UITextView *textView;
so when user enter some text in "textView" on ViewController2 the string of textView should equal with textLayer on ViewController1
I don't know how can I relate each other ! with button on ViewController2 something like this
Code:
-(IBAction)Done {
[textView.Text isEqualToString:textLayer];
}
and on the ViewController1 should change the string of textLayer as textView something like this:
Code:
textLayer.string = ViewController2.textView;
, I was wondering how can I to do so . thanks