Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Objective-C on the Mac L6 - NSString

Loading...

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

Uploaded by on Sep 16, 2010

An introduction to using the NSString class in Objective-C.

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (AppleProgramming)

  • Will you create a second NSString tutorial and cover all the string comparison and substring functions?

  • @davepamn Perhaps, but they aren't hard to figure out if you read the NSString class reference in the documentation.

  • Thanks Lucas for that info but.. I went to the apple dev site and man there are so many method for creating a string. I am not sure wich one?? Can you do a tutorial on this. I know alot of folks would like to see that..

    Keep up the good work ..Richard..

  • @richardlipp21 I will do one later.

  • HI lucas.. this is great but how do you get user to input... say... his name or some data.... and then turn that into a string object?? could you please do a tutorial on this???. I have searched the net and there are a lot of people very confused about this. Some use "get" some use "scanf"... but know one seems to know how to do this.. Thanks...

  • @richardlipp21 You have to use the C functions and then convert your C string into an NSString using one of the NSString methods (something like stringWithCString:encoding:).

see all

All Comments (19)

Sign In or Sign Up now to post a comment!
  • good tut, thanks

  • I would like a video that show how to

    1. substring an NSString

    2. compare a NSString

    3. replace part of a NSString

  • It is time consuming. I was hoping for a quick overview through a tutorial.

  • thank you a lot!!!! but one thing - it's 'va-ya' not 'vee-ah' in via:) x

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