revised second custom presentation example for swift and iOS 8