let alert = UIAlertView() alert.title = "Swiftでタイトル" alert.message = "SwiftでUIAlertViewを使ってメッセージ" alert.addButtonWithTitle("OK") alert.show()