Hi guys,
I hope this is something obvious and easy because its driving me nuts.
All I need to do is disable a UITextview programatically.
I thought something like this would work:
But it doesn't! The value still returns as YES instead of NO despite being set just one line above!
Anyone know why? The documentation suggests that the code is correct.
EDIT: I just scrapped the program and remade it and it worked. *shrugs*. Same exact code!
I hope this is something obvious and easy because its driving me nuts.
All I need to do is disable a UITextview programatically.
I thought something like this would work:
Code:
self.myText.enabled = NO;
NSLog(@"Value: %i", self.myText.isEnabled);
But it doesn't! The value still returns as YES instead of NO despite being set just one line above!
Anyone know why? The documentation suggests that the code is correct.
EDIT: I just scrapped the program and remade it and it worked. *shrugs*. Same exact code!