Guest User

Untitled

a guest
Dec 13th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. for tickMark in stride(from: 0, to: minutes, by: minuteInterval)
  2. //从0到minutes, 每 minuteInterval 取一个值 (包括0 不包括minutes,属于开区间)
  3. for tickMark in stride(from: 3, through: hours, by: hourInterval)
  4. // 从 3 到 hours 每hourInterval取一个值(包括3 和 hours,属于闭区间)
Add Comment
Please, Sign In to add comment