I’ve released some common Swift utilities and extensions that I use across a number of iOS apps on GitHub

Utility Comment
ActivityOverlay Light-weight version of MBProgessHUD - shows a translucent HUD, containing an activity indicator, centred in a specified view
Array+Functional func headTail() -> (head: Element, tail: [Element])? see list monster
NSMutableAttributedString+Creation NSMutableAttributedString creation helpers
OnePixelConstraint Designed as a auto-layout width/height constraint that will always be 1px regardless of screen scale
String+LineUtils Strings line helpers
UIButton+ActionBlock Button onPressed: block extension
UIResponder+FindUIViewController Walk the responder chain until we find a UIViewController; useful when a UIView needs to access UIViewController API
UIView+Autolayout Autolayout helpers; useAutolayout(), centerInView(..), constrainToWidth(..), constrainToHeight(..)
KeepInMemoryMixin Class mixin to allow the class to keep itself in memory
UIView+NibLoading instanceFromNib() Load an instance of a view from a nib named identically to the class.
UIStoryboard+InstantiateViewController type-safe Storyboard view controller instantiation
UIView+border layer based UIView border utilities


The utilities are available as a Cocoapod. To incorporate them to your project add the following to your Podfile eg:

target '<YourProject>' do
    pod 'NACommonUtils'