How do i make UIButtons half cornered half rounded and with little arrow?
How can I make UIButtons half cornered half rounded or completely cornered, and add the little arrow to the right? Look in the settings app and you'll see what i mean. I know that i could just add an image but ive seen other apps that didnt add images and made it look like that! I know this question is stupid but i have to know it!
How can I make UIButtons half cornered half rounded or completely cornered, and add the little arrow to the right? Look in the settings app and you'll see what i mean. I know that i could just add an image but ive seen other apps that didnt add images and made it look like that! I know this question is stupid but i have to know it!
Are you talking about the buttons that go in the navigation bar?
You can use the default button bar items, or you can create your own.
To create your own, look at using a stretchable image, with the stretchableImageWithLeftCapWidth:topCapHeight: method.
What you do is create a minimal sized image that has the characteristics of your button. Then, when you resize it, it moves the corners outwards and uses the color of the center pixel to color the center portion. It takes fiddling with the source image and the cap width/height to get it to work right.
Check out this password generator app that shows various techniques including using a data container singleton object to share data between objects in your project.
General Photos and Air Me wold be the half cornered half rounded buttons, i think you will get it now.
Edit:
Also in Cydia and iFile you find there Buttons:
That's a grouped table view. The system does that automatically when you set the style of a table view to grouped.
If you want buttons that work in groups like that you'd have to do it yourself. You would need some sort of grouping object, and a custom subclass of UIButton that draws itself differently depending on if its the first item in a group, a middle item, or the last item.
Check out this password generator app that shows various techniques including using a data container singleton object to share data between objects in your project.
That's a grouped table view. The system does that automatically when you set the style of a table view to grouped.
If you want buttons that work in groups like that you'd have to do it yourself. You would need some sort of grouping object, and a custom subclass of UIButton that draws itself differently depending on if its the first item in a group, a middle item, or the last item.
Hey i dont wanna open a new thread for this, so ill just ask it here: Since i know that i have to use a TableView for it, can i load views from a table view, and I mean not just a detail view, but a specific UIViewController for every Cell in the table. Is that possible?
Hey i dont wanna open a new thread for this, so ill just ask it here: Since i know that i have to use a TableView for it, can i load views from a table view, and I mean not just a detail view, but a specific UIViewController for every Cell in the table. Is that possible?
Of course you can. When you use a table view, you have to designate an object to serve as its delegate. Usually it's your view controller. Just put in a tableView:didSelectRowAtIndexPath method that pushes a new view controller.
Check out this password generator app that shows various techniques including using a data container singleton object to share data between objects in your project.