Tag: UIView

Sliders as Knobs

You’ve seen other apps rotate views, but you may have no idea how to do it yourself. Let me show you one way to rotate views. We’ll make a simple knob control you might be able to use in your apps. Download the example…

Draw Paths in UIViews

In a previous tip, I drew rectangles and circles in a UIView. This time, let’s add lines and curves using paths to draw some toast. Download the playground I set up for you.  I set up my code to do all the drawing in…

Embed Table Views

Here’s an app I started from the downloaded example file. It is a restaurant check with a total, but I have to press the Order button to see the details in a table view on the next view controller. That button is a waste…

Make Round Buttons and UIViews

In the good old days, Apple used a lot of rounded corner buttons. Many developers use several images to get the effect of round buttons. The CALayer of UIButton does have a feature for you to easily get rounded corners, and even circular buttons….