Loading...
Uploaded by ProgrammingTutor0 on Dec 2, 2011
-Declaring variables in " .h " file-Declaring our Methods
Education
Standard YouTube License
@RionKaneshiro I didn't get your comment man.
In tutorial 15 , i implemented it the same way you referred to.
ProgrammingTutor0 3 weeks ago
I just want to note that it is much better to ask for the on property of an NSSwitch/UISwitch.
Otherwise you could encounter malfunction if something else changes the same property of what you are controlling.
if(mySwitch.on) { // do something
} else { // do the reverse thing
}
RionKaneshiro 3 weeks ago
Load more suggestions
@RionKaneshiro I didn't get your comment man.
In tutorial 15 , i implemented it the same way you referred to.
ProgrammingTutor0 3 weeks ago
I just want to note that it is much better to ask for the on property of an NSSwitch/UISwitch.
Otherwise you could encounter malfunction if something else changes the same property of what you are controlling.
if(mySwitch.on) { // do something
} else { // do the reverse thing
}
RionKaneshiro 3 weeks ago