I\'m kind of new with objective c and I\'m trying to pass an argument by reference but is behaving like it were a value. Do you know why this doesn\'t work?
This is
Did you edit out code between this line
UILabel *startHourLabel;
and this line?
[self checkRedColorText:startHourLabel];
If not, the problem is that you're re-declaring your startHourLabel
variable, so you're losing any sort of initialization that was there previously. You should be getting a compiler error here.