Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 3    Views: 58

MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
12/04/13 09:50 AM (11 years ago)

XIB Menu

Hey apparently when you open the XIB menu on Xcode 5, if you go to the JM_Xib_button_menu~ipad.xib on view portrait, you do not have a button 1. Anyone know how to add a button on XIB? Thanks.
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
12/04/13 11:47 AM (11 years ago)
Buttons are in the panel in the bottom right hand corner of Xcode. You just click and drag a button object onto the view. I bet that button is there you just need to tinker with the view to see it. If it's listed in the objects panel, it's there, somewhere.... def watch some videos on using Interface Builder, so well worth your time to learn it's capabilities. tip: it helps Xcode from crashing when you build and run while you are NOT editing an XIB file.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
12/04/13 03:44 PM (11 years ago)
I've also found a couple of times in Xcode 5, the object is there, and the tint is the same as the background, so it 'looks' invisible. Take a look at the objects in your view list on the left side of your xib window, and see if it's listed. Cheers! -- Smug
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
12/04/13 04:30 PM (11 years ago)
I found it, I know it's there cause I can see it on the button list... it appears to be really really small... Thanks
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.