GithubHelp home page GithubHelp logo

Comments (6)

littlehj avatar littlehj commented on May 25, 2024 1

YES. Thanks for great support.

from calendarkit.

richardtop avatar richardtop commented on May 25, 2024

Could you please elaborate on your idea? Do you propose to have an option to show current time even for e.g. yesterday or any other day in the past/future? Which color should that indicator have?

Currently it just mimics the default Calendar app behavior, which is to show it just for "today".

from calendarkit.

littlehj avatar littlehj commented on May 25, 2024

Currently, the time indicator is only shown if it is today, like the default Calender app.
However, I realized that it would be much more helpful to show the current time when adjusting past or future events.
I'm suggesting this because I think such a time indicator would be a good UI reference for users when adding new events or modifying existing ones.

from calendarkit.

richardtop avatar richardtop commented on May 25, 2024

I suggest you modifying the library (forking) and then adjusting the logic of hiding that time indicator. e.g. you might change the color of the indicator for other dates than today, the relevant code is here: https://github.com/richardtop/CalendarKit/blob/master/Sources/Timeline/TimelineView.swift#L382

from calendarkit.

littlehj avatar littlehj commented on May 25, 2024

I suggest you modifying the library (forking) and then adjusting the logic of hiding that time indicator. e.g. you might change the color of the indicator for other dates than today, the relevant code is here: https://github.com/richardtop/CalendarKit/blob/master/Sources/Timeline/TimelineView.swift#L382

Thanks,

from calendarkit.

richardtop avatar richardtop commented on May 25, 2024

Were you able to achieve the result you intended? Can this ticket be closed?

from calendarkit.

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.