Advertisement

09.06.2008 at 09:38AM PDT, ID: 23708889 | Points: 500
[x]
Attachment Details

Application Wide Variables

Asked by andrewaiello in iPhone, Apple Programming

Hello All,

    I was curious how to go about setting an application-wide variable in Xcode for an iPhone Application.  For instance say I had an application that in a variety of places used a variable called currentName and its value is "Jack".  I want it so that if I want to change all occurrences of "Jack" in the application to "Sue"  all I have to do is change the value of the application-wide variable in that one place.  Thanks.Start Free Trial
 
Loading Advertisement...
 
[+][-]09.06.2008 at 11:12AM PDT, ID: 22408432

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.07.2008 at 11:40AM PDT, ID: 22412318

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628