Skip to content
This repository has been archived by the owner on Mar 29, 2018. It is now read-only.

added strideable methods #66

Merged
merged 1 commit into from
Feb 2, 2015
Merged

added strideable methods #66

merged 1 commit into from
Feb 2, 2015

Conversation

michaeleisel
Copy link
Contributor

this allows stuff like

for date in stride(from: date, to: graphEndDate, by: 1.hour) {
    addHourLabel(forDate: date)
}

let range: StrideTo<NSDate> = stride(from: dateRange.startDate, to: dateRange.endDate, by: 10.minutes)
return map(range, { date in
    //...
})

@pNre pNre merged commit 53f018b into pNre:master Feb 2, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants