Comments (2)
Hi!
Sorry for the delay in getting back to you!
Can you upload an example project which will show the issue? I'd be glad to check into it and get the issue resolved!
from timescroller.
Strange but i've modified your demo project to do the same thing and it is working :) i guess i should be focusing on my own code.
Thanks for open sourcing this wonderful component!
i've added this code to the demo project:
- (void)addData{
NSCalendar *calendar = [NSCalendar currentCalendar];
NSDateComponents *components = [[NSDateComponents alloc] init];
NSDate* today = [_datasource objectAtIndex:[_datasource count]-1];
NSDateComponents *todayComponents = [calendar components:NSYearCalendarUnit | NSMonthCalendarUnit | NSDayCalendarUnit fromDate:today];
for (int i = [todayComponents day]; i >= -15; i--)
{
[components setYear:[todayComponents year]];
[components setMonth:[todayComponents month]];
[components setDay:i];
[components setHour:arc4random() % 23];
[components setMinute:arc4random() % 59];
NSDate *date = [calendar dateFromComponents:components];
[_datasource addObject:date];
}
[self.tableView reloadData];
}
and this one to the end of "cellForRowAtIndexPath" delegate method:
if(indexPath.row==[_datasource count]-1){
NSLog(@"Adding Data");
[self addData];
}
from timescroller.
Related Issues (20)
- clock handle and time label are not in sync all the time. HOT 1
- problem if the numbers of rows <10 HOT 3
- timeScroller won't work if rows could not full fill at least one page HOT 6
- Hands in the clock not moving, though the time in the text is right HOT 3
- device orientation support & number of rows changes HOT 2
- Switching View Controllers causes TimeScroller to "Multiply" HOT 8
- resizableImageWithCapInsets works on ioS5 only HOT 3
- CocoaPod release version out-of-date HOT 3
- How to add this to a uiscrollview? HOT 1
- iOS7 Support HOT 9
- Not working on iPad iOS5 HOT 13
- iOS 7 redesign HOT 2
- TimeScroller is broken on iOS 8.1 HOT 6
- Time scroller not visible in plus size and iPhone X device models.
- ARC Compatibility HOT 1
- Length is the short for non-English localizations HOT 4
- ARC Support HOT 1
- Please add semantic version tags. HOT 1
- some strange question HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from timescroller.