Tag: App Programming
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
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 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 August 1, 2018
by Steven Lipton
1 Comment
The song says time is on my side, but I sometimes I wonder about that when trying to work with the time types in iOS. Let me show you some of the time types. In Xcode, Open up a blank playground. There are two… Continue Reading “Date and Time in iOS”
Category: iOS Development Weekly Tips, LinkedIn Learning / Lynda.com, Swift, Swift 4.0, Swift Programming, TutorialTags: App Programming, Apple swift, date formatter, dateFormatter, formatting Date, formatting NSDate, iPhone Programming, Locale, NSTimeInterval, swift, time, timeInterval
Posted on April 18, 2018
by Steven Lipton
Leave a Comment
iOS Development tips weekly is a series you can find at the Lynda.com and LinkedIn Learning libraries. The first week of a week’s tip will be available for free. After that, you will need a subscription to get access to it. Click the image… Continue Reading “Tip: Image Literals”
Category: GUI, iOS 11, iOS Development Weekly Tips, LinkedIn Learning / Lynda.com, Swift, Swift Programming, TutorialTags: App Programming, Apple swift, coding images, GUI, Image Literals, images, iPad Playgrounds, playgrounds, swift, UIImage, UIImage(named:), Xcode, Xcode 9
Posted on September 18, 2017
by Steven Lipton
Leave a Comment
A few months ago, Apple threw out my app Interval Runcalc for being too old. While it wasn’t the most innovative, complex or profitable, it was an app I used frequently myself. It was a calculator for time, pace and distance for running not… Continue Reading “This Old App: Update to Xcode 9”
Category: Auto Layout and Size Classes, iOS 11, This Old App, Xcode 9Tags: @objc, App Programming, Apple swift, Auto Layout, ios11, iPhone Programming, iPhone X, layout, swift, Updating, Xcode 9
Posted on June 18, 2015
by Steven Lipton
4 Comments
Sometimes Apple gives away stuff you can get very happy about — like a chance to use voice dictation. If you have had a chance to play with an Apple Watch, the watch has a simple but great way to deal with text messages.… Continue Reading “Swift WatchKit: Adding Text, Dictation, and Emoji Input to Apple Watch “
Posted on April 24, 2015
by Steven Lipton
17 Comments
With the launch of the Apple Watch it’s time for timers in iOS and WatchKit. Learning to use timers is a very important skill for most developers. There are many places we need to schedule regular intervals of time to do things. In my… Continue Reading “Swift Swift: Using NSTimer to Make a Timer or Alarm”
Category: ios8, Swift Programming, Swift Swift, TutorialTags: Alarm clock, App Programming, Apple swift, autolayout, countdown timer, formatting NSTimeInterval, iPhone Programming, NSTimeInterval, NStimer, stopwatch, swift, swift programming, timer, Timer loop, timers in Swift, Xcode
Posted on October 2, 2014
by Steven Lipton
17 Comments
[Updated to Swift 2.0/iOS9.0 9/18/15 SJL – errors corrected 11/20/15] I’m color blind, and that makes me a very good person to teach you about color and UIColor. I’ve painted for many years and my color blindness does not detract but actually helps me… Continue Reading “Swift Swift: Using Color and UIColor in Swift Part 1: RGB”
Category: Swift Programming, Swift Swift, TutorialTags: App Programming, autolayout, color, color picker, get colors, get colors from view, iPad, iphone, make color sliders in swift, read colors, read colors in swift, RGB, set button colors, set label colors, set slider colors, swift, UIButton, UIColor, UIColor to RGB, UILabel, UISlider