View and layer drawing helpers for iOS.