I need to create an exact copy of several UIComponents
in my app. An example of this is a UILabel
. I have created two UILabels
in interface builder, which I have then linked up.
The next thing I did was as follows:
self.myLabel_a.text = @"Blah blah blah";
// ... and some other settings (eg. font size, colour, etc.)
self.myLabel_b = self.myLabel_a;
However, when I run my app I do not see the desired effect. Please can someone advice on why this is happening. I'm very sorry if this is a novice question, however I do not understand the issue here and how to fix it.