blommegard / sbtickerview Goto Github PK
View Code? Open in Web Editor NEWAn easy to use ticker view with inspiration from Flipboard
License: MIT License
An easy to use ticker view with inspiration from Flipboard
License: MIT License
Hi,
I've tried your app in Simulator (Version 5.1 (272.12)) and Device iPhone (Retina). And when I play with "Tickle Image Down"/"Tickle Image Down" I'm seeing strange vertical line at the "center of cat".
Maybe just a simulator issue...
In your demo, panning doesn't appear to work. Only log messages appear. Is this feature incomplete?
It crashes when I put the Clock
I think that the issue comes from
(void)numberTick:(id)sender {
NSDateFormatter *formatter = [[NSDateFormatter alloc] init];
[formatter setDateFormat:@"HHmmss"];
NSString *newClock = [formatter stringFromDate:[NSDate date]];
[_clockTickers enumerateObjectsUsingBlock:^(id obj, NSUInteger idx, BOOL *stop) {
if (![[_currentClock substringWithRange:NSMakeRange(idx, 1)] isEqualToString:[newClock substringWithRange:NSMakeRange(idx, 1)]]) {
[obj setBackView:[SBTickView tickViewWithTitle:[newClock substringWithRange:NSMakeRange(idx, 1)] fontSize:45.]];
[obj tick:SBTickerViewTickDirectionDown animated:YES completion:nil];
}
}];
_currentClock = newClock;
}
Hi,
nice work, I really like it!
But whenever my ticker ticks, the bottom part of the ticker view moves about 1 pixel up, and after the animation down again to the right place. I made a screenshot: http://imageshack.us/photo/my-images/248/ticker.png/ (look at the last ticker)
I have got your clock sample working within my project, however the ticker views appear double the height with the number in the top half and it folds just underneath the number.
I haven't changed any sizes of view or font so can't understand where the size difference is coming from.
Any ideas?
Thanks
I'm trying to use an image 83 x 77 instead of the 100 x 160, and when i try to tick up and down, it animates with the other dimension.
Is there something i can do to fix this issue.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.