{"action":"created","issue":{"url":"https://api.github.com/repos/patchthecode/JTAppleCalendar/issues/760","repository_url":"https://api.github.com/repos/patchthecode/JTAppleCalendar","labels_url":"https://api.github.com/repos/patchthecode/JTAppleCalendar/issues/760/labels{/name}","comments_url":"https://api.github.com/repos/patchthecode/JTAppleCalendar/issues/760/comments","events_url":"https://api.github.com/repos/patchthecode/JTAppleCalendar/issues/760/events","html_url":"https://github.com/patchthecode/JTAppleCalendar/issues/760","id":314338536,"number":760,"title":"get month before scrolling ends","user":{"login":"coc","id":103925,"avatar_url":"https://avatars2.githubusercontent.com/u/103925?v=4","gravatar_id":"","url":"https://api.github.com/users/coc","html_url":"https://github.com/coc","followers_url":"https://api.github.com/users/coc/followers","following_url":"https://api.github.com/users/coc/following{/other_user}","gists_url":"https://api.github.com/users/coc/gists{/gist_id}","starred_url":"https://api.github.com/users/coc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coc/subscriptions","organizations_url":"https://api.github.com/users/coc/orgs","repos_url":"https://api.github.com/users/coc/repos","events_url":"https://api.github.com/users/coc/events{/privacy}","received_events_url":"https://api.github.com/users/coc/received_events","type":"User","site_admin":false},"labels":[{"id":342535260,"url":"https://api.github.com/repos/patchthecode/JTAppleCalendar/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"patchthecode","id":2439146,"avatar_url":"https://avatars0.githubusercontent.com/u/2439146?v=4","gravatar_id":"","url":"https://api.github.com/users/patchthecode","html_url":"https://github.com/patchthecode","followers_url":"https://api.github.com/users/patchthecode/followers","following_url":"https://api.github.com/users/patchthecode/following{/other_user}","gists_url":"https://api.github.com/users/patchthecode/gists{/gist_id}","starred_url":"https://api.github.com/users/patchthecode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patchthecode/subscriptions","organizations_url":"https://api.github.com/users/patchthecode/orgs","repos_url":"https://api.github.com/users/patchthecode/repos","events_url":"https://api.github.com/users/patchthecode/events{/privacy}","received_events_url":"https://api.github.com/users/patchthecode/received_events","type":"User","site_admin":false},"assignees":[{"login":"patchthecode","id":2439146,"avatar_url":"https://avatars0.githubusercontent.com/u/2439146?v=4","gravatar_id":"","url":"https://api.github.com/users/patchthecode","html_url":"https://github.com/patchthecode","followers_url":"https://api.github.com/users/patchthecode/followers","following_url":"https://api.github.com/users/patchthecode/following{/other_user}","gists_url":"https://api.github.com/users/patchthecode/gists{/gist_id}","starred_url":"https://api.github.com/users/patchthecode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patchthecode/subscriptions","organizations_url":"https://api.github.com/users/patchthecode/orgs","repos_url":"https://api.github.com/users/patchthecode/repos","events_url":"https://api.github.com/users/patchthecode/events{/privacy}","received_events_url":"https://api.github.com/users/patchthecode/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-04-14T15:41:45Z","updated_at":"2018-04-14T15:56:05Z","closed_at":null,"author_association":"NONE","body":"Hi and thanks for this great calendar framework!\r\n\r\nI´m using version 7.15 in a new app I'm developing.\r\n\r\n**How can I get the month the user is scrolling to before scrolling is ready?**\r\n\r\nI use the following settings:\r\n```swift\r\ncalendarView.minimumLineSpacing = 0\r\ncalendarView.minimumInteritemSpacing = 0\r\ncalendarView.scrollingMode = .stopAtEachSection\r\ncalendarView.cellSize = calendarView.frame.size.width / 7 - 4.0 // make calendar height smaller\r\nweekDaysView?.backgroundColor = .white\r\ncalendarViewHeightConstraint.constant = 6 * calendarView.cellSize\r\ncalendarView.scrollDirection = .vertical\r\n```\r\n\r\nOne delegate that is called while user is scrolling is **didScrollToDateSegmentWith**. Can I get the month the user scrolls to or the scroll direction (up or down) inside this function?"},"comment":{"url":"https://api.github.com/repos/patchthecode/JTAppleCalendar/issues/comments/381338938","html_url":"https://github.com/patchthecode/JTAppleCalendar/issues/760#issuecomment-381338938","issue_url":"https://api.github.com/repos/patchthecode/JTAppleCalendar/issues/760","id":381338938,"user":{"login":"patchthecode","id":2439146,"avatar_url":"https://avatars0.githubusercontent.com/u/2439146?v=4","gravatar_id":"","url":"https://api.github.com/users/patchthecode","html_url":"https://github.com/patchthecode","followers_url":"https://api.github.com/users/patchthecode/followers","following_url":"https://api.github.com/users/patchthecode/following{/other_user}","gists_url":"https://api.github.com/users/patchthecode/gists{/gist_id}","starred_url":"https://api.github.com/users/patchthecode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patchthecode/subscriptions","organizations_url":"https://api.github.com/users/patchthecode/orgs","repos_url":"https://api.github.com/users/patchthecode/repos","events_url":"https://api.github.com/users/patchthecode/events{/privacy}","received_events_url":"https://api.github.com/users/patchthecode/received_events","type":"User","site_admin":false},"created_at":"2018-04-14T15:56:05Z","updated_at":"2018-04-14T15:56:05Z","author_association":"OWNER","body":"> One delegate that is called while user is scrolling is didScrollToDateSegmentWith. Can I get the month the user scrolls to or the scroll direction (up or down) inside this function?\r\n\r\nThinking on this. Will reply in some time"}}
{"actor":{"display_login":"patchthecode"}}