Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 10-29-2009, 12:14 PM   #1 (permalink)
Registered Member
 
Join Date: Sep 2009
Age: 15
Posts: 93
Exclamation What is a string

I am very new to the iPhone SDK. And I hear the word strings alot, but I have no idea what they are. Could some one explain to me what strings are?
Thanks!
tackey123 is offline   Reply With Quote
Old 10-29-2009, 12:52 PM   #2 (permalink)
Registered Member
 
naomipunkclan's Avatar
 
Join Date: Jun 2009
Location: Scotland
Posts: 28
Default

Quote:
Originally Posted by tackey123 View Post
I am very new to the iPhone SDK. And I hear the word strings alot, but I have no idea what they are. Could some one explain to me what strings are?
Thanks!
You must be new to computer programming altogether

String is a data structure for holding text - usually an array of char (text characters)

In the Cocoa environment you will find NSString is mostly used as the OOP structure for strings, descending from NSObject.

You should look for an introductory textbook on programming, and make sure you are familiar with the basics (and terminology). I am suprised you can make sense of any of the forum topics without this knowlege
__________________
Self help apps using self-hypnosis:

iCan Stop Smoking

http://www.iCan-hypnosis.com/

naomipunkclan is offline   Reply With Quote
Old 10-29-2009, 12:53 PM   #3 (permalink)
Registered Member
 
Join Date: Dec 2008
Location: UK
Posts: 1,886
Default

Very simply, a string is like a sentence or a word or even a letter.
Eg.
NSString * sentence = @"This is a sentence";
NSString * word = @"Word";
NSString * letter = @"a";

Hope that makes sense.
harrytheshark is offline   Reply With Quote
Reply

Bookmarks

Tags
strings

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 941
14 members and 927 guests
7twenty7, astalavista, betterlee, davidcoderlab, donlucacorleone, JuliaHarris, leticiatroutman, marWIN77, narutov2, nikhil, rocotilos, rodgo, Stokestack, watermelonvodka
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,479
Threads: 89,092
Posts: 380,125
Top Poster: BrianSlick (7,091)
Welcome to our newest member, JuliaHarris
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 04:28 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0