macOS, iOS

[iOS] Operator function '..<' requires that 'Optional<Int>.Stride' conform to 'SignedInteger'

SweetDev 2019. 11. 1. 17:55

Operator function '..<' requires that 'Optional<Int>.Stride' conform to 'SignedInteger' ....🤔

 

(아이맥이라 사진 길이 무엇)

 

아마 내가 array.max()로 만든 값은 SignedInteger을 따르지 않는 값이었던것 같다. 

 

!을 붙여서 강제추출 했더니 해결되었다..?