We're sunsetting PodQuest on 2025-07-28. Thank you for your support!
Export Podcast Subscriptions
cover of episode 312. The iOS Apprentice 2- Checklists 10 - UI Improvements-2

312. The iOS Apprentice 2- Checklists 10 - UI Improvements-2

2016/1/10
logo of podcast iOSDevLog

iOSDevLog

Shownotes Transcript

Showing the number of to-do items remaining 显示剩下待办事项的数量 func countUncheckedItems() -> Int { var count = 0 for item in items where !item.checked { count += 1 } return count}