Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 01-16-2009, 01:43 PM   #11 (permalink)
smasher
Senior Member
iPhone Dev SDK Supporter
 
smasher's Avatar
 
Join Date: Jul 2008
Location: San Mateo, CA (San Fran)
Posts: 2,577
Default

I think you have your labels in your post reversed? Maybe you have it right in the files; the .h file as the interface and the property; the .m file has the synthesize and the implementation.

In the .m file, you can replace this:
Code:
NSArray *myArray= [NSArray arrayWithObjects: 
		   @"Response 1.",
		   @"Response 2.", nil];
with this
Code:
self.myArray= [NSArray arrayWithObjects: 
		   @"Response 1.",
		   @"Response 2.", nil];
The first one makes a new pointer variable and uses it, the second one uses the property that you set up the the .h file.
__________________
smasher is offline   Reply With Quote
 
Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Stats
Members: 24,356
Threads: 39,149
Posts: 171,628
Top Poster: smasher (2,577)
Welcome to our newest member, Jakison
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 07:23 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.