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

Your First iPhone App
($1.99)

iPhone Code Generator
($9.99)

Calcuccino Programmers' Calculator
($2.99)

DataFon(Build Apps on Windows)
(free)

Infinote Pinboard for Todos and Notes
(free)

picplz
(free)

poG
($2.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, 11:14 AM   #1 (permalink)
Registered Member
 
Join Date: Sep 2009
Age: 14
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, 11:52 AM   #2 (permalink)
Registered Member
 
Join Date: Jun 2009
Location: Scotland
Posts: 16
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, 11:53 AM   #3 (permalink)
Almost there
 
Join Date: Dec 2008
Location: Leeds, England
Posts: 1,115
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
» Stats
Members: 51,375
Threads: 52,830
Posts: 225,478
Top Poster: BrianSlick (3,576)
Welcome to our newest member, darrentousignant
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:31 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0