Posted on February 13, 2019
by Steven Lipton
Leave a Comment
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… Continue Reading “Sliders as Knobs”
Category: GUI, ios12, LinkedIn Learning / Lynda.com, Swift 4.0, Swift Programming, TutorialTags: ios, knob, knob control, layer property, rotation, storyboard, swift, UI, UIView, Xcode
Posted on January 16, 2019
by Steven Lipton
1 Comment
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… Continue Reading “Draw Paths in UIViews”
Category: Core Graphics, GUI, iOS Development Weekly Tips, LinkedIn Learning / Lynda.com, Swift, Swift 4.0, Swift playgrounds, Swift Programming, TutorialTags: addLine, addQuadCurve, context, Drawing, drawpath, path, paths, Programmatic UIView, UIView
Posted on November 7, 2018
by Steven Lipton
Leave a Comment
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… Continue Reading “Embed Table Views”
Category: iOS Development Weekly Tips, ios12, Swift Programming, TutorialTags: Container View, ContainerView, embed, Embedded Table View, ios, iPad, iphone, tables, UIContainverView, UITableView, UIView
Posted on October 17, 2018
by Steven Lipton
4 Comments
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.… Continue Reading “Make Round Buttons and UIViews”
Category: GUI, iOS Development Weekly Tips, ios12, LinkedIn Learning / Lynda.com, Swift 4.0, Swift Programming, TutorialTags: App Programming, Apple swift, button, CALayer, Corner, GUI, ios, iPhone Programming, Round, swift, UIView