Objective C Programming Tutorial - 56 - Finishing Mutable Strings

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
10,494
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 28, 2010

http://thenewboston.com/forum/

Ask me all questions there as well as view source code for the tutorial

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (19)

Sign In or Sign Up now to post a comment!
  • @iapetus28 Use it like this:

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

  • 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 ?

  • 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 

  • @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 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 ?

  • 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.....

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