티스토리 뷰
import UIKit
print(Int.random(in: 1...10000))
'macOS, iOS' 카테고리의 다른 글
[Swift] 선언과 동시에 초기화하는 매우 많은 방법들 (0) | 2019.11.07 |
---|---|
[Swift] do nothing을 어떻게 표현할까 (0) | 2019.11.07 |
xcode에서 미리보기 보기. (0) | 2019.11.06 |
[iOS] Operator function '..<' requires that 'Optional<Int>.Stride' conform to 'SignedInteger' (0) | 2019.11.01 |
[Swift] Int...같이 swift의 three-dots은 무엇일까 (0) | 2019.10.28 |