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?
In objective-c, there is no way to pass objects by value (unless you explicitly copy it, but that's another story). Poke around your code -- are you sure checkRedColorText: is called? What about [startDate compare:endDate], does it ever not equal NSOrderedDescending? Is labelToChange nil?