Skip to content

Commit

Permalink
[Demo] Reduce amount of test data
Browse files Browse the repository at this point in the history
  • Loading branch information
0xNSHuman committed Dec 4, 2017
1 parent a7a5ffa commit 77ff79a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TimelineCardsDemo/TimelineCardsDemo/TestModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class TimelineDataCollection {

init() {
var items = [TimelineData]()
for i in 0 ..< ((arc4random() % 800) + 200) {
for i in 0 ..< ((arc4random() % 400) + 200) {
items.append(TimelineData(date: NSCalendar.current.startOfDay(for: NSDate(timeIntervalSinceNow: TimeInterval(60 * 60 * 24 * i)) as Date) as NSDate))
}

Expand Down

0 comments on commit 77ff79a

Please sign in to comment.