Added: 3 months ago
From: ProgrammingTutor0
Views: 804
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (2)

Sign In or Sign Up now to post a comment!
  • 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 I didn't get your comment man.

    In tutorial 15 , i implemented it the same way you referred to.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more