Category: iOS Development Weekly Tips
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 December 12, 2018
by Steven Lipton
Leave a Comment
You’ve probably seen menus that pop out of the side of an app, but do you know how to make one? With the knowledge of some simple code you too can add these to your application using auto layout. If you take a look… Continue Reading “Add an Animated Drawer”
Category: GUI, iOS Development Weekly Tips, LinkedIn Learning / Lynda.com, TutorialTags: animated drawer, animation, App Programming, Apple swift, Auto Layout, autolayout, GUI, ios, Options, swift, Tutorial, UI
Posted on November 21, 2018
by Steven Lipton
Leave a Comment
A video of this tip can be found on LinkedIn Learning User Interfaces often use shadows to make them look less flat, but it isn’t obvious how to add one to a view on your app. In this tip, I’ll show you how to… Continue Reading “Tip: Add Drop Shadows”
Category: GUI, iOS Development Weekly Tips, ios12, TutorialTags: App Programming, Apple, Apple swift, button, CALayer, Drop Shadows, GUI, iPhone Programming, shadow, swift
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
1 Comment
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
Posted on October 10, 2018
by Steven Lipton
1 Comment
It’s sometimes nice to add a little sound to your applications, and even better to add a voice. Outside Siri, you can use a cool and simple AVFoundation API to make iOS devices talk. Let’s learn how to use the Speech synthesizer. Download the… Continue Reading “Use the Speech Synthesizer”
Category: GUI, iOS Development Weekly Tips, ios12, Swift, Swift 4.0, Swift Programming, Tutorial, Xcode 10Tags: AVFoundation, Language, Localizations, Speech, Speech Synthesizer, Synthesizer, Voices
Posted on October 3, 2018
by Steven Lipton
Leave a Comment
You’ll often want default settings that users can change. iOS provides the settings bundle for storing this information. Let’s look at how to use the settings bundle. Download the starter example file. I created a project which eventually will display the user’s default pizza.… Continue Reading “The Settings Bundle”
Posted on September 26, 2018
by Steven Lipton
Leave a Comment
One of the more perplexing parts of using tab bar controllers is customizing tabs. If you understand some of the properties of an image, You can do some major customization. Download the example file. If you open the main storyboard you’ll see three view… Continue Reading “Customizing Tab Bar Controller Icons.”
Category: GUI, iOS Development Weekly Tips, ios12, LinkedIn Learning / Lynda.com, Swift 4.0, Swift Programming, Tutorial, Xcode 10Tags: icon, image, swift, Tab bar, template, UITabBar, UITabBarController, UITabBarItem
Posted on September 12, 2018
by Steven Lipton
Leave a Comment
There’s been some great changes to playgrounds in Xcode 10 that will make your code even easier to prototype than ever before. Let’s take a look at some of the changes. In Xcode 10 open a new single view playground, and save it as… Continue Reading “Changes to Xcode 10 Storyboards.”
Posted on September 5, 2018
by Steven Lipton
Leave a Comment
An often neglected feature of Xcode is code snippets. Code snippets are quick ways to add code you frequently use. In Xcode 10 there were some major changes to code snippets, which might confuse those who use them now, but make them even easier to… Continue Reading “Use Code Snippets”