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

Mockup & CodeGen, iPhone & iPad
($9.99)

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

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 04-30-2009, 06:01 AM   #9 (permalink)
elpuerco
Tutorial Author
 
Join Date: Nov 2008
Posts: 136
Default

Quote:
Originally Posted by seanrice View Post
Hi, I'm Sean. I think it sounds great and i'd love to see how you did it. I'm actually faced with exactly this situation and posted a Question on this to the forums. I basically built a scrollView and loaded it with buttons horizontally. 33 to be exact. Now i need to trap the (id)Sender information or the buttons, but can't figure out how to link them to an IBAction (one function for all), must less a firstResponder's IBAction ... where my global actions reside.

Thanks! for any help.
You can link all the buttons to the same method in your code from IB.

You can do the same if creating the button progmatically using addTarget.

Lastly you could also add a unique tag to each button and query that in your single method.
elpuerco is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,835
Threads: 89,209
Posts: 380,642
Top Poster: BrianSlick (7,129)
Welcome to our newest member, Aubrey69
Powered by vBadvanced CMPS v3.1.0

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