1/5 Custom Buttons in Xcode Interface Builder and Code using UIButton

Publicado em: 17 Julho 2014
no canal de: Paul Solt
11,054
40

1/5 Custom Buttons in Xcode Interface Builder and Code using UIButton

In this UIButton guide and video tutorial you will learn how to add buttons to your iPhone app.

Part 1/5:    • 1/5 Custom Buttons in Xcode Interface...  
Part 2/5:    • 2/5 Resizable Images for Custom iPhon...  
Part 3/5:    • 3/5 Resizable Buttons with Custom Ima...  
Part 4/5:    • 4/5 Custom UIButton with Highlighted ...  
Part 5/5:    • 5/5 Programmatically Create a Custom ...  

There are two ways, you can add a button using Xcode's Interface Builder or you can add a button programmatically using Objective-C code. These same techniques apply to Swift as well.

To add a button via the Interface Builder open the side bar on the right side of Xcode and switch to the Attributes Inspector (looks like a slider icon). At the bottom of the panel you'll see a Cube icon, click on it.

Open your Main.Storyboard file (left panel in Xcode).

Find the UIButton (Button) in the list and left-click and drag it to the canvas. Now you are ready to customize it.

Click here to Subscribe to learn how to make iPhone apps. http://www.youtube.com/subscription_c...

Links:
Blog: http://iPhoneDev.tv
iPhone Courses: http://learn.iphonedev.tv/course/iPho...

Contact:
YouTube Channel:    / paulsolt  
Twitter:   / paulsolt  
Facebook:   / paulsolt  
Google+: https://plus.google.com/u/0/+PaulSoltInc
Paul's iPhone Apps: http://AppStore.com/PaulSolt


Nesta página do site você pode assistir ao vídeo on-line 1/5 Custom Buttons in Xcode Interface Builder and Code using UIButton duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Paul Solt 17 Julho 2014, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 11,054 vezes e gostou 40 espectadores. Boa visualização!