Skip to content

alert(title: String, message: String, success: ((UIAlertAction) Void)? = nil, failure: ((UIAlertAction) Void)? = nil) UIAlertController

S025_신명섭 edited this page Dec 1, 2021 · 5 revisions

형태

alert(title: String,
      message: String,
      success: ((UIAlertAction) -> Void)? = nil,
      failure: ((UIAlertAction) -> Void)? = nil) -> UIAlertController

내용

UIAlertController를 두개의 선택지(확인, 취소)로 만들 수 있는 Alert이며 .alert 형식입니다.
성공 이후 action과 취소 이후 action은 default로 아무것도 하지 않는 nil을 가지지만 원하는 경우 클로저를 삽입하여도 괜찮을 것 같습니다!

스크린샷

simpleAlert과 동일

Booster🚀🔥

Info

Rule

Backlog

공통 모듈

구현 설명 및 기능 정리

Architecture

Architecture

회의록 & DailyScrum & 회고록

멘토링 피드백

멘토링 피드백
Clone this wiki locally