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
Смотрите видео 1/5 Custom Buttons in Xcode Interface Builder and Code using UIButton онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Paul Solt 17 Июль 2014, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 11,054 раз и оно понравилось 40 людям.