Added: 10 months ago
From: MilmersXcode
Views: 1,761
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (11)

Sign In or Sign Up now to post a comment!
  • Sorry, there shouldn't be a minus- but a smaller-character before 0.5.

  • Instead of this awkward if-else code, you could just write

    label.hidden = slider.value-0.5;

    And specify the red color and the text in the nib-file. And what's the point of the space before the comma in the stringWithFormat: call? You are emphasizing it, but beside that it's irrelevant it's even bad punctuation.

  • @mrjazzycharon2 The reason for the if-else code is to get people used to using them as this is a "Basics" tutorial. Of course it would be more basic to just do what you suggested but then people won't learn how to and become more fluent in using if-else statements.

    As for the "," when initializing the string it's because:

    1. I'm emphasizing it for the video's purpose.

    2. I believe it looks neater and more pleasing to the eye.

    I have my reasons for things :D.

    Milmer.

  • @maxhasadhd Yea sorry it's just you put "Nameofslider.volume" in your last comment and I got a bit confused.

  • @maxhasadhd I don't really understand. How can a slider have a .volume? Anyway your video is now up and its called "Changing sites with UISegmentedControl" and it's in the UIWebView playlist. Hope you like :D

    I will get back to you tomorrow(10th April) on the UISlider stuff as it's late here.

  • @maxhasadhd Hey. Your Video is currently uploading and should be up by tonight but it keeps failing near the end of the upload :(. About the saving a UISlider I will get back to you.

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