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-14-2009, 05:15 PM   #5 (permalink)
jsd
at this moment
 
Join Date: Mar 2009
Location: San Francisco, CA
Posts: 900
jsd is on a distinguished road
Default

Quote:
Originally Posted by mk12 View Post
Thanks - Where can I find the documentation for IBActions? There's so many of them and I don't know when they are called.
IBAction is simply a substitute for the void keyword. It's just used to tell Interface Builder which methods in your class can be hooked up to control events (like tapping on a button).

Code:
- (IBAction) myMethod:(id) sender
is the same as

Code:
- (void) myMethod:(id)sender
Except that the first one will be picked up by Interface Builder automatically. (I've read that the second one might as well but you might as well be clear in your intentions.)
jsd is offline   Reply With Quote
 

» Advertisements
» Online Users: 584
19 members and 565 guests
baja_yu, Domele, dre, Duncan C, equalsabracket, givensur, heshiming, ilmman, jakespencer, mafew, msovani, NetGuru, Newbie123, OneGoodApp, PragmaOnce, quantranbr, skiril, soydesu, wildvlad
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 174,545
Threads: 93,727
Posts: 401,263
Top Poster: BrianSlick (7,954)
Welcome to our newest member, mafew
Powered by vBadvanced CMPS v3.1.0

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