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

Veröffentlicht am: 17 Juli 2014
auf dem Kanal: 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


Auf dieser Seite können Sie das Online-Video 1/5 Custom Buttons in Xcode Interface Builder and Code using UIButton mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Paul Solt 17 Juli 2014 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 11,054 Mal angesehen und es wurde von 40 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!