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!
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:
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";