Category: iOS Development Weekly Tips
Posted on April 9, 2019
by Steven Lipton
Leave a Comment
There’s many ways to handle errors in Swift. For some errors, using throws is a great way to handle errors without crashing the system. Download the exercise file. You’ll find a project with an embedded playground. While there’s a lot better ways to do… Continue Reading “Thrown Errors”
Category: iOS Development Weekly Tips, LinkedIn Learning / Lynda.com, Swift, Swift Programming, TutorialTags: catch, do, do try catch, do...try...catch, enum, error handlers, errors, ios, iPad programming, iPhone Programming, swift, throws, try
Posted on March 31, 2019
by Steven Lipton
Leave a Comment
In many popular programming languages strings are little more than an array of characters, often referred to as C strings since C was one of the first languages to take this approach to strings. As we learned in the last post, with Swift’s use… Continue Reading “Swift Strings Are Not C Strings or NSStrings”
Category: iOS Development Weekly Tips, LinkedIn Learning / Lynda.com, Swift, Swift Programming, TutorialTags: c string, Character, character access, ios, NSString, string, string manipulation, swift, unicode
Posted on March 27, 2019
by Steven Lipton
2 Comments
Special characters like emoji, accents, and symbols in your strings are easier to get than you think. This week, we’ll talk about how using Unicode characters in Swift Strings. Open the exercise file and you’ll find a project which we’ll use for this. I… Continue Reading “Unicode Characters in Strings”
Category: iOS Development Weekly Tips, LinkedIn Learning / Lynda.com, Swift, Swift Programming, TutorialTags: accents, Character map, characters, diacritical marks, emoji, string, swift, swift programming, unicode
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 March 6, 2019
by Steven Lipton
Leave a Comment
One of the really cool features of the App development process is getting real users to beta test your app. iOS has a great way to do this with the test flight app. This week, I’ll summarize the steps to set up Test Flight… Continue Reading “Use Test Flight”
Posted on February 27, 2019
by Steven Lipton
Leave a Comment
Learn how to use haptics to give phone vibrations and physical sensation to your iPhone apps.
Category: Games, GUI, iOS Development Weekly Tips, LinkedIn Learning / Lynda.com, Swift Programming, TutorialTags: Haptic, haptics, ios, Taptic, UI, uikit, vibration
Posted on February 20, 2019
by Steven Lipton
Leave a Comment
Learn how to take a disaster of nested stack views and untangle it into a great user interface.
Category: Auto Layout and Size Classes, GUI, iOS Development Weekly Tips, ios12, LinkedIn Learning / Lynda.com, Swift, Swift Programming, TutorialTags: ios, stack view, stack views, Story Board, storyboard, Storyboards, UIStackView, Xcode
Posted on February 6, 2019
by Steven Lipton
Leave a Comment
In the last tip, I showed you how to use UIPickerControllers to make a time interval input. What I didn’t show you is how to output that. In this tip I’ll show you how to read and convert data from a picker that has… Continue Reading “Time Picker Part 2: Strings to Time Intervals”
Category: GUI, iOS Development Weekly Tips, LinkedIn Learning / Lynda.com, TutorialTags: convert, convert string to TimeInterval, ios, Picker, picker view, pickerview, seconds, string, timeInterval, UIPickerView, UIPIckerViewDataSource, UIPIckerViewDelegate
Posted on January 30, 2019
by Steven Lipton
Leave a Comment
While there is the date components picker, sometimes you want a picker the gives a time interval in seconds. In this two-part tutorial, Let me show you how to set up one, and discuss some good uses of protocols beyondself If you download the… Continue Reading “Protocols and Time Pickers”
Posted on January 23, 2019
by Steven Lipton
Leave a Comment
UI doesn’t have to look like a rectangle. You might want a different shape for your icon. You can do that with layer masks. Let’s learn how to set them up. Download the example files. You’ll find an app with two square buttons. If… Continue Reading “CALayer Masks”
Category: Auto Layout and Size Classes, GUI, iOS Development Weekly Tips, ios12, LinkedIn Learning / Lynda.com, Swift 4.0, Swift Programming, TutorialTags: App Programming, Apple swift, Buttons, CALayer, cutouts, graphics, GUI, ios, Layer, Mask, UI, UX, views