Coder Social home page Coder Social logo

iOS7 Support about timescroller HOT 9 CLOSED

honkmaster avatar honkmaster commented on July 26, 2024
iOS7 Support

from timescroller.

Comments (9)

honkmaster avatar honkmaster commented on July 26, 2024

Seem that the Width of the Scrollbar has changed from 7.0f to 3.5f.

from timescroller.

alexsaidani avatar alexsaidani commented on July 26, 2024

Yeah I noticed that too, little odd. I just added this for a quick and easy fix, probably not the nicest way of doing it, but nonetheless.

float iOS7 = 7.0;
if ([[[UIDevice currentDevice] systemVersion] floatValue] < iOS7)
{
if (imageView.frame.size.width == 7.0f)
{
imageView.clipsToBounds = NO;
[imageView addSubview:self];
_scrollBar = imageView;
_savedTableViewSize = _tableView.frame.size;
}
}
else if ([[[UIDevice currentDevice] systemVersion] floatValue] >= iOS7)
{
if (imageView.frame.size.width == 3.5f)
{
imageView.clipsToBounds = NO;
[imageView addSubview:self];
_scrollBar = imageView;
_savedTableViewSize = _tableView.frame.size;
}
}

from timescroller.

andrewroycarter avatar andrewroycarter commented on July 26, 2024

Good call, I'll get a patch in for this. Also on that note, I wonder if we can think of a more iOS 7 "look" for it?

from timescroller.

honkmaster avatar honkmaster commented on July 26, 2024

I think we need a few changes:

  • Simplify the clock: just a circle, markers for 12, 3, 6, 9, hands must be just a line
  • No gray background, instead blur
  • The view should have no rounded corners

from timescroller.

alexsaidani avatar alexsaidani commented on July 26, 2024

In my latest iPhone app Hashtrack, I've attempted to make it more ios7 like, check out the screenshot: https://www.dropbox.com/s/m2pzitnew84k284/Photo%2024-09-2013%2015%2053%2033.png
The app is available on the AppStore now: http://download.hashtrack.co

from timescroller.

honkmaster avatar honkmaster commented on July 26, 2024

Looks good. Ideally the border would change the tint color according to the apps tint color. Can you provide the code?

from timescroller.

andrewroycarter avatar andrewroycarter commented on July 26, 2024

Looks awesome @alexsaidani, and @honkmaster I love the idea of the blurred background! I'll take inspiration from both of these to make a nice redesign for a iOS 7 only version 3.0.0

I've updated the current version to 2.0.1 to support iOS 7 with the current design.

Thanks guys

from timescroller.

andrewroycarter avatar andrewroycarter commented on July 26, 2024

@honkmaster using the tint color sounds like an awesome idea

from timescroller.

honkmaster avatar honkmaster commented on July 26, 2024

Maybe it would be gread to use a "digital" instead of an "analog" clock. iOS 7 removed all the skeumorphism and i feel that an analog clock would look strange and misplaced.

from timescroller.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.