Little counter app in Swift