iphone - What is a action or IBAction method? -
possible duplicate:
iboutlet , ibaction
i'm relatively new objective c, not programming in have experience both c , python. wondering ibaction method , can do, , how incorporate program. and, if possible, there way in c bypass method , write in c? in advance
ibactions
of type void
. however, want use ibaction
instead sake of interface builder.
interface builder integrated service in xcode use design application, , attach layout code. interface builder 'knows' want connect because of 1 of 2 types. once define iboutlet
or ibaction
in code, literally drag , drop connect in interface builder. can use ibaction, example, if want make touch event listener (or along lines).
you can read more iboutlets
, ibactions
apple developer page on topic @ https://developer.apple.com/library/mac/#documentation/general/conceptual/devpedia-cocoaapp/targetaction.html (it's article os x developers, still applies ios since 2 built similar frameworks).
Comments
Post a Comment