Tag: iPad
Posted on June 19, 2019
by Steven Lipton
Leave a Comment
Your app can get into problems when you launch UI from others threads, such as closures. For example, you might have an app that going to ask for permissions for things like photos, notifications, or location data. The system usually handles those, but you… Continue Reading “Launch an Alert from a Closure Safely”
Category: GUI, LinkedIn Learning / Lynda.com, Swift playgrounds, Swift Programming, TutorialTags: alerts, closures, errors, ios, iPad, iphone, main thread, Notifications, thread
Posted on June 12, 2019
by Steven Lipton
Leave a Comment
One dilemma you’ll find when working with colors is switching between color systems. There’s two you’ll most often be using: the Red-Green-Blue or RGB and Hue-Saturation-Brightness or HSB. Download the Exercise file and run. It will give you the HSB value, but what if… Continue Reading “Change UIColors to RGB and HSB colors”
Category: GUI, iOS Development Weekly Tips, LinkedIn Learning / Lynda.com, Swift, Swift Programming, TutorialTags: color, HSB, ios, iPad, iPhone Programming, RGB, swift, UIColor, UIColor to HSB, UIColor to RGB
An often ignored but rather powerful View Controller is the UISplitViewController. You can make one from a template and the storyboard, but I often skip both and do it programmatically, which is especially good when I’m prototyping in a playground. Let’s give it a… Continue Reading “Programmatically Add Split View Controllers”
Posted on March 13, 2019
by Steven Lipton
2 Comments
You’ve probably used the Segmented control before like this one It’s great for some simple uses but lacks flexibility. Besides using only text or single color icon, it doesn’t work in vertical or other arrangements. Let’s look at another solution: Using Button arrays. In… Continue Reading “Replace Segmented Controls with Button Arrays”
Category: GUI, iOS Development Weekly Tips, LinkedIn Learning / Lynda.com, Swift Programming, TutorialTags: array, button, Buttons, ios, iPad, iphone, selection, stackview, storyboard, Xcode
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 31, 2018
by Steven Lipton
Leave a Comment
Note:You can find a video of this tip here on LinkedIn Learning If there’s one thing in auto layout that drives me nuts it is laying out for landscape different than portrait on an iPad. Phones are easy since the class sizes are different… Continue Reading “Layout iPad Landscape and Multitasking Apps”
Category: Auto Layout and Size Classes, GUI, ios12, LinkedIn Learning / Lynda.com, Swift Programming, Tutorial, Xcode 10Tags: autolayout, autolayout programmatically, ios, iPad, landscape, layout, observers, portrait, property observers, rotation, swift
Posted on August 22, 2018
by Steven Lipton
Leave a Comment
In an earlier tip, I showed you how to make a map in iPad Playgrounds. Let’s learn how to animate those maps, doing a flyover of Michigan avenue in Chicago from The former home of Chess Records at 2120 South Michigan Avenue (immortalized in… Continue Reading “Animate With a Map Camera”
Category: iOS Development Weekly Tips, LinkedIn Learning / Lynda.com, Swift, Swift Programming, TutorialTags: 3d maps, animation, ios, iPad, iphone, MapKit, timers
We are once again getting close to the time for Apple’s World Wide Developers conference, and like every year, the press is busy trying to predict and preview what is ahead for the first week in June. Once again, they will completely miss the… Continue Reading “A Developer Preview of WWDC 2018”
Posted on May 30, 2018
by Steven Lipton
1 Comment
The Apple pencil adds more functionality to tablets than finger touch, even though you use the same code. Let’s do a quick explore of the Apple Pencil, and see how easy it is to add support in your app. Download the starter app. It’s… Continue Reading “Apple Pencil Basics”
Category: GUI, iOS 11, iOS Development Weekly Tips, LinkedIn Learning / Lynda.com, Swift, Swift playgrounds, Swift ProgrammingTags: Apple Pencil, GUI, iPad, playgrounds, swift, Swift playgrounds, touch, UITouch
Posted on May 7, 2018
by Steven Lipton
6 Comments
While doing some work on more material for the site in Swift playgrounds, I ran into a serious bug in the Swift Playgrounds for iPad. I made a short video to tell you’re about it, and I’ve included an extended transcript afterwards. Hello Folks… Continue Reading “Bug Workaround: Swift Playgrounds for iPad”
Category: GUI, iOS 11, iOS Development Weekly Tips, LinkedIn Learning / Lynda.com, Swift playgrounds, Swift ProgrammingTags: bug, error, error message, iPad, iPad Playgrounds, liveView, NavigationController, playgrounds, Problem Running Playground, swift, Swift playgrounds, UIviewcontroller, using swift playgrounds, view