Giter VIP home page Giter VIP logo

Comments (13)

evadne avatar evadne commented on August 15, 2024

I think this is why — is there double initialization happening?

from dayflow.

evadne avatar evadne commented on August 15, 2024

Also would love to get a patch for multiple date selection — if we can work out a nice API this will be a great thing to have :) thanks for using DayFlow.

from dayflow.

sigmundfridge avatar sigmundfridge commented on August 15, 2024

I can send you my code, but I am towards the amateur end of the spectrum so it might not be much use. It is potentially a very simple problem, but being relatively new to Objective C my subclassing is still a bit guesswork.

from dayflow.

evadne avatar evadne commented on August 15, 2024

I happen to have approximately 15 minutes — can you put me on the repo as a temporary collaborator?

from dayflow.

sigmundfridge avatar sigmundfridge commented on August 15, 2024

and thanks for the help, that definitely looks like the issue

from dayflow.

evadne avatar evadne commented on August 15, 2024

You can just tell the collection view to scroll to the middle (reuse that chunk of code in -viewWillMoveToSuperview:) in your view controller’s -viewWillAppear:. That might work.

from dayflow.

sigmundfridge avatar sigmundfridge commented on August 15, 2024

Sorry for the delay, I hadn't actually added a repo for it (as it was just something I was messing around with). I've uploaded it now, and added you as a collaborator. It is basically your sample project, so needs pod install (the podfile is already present). If you don't get a chance to look at it, I will take your advice and work on it later.

from dayflow.

sigmundfridge avatar sigmundfridge commented on August 15, 2024

That works in viewDidAppear but not 'will' . And obviously this causes a bit of a jump. It also seems that this isn't just an issue for my subclassing, but generally when initialising your view controller via the storyboard.

from dayflow.

evadne avatar evadne commented on August 15, 2024

Gotcha. Storyboard usage. I will look at that and try to make the date
scrolling less hacks.

On May 27, 2013, at 17:20, sigmundfridge [email protected] wrote:

That works in viewDidAppear but not 'will' . And obviously this causes a
bit of a jump. It also seems that this isn't just an issue for my
subclassing, but generally when initialising your view controller via the
storyboard.


Reply to this email directly or view it on
GitHubhttps://github.com//issues/3#issuecomment-18518949
.

from dayflow.

sigmundfridge avatar sigmundfridge commented on August 15, 2024

Hi again,
Finally got around to formalising multiple date selection, and I've added you as a contributor to the forked project. When you initialise the view controller you send a BOOL to determine if it's single or multiple date selection. It defaults to single. It seems like a pretty simple addition to me, but I might be missing some finer important points from your code.

from dayflow.

evadne avatar evadne commented on August 15, 2024

I think we shall just expose the underlying collection view as multiple
selection and adjust the public API correctly?

On Nov 17, 2013, at 2:19, sigmundfridge [email protected] wrote:

Hi again,
Finally got around to formalising multiple date selection, and I've added
you as a contributor to the forked project. When you initialise the view
controller you send a BOOL to determine if it's single or multiple date
selection. It defaults to single. It seems like a pretty simple addition to
me, but I might be missing some finer important points from your code.


Reply to this email directly or view it on
GitHubhttps://github.com//issues/3#issuecomment-28632397
.

from dayflow.

evadne avatar evadne commented on August 15, 2024

ALSO — if you send a pull request I’ll be so happy to review it formally :)

On Nov 17, 2013, at 2:19 AM, sigmundfridge [email protected] wrote:

Hi again,
Finally got around to formalising multiple date selection, and I've added you as a contributor to the forked project. When you initialise the view controller you send a BOOL to determine if it's single or multiple date selection. It defaults to single. It seems like a pretty simple addition to me, but I might be missing some finer important points from your code.


Reply to this email directly or view it on GitHub:
#3 (comment)

from dayflow.

sigmundfridge avatar sigmundfridge commented on August 15, 2024

I think that's basically what i did, but added a custom init to allow for single or multiple selection.

Sent from my iPad

On Nov 16, 2013, at 7:03 PM, "Evadne Wu" [email protected] wrote:

I think we shall just expose the underlying collection view as multiple
selection and adjust the public API correctly?

On Nov 17, 2013, at 2:19, sigmundfridge [email protected] wrote:

Hi again,
Finally got around to formalising multiple date selection, and I've added
you as a contributor to the forked project. When you initialise the view
controller you send a BOOL to determine if it's single or multiple date
selection. It defaults to single. It seems like a pretty simple addition to
me, but I might be missing some finer important points from your code.


Reply to this email directly or view it on
GitHubhttps://github.com//issues/3#issuecomment-28632397
.

Reply to this email directly or view it on GitHub.

from dayflow.

Related Issues (7)

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.