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

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Draw This
($0.99)

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

Pic Frame Dynamo: Photo Editing
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 07-25-2009, 08:03 AM   #1 (permalink)
xiii3
Registered Member
 
Join Date: Jun 2009
Posts: 159
xiii3 is on a distinguished road
Exclamation Goto another view; / goto another action;

I'm looking at a button push on one view changing the value of an integer on another. At the minute it sounds obvious but the IBAction doesn't know about the object on the other view that I want it to manipulate. Do I just need a line of code to point it to the other view? Or is it something else entirely?

I'm having the same/ a similar problem if I have a button push with a goto that's outside it's own action

for example

- (IBAction) buttonpush (id)sender

{
if (image.sethidden == yes)
image.sethidden = no
}
else
{
goto alert2;
}
}

-(void) alertfornoimage
{
alert2:
UIAlertview.....
}

the reason I want to do this and don't simply put the code at the end is I want many IBActions to display the same alert if the image is already unhidden....
xiii3 is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,014
Threads: 93,861
Posts: 401,912
Top Poster: BrianSlick (7,962)
Welcome to our newest member, Shimi574
Powered by vBadvanced CMPS v3.1.0

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