Added: 1 year ago
From: thenewboston
Views: 10,403
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (19)

Sign In or Sign Up now to post a comment!
  • If I leave out the first part, the setString returns NULL in the NSLog command. Any thoughts on why I need to create the mutable from a string before I can set it ?

  • @iapetus28 Use it like this:

    NSMutableString *str2; str2 = [NSMutableString stringWithFormat: @"What is the first innings score"];  NSLog(@"%@", str2);

  • Hi.. Bucky...

    Really your Objective C Programming Tutorial is very helpful for new learner...

    I am really thankful for that...

    Please let me know if you have any other tutorial on Xcode.

    Thanks

    Sudip Barman

  • bucky is a golden god

  • Thank you

  • Great work!

  • What if there was more than just one old value in our NSString?

    will our NSRange return just the first one or all of them ?

  • @ulquiorra0679 i just tried it out and it replaced only the first one. So i made a string with 2 mothers and it only saw the first one

  • Great tutorials,but you realize that you don't have to copy the NSLog-'line' every time. Its probably not gone when you need it 5 lines below...

  • Why do you not create instances of NSRange with a pointer. For example as used in this tutorial you created NSRange therange. Why didn't you do NSRange *therange like you have been doing with every other class.....

  • this was so helpful! thanks man!

  • I loved ur speech from 6:00 :D soo funny!

  • @IntenseSNEZZLIN

    Try it and see =)

  • you are dominating!

  • @yutubezone Stfu

  • @airsoft343

    lol

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