Category Archives for Swift

iOS Google Maps Marker Animation

This post illustrates an easy solution for implementing marker animation on Google Maps for iOS with Swift. The case I’ve used this for is to add a pulsating alarm signal on a google map location,

Continue reading

Let The User Change UIButton Location

This post illustrates a solution for giving users the ability to control the location of a high value UIButton in an app. In fact, the same can apply to any UIView, but I’ve used this technique

Continue reading

UIButton Subclass And Initialization For Storyboard or Code

Let’s look at how to design a subclass of UIButton with Swift, with initializers such that it can be used in a storyboard, or programmatically in code. We’ll discuss initialization requirements,

Continue reading

Inline UIDatePicker In Swift With UIViewController

This tutorial walks through implementing two inline UIDatePicker controls for selecting date/time values, and is written in Swift. There are examples out there that demonstrate an inline UIDatePicker.

Continue reading

iOS Share Icon On UIButton

This post provides working examples of how to implement the iOS share icon, more formally known as the Action button icon, on a regular UIButton. You might have come across the fact that the iOS Action

Continue reading

Easy And Flexible Forms In iOS With Interface Builder

This post looks at how to easily design future-proof data entry forms in iOS with Interface Builder. It includes a demo app written in Swift. There are some libraries written to help with creating forms,

Continue reading

UINavigationController Inside UITabBarController With Storyboard

A very common user interface pattern is to use a UITabBarController as the root view controller for an app, and then embed UINavigationControllers in tabs that require navigation. In iOS apps, this is

Continue reading

Copy Xib To Storyboard

This post describes how you can migrate (or copy) a Xib file into a Storyboard and retain all the components and constraints. In a previous post, I demonstrated a strategy and demo app to migrate an

Continue reading
1 2 3 6