Closed BadChoice closed 4 years ago
There is a warning that appears in the last xcode version in DTTimePeriodChain.m at line 149
DTTimePeriodChain.m
The solution is easy, replace the line
[((DTTimePeriod *) obj) shiftEarlierWithSize:DTTimePeriodSizeSecond amount:[periods[0] durationInSeconds]];
for
[((DTTimePeriod *) obj) shiftEarlierWithSize:DTTimePeriodSizeSecond amount:[self->periods[0] durationInSeconds]];
Let me know if you want a PR for this
The PR #266 silence this warning
Great! thank you!
Fixed in release 5.0.0
There is a warning that appears in the last xcode version in
DTTimePeriodChain.m
at line 149The solution is easy, replace the line
for
Let me know if you want a PR for this