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 > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 02-23-2010, 09:04 AM   #1 (permalink)
Registered Member
 
Join Date: Jan 2010
Posts: 2
Question Interface Builder Custom Events - Possible?

Right, what I want to do is have custom events appear in the connections inspector in interface builder. For example "TouchUpInsideHeld" event under TouchUpInside.

I thought this might be possible by:

Subclassing UIButton
Adding additional methods to subclass
Setting a UIButton in IB to the new subclass

But i dont know whether its possible, can anyone tell me if it is or not?

Thanks!
Andrews is offline   Reply With Quote
Old 08-24-2010, 12:35 PM   #2 (permalink)
Registered Member
 
Join Date: Aug 2010
Posts: 4
Default

I know this isn't helpful to the question, but I am curious to know if this is possible as well.
ppilos2 is offline   Reply With Quote
Old 08-24-2010, 02:25 PM   #3 (permalink)
Registered Member
 
Join Date: Apr 2010
Posts: 635
Default

I really dont know how to do this, but im not sure if sublcassing UIButton would do it. I know theres a way to make new plug-ins for IB that will appear in the library, and i think thats probs the best way to do it, but i dnt have any really specific instructions for you sry!
kapps11 is offline   Reply With Quote
Old 08-24-2010, 03:17 PM   #4 (permalink)
Registered Member
 
Join Date: Jul 2010
Location: London, UK
Posts: 35
Default

Quote:
Originally Posted by Andrews View Post
Right, what I want to do is have custom events appear in the connections inspector in interface builder. For example "TouchUpInsideHeld" event under TouchUpInside.

I thought this might be possible by:

Subclassing UIButton
Adding additional methods to subclass
Setting a UIButton in IB to the new subclass

But i dont know whether its possible, can anyone tell me if it is or not?

Thanks!
Hmmm... probably best to just create those buttons in code...
DaveF is offline   Reply With Quote
Reply

Bookmarks

Tags
connections inspector, events, interface builder, subclass, uibutton

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 261
21 members and 240 guests
ADY, bookesp, ckgni, dacapo, Dani77, DarkAn, Davey555, Desert Diva, glenn_sayers, HemiMG, jakerocheleau, JasonR, LEARN2MAKE, nobre84, prchn4christ, Rudy, ryantcb, Speed, themathminister, theone8one
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,885
Threads: 89,230
Posts: 380,766
Top Poster: BrianSlick (7,129)
Welcome to our newest member, bookesp
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:38 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0