In order to delay code execution, there's a certain expression
DispatchQueue.main.asyncAfter(deadline: .now() + 0.2) {
<#code#>
}
\\ Insert code at <#code#>
'ios Development > Swift' 카테고리의 다른 글
structure & class (0) | 2020.01.17 |
---|---|
String Editing 2 문자 바꾸기, 삭제하기 (0) | 2020.01.13 |
String editing 1 문자 중간에 문자 넣기 (0) | 2020.01.12 |
Substring (0) | 2020.01.12 |
까먹지 말자 String interpolation (0) | 2020.01.09 |