Section 8: EggTimer / UIButton currentTitle 출력
* 3가지 button을 하나의 IBAction에 묶고나서, 현재 버튼의 title을 출력하고 싶은 경우 ?
-> sender.currentTitle 로 해결
'iOS > iOS Swift Udemy - AngelaYu' 카테고리의 다른 글
디버깅 5단계 (0) | 2022.10.24 |
---|---|
iOS swift Int, Float 계산 순서 (0) | 2022.10.24 |
iOS swift Eggtimer - timer, progress bar (0) | 2022.10.23 |
dictionary practice (0) | 2022.10.22 |
iOS switch문 연습 (0) | 2022.10.20 |