Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 20 10:08
    fuyunmanbu commented #1136
  • Sep 20 10:02
    patchthecode commented #1136
  • Sep 20 10:01
    patchthecode commented #1136
  • Sep 20 09:59
    fuyunmanbu commented #1136
  • Sep 20 09:51
    patchthecode commented #1136
  • Sep 20 09:36
    fuyunmanbu commented #1136
  • Sep 20 09:30
    Tonigt commented #1137
  • Sep 20 09:25
    patchthecode closed #1136
  • Sep 20 09:25
    patchthecode commented #1136
  • Sep 20 09:23
    fuyunmanbu commented #1136
  • Sep 20 09:23
    patchthecode commented #1137
  • Sep 20 09:20
    Tonigt closed #1137
  • Sep 20 09:17
    Tonigt commented #1137
  • Sep 20 09:13
    patchthecode commented #1137
  • Sep 20 09:12
    patchthecode commented #1137
  • Sep 20 09:08
    patchthecode edited #1137
  • Sep 20 09:07
    Tonigt opened #1137
  • Sep 20 09:03
    patchthecode commented #1136
  • Sep 20 08:53
    fuyunmanbu commented #1136
  • Sep 20 08:47
    patchthecode commented #1136
JTAppleCalendar
@patchthecode
the anchor causes the calendar to scroll the 16 (todays date) to the left (which is the correct behavior)
one sec
looking at video again
oops.

@ijameelkhan

question

ijameelkhan
@ijameelkhan
yes
JTAppleCalendar
@patchthecode
so, is the selected date the 15th ?
or the 16 th
you are making the selected date to be the anchor
is the selected date the 15? or 16 th?
ijameelkhan
@ijameelkhan
selected date is 16th
the current date
see this also please
calendarView.selectDates([Date()])
JTAppleCalendar
@patchthecode
ok
one thing
are you using the example code in my tutorial?
@ijameelkhan
ijameelkhan
@ijameelkhan
tried that but same happens with me
JTAppleCalendar
@patchthecode
:/
ijameelkhan
@ijameelkhan
func configureCalendar(_ calendar: JTACMonthView) -> ConfigurationParameters {

    return ConfigurationParameters(startDate: Date() - 1.months,
                                   endDate: Date() + 3.months,
                                   numberOfRows: numberOfRows,
                                   generateInDates: numberOfRows == 6 ? .forAllMonths : .forFirstMonthOnly,
                                   generateOutDates: .off,
                                   firstDayOfWeek: .monday

    )
}
this is my current code
JTAppleCalendar
@patchthecode
hmm... interesting
is your code public?
or private company code
@ijameelkhan
ijameelkhan
@ijameelkhan
private company
can send you a file for caleendar
JTAppleCalendar
@patchthecode
ijameelkhan
@ijameelkhan
okay
JTAppleCalendar
@patchthecode
i will take your code and try to see if i can re-create it on the sample code provided here
@ijameelkhan
  1. what is your calendar version
ijameelkhan
@ijameelkhan
8.00
from cocoapods
JTAppleCalendar
@patchthecode
2 . did you set a scroll mode for your calendar?
ijameelkhan
@ijameelkhan
stopAtEachSection
I sent you an email
JTAppleCalendar
@patchthecode
can you set it to stop at each Frame?
I want to see if i have a bug on stopAtEachSection code
. checking email now
ijameelkhan
@ijameelkhan
okay
it works like a charm with stop at each Frame
JTAppleCalendar
@patchthecode
ok, i dont need to test your code
i think i have a bug in stopateachsection
ijameelkhan
@ijameelkhan
thanks so much for the help
JTAppleCalendar
@patchthecode
i will have to go through my code now to check where it is
it should not have skipped the 22nd
ijameelkhan
@ijameelkhan
okay cool
JTAppleCalendar
@patchthecode
cool