In objective C, I'm trying to make something hide from view.
Could anyone tell me how to do it by using some sort of
-(void) something {
?
It's a variable, and I need to make it only appear when a certain variable is true. I want to know how to 开发者_开发知识库make that variable turn invisible all the time to start it off.
If you don't declare it in the .h file, then it is hidden.
You just do variable.hidden = YES;
精彩评论