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 July 5, 2016
by Steven Lipton
19 Comments
For most uses, a basic string works well. Normal strings have no character or paragraph formatting. They rely on the properties of the control to format them. The system only formats the full string, not parts of it. For formatting a part of a… Continue Reading “Using Attributed Strings in Swift 3.0”
Category: Swift Programming, Swift Swift, TutorialTags: Apple swift, Attributed Strings, Attributed Text, attributes, Drop Shadows, NSAttributedString, NSBackgroundColorAttributeName, NSFontAttributeName, NSMutableAttributedString, NSRange, NSShadow, NSShadowAttributeName, NSStrokeColorAttributeName, NSStrokeWidthAttributeName, swift and UI, swift programming, Swift. NSAttributedString in Swift
Posted on May 19, 2015
by Steven Lipton
2 Comments
Flat User interfaces are a lie. They are not completely flat. One effect continues to be used with them to show depth: Shadows. In flat interfaces it can look like there are some views floating above others by the use of shadows. In this… Continue Reading “Swift Swift: How to Make a Drop Shadow in User Interfaces”
Category: GUI, ios8, Swift, Swift Swift, Tutorial, UncategorizedTags: Auto Layout, Autoalyout, CALayer, Drop Shadows, Drop Shaodws, Glow, ios, iOS 8, layer property, Shadow Radius, Shaodw Opacity, swift, Swift GUI, UIButton, UIbutton.layer