Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

heziflash

macrumors newbie
Original poster
Nov 16, 2011
1
0
Hi guys
I'm new in iphone programming. I'm trying to build application with button.
i put all the code needed. i open the xib file in order to work with the IB. I drag a button from a library and then i tried to work with Connection Inspector. he showed me the events and i was trying to select "touch up inside" but i could not succeeded.
my xcode Version 3.2.1 and my mac os is 10.6.8
can anyone help?
 
Last edited:
Click and drag from the circle next to Touch Up Inside. A blue line should be running from your cursor to the circle. Drag this blue line to the file's owner, on the left side of the screen. Then select the action you want to happen.

... Although you're using Xcode 3... I can't remember what the interface exactly looked like for that... Can't you upgrade to Xcode 4? It's on the Mac App Store for $5.
 
Click and drag from the circle next to Touch Up Inside. A blue line should be running from your cursor to the circle. Drag this blue line to the file's owner, on the left side of the screen. Then select the action you want to happen.

... Although you're using Xcode 3...

That approach sounds good for Xcode 3 as well, assuming you've already set up an IBAction in the file's owner. In Xcode 4 you are able to set this up "on the fly", as it were.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.