티스토리 뷰
macOS, iOS
[iOS] Operator function '..<' requires that 'Optional<Int>.Stride' conform to 'SignedInteger'
SweetDev 2019. 11. 1. 17:55Operator function '..<' requires that 'Optional<Int>.Stride' conform to 'SignedInteger' ....🤔
(아이맥이라 사진 길이 무엇)
아마 내가 array.max()로 만든 값은 SignedInteger을 따르지 않는 값이었던것 같다.
!을 붙여서 강제추출 했더니 해결되었다..?
'macOS, iOS' 카테고리의 다른 글
swift random함수 (0) | 2019.11.07 |
---|---|
xcode에서 미리보기 보기. (0) | 2019.11.06 |
[Swift] Int...같이 swift의 three-dots은 무엇일까 (0) | 2019.10.28 |
[Swift] 함수선언에서 _(underbar) (0) | 2019.10.28 |
swift의 defer (0) | 2019.10.28 |