Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 16 12:41
    patchthecode commented #1341
  • Oct 16 11:29
    minseungseon commented #1341
  • Oct 14 20:22
    patchthecode commented #1340
  • Oct 14 20:21
    patchthecode commented #1340
  • Oct 14 19:18
    mrylmz commented #1340
  • Oct 14 18:52
    patchthecode commented #1341
  • Oct 14 18:49
    patchthecode closed #1339
  • Oct 14 18:49
    patchthecode commented #1339
  • Oct 14 18:49
    patchthecode commented #1339
  • Oct 14 18:47
    patchthecode labeled #1189
  • Oct 14 18:09
    patchthecode commented #1340
  • Oct 14 12:29
    minseungseon edited #1341
  • Oct 14 11:48
    minseungseon edited #1341
  • Oct 14 11:40
    minseungseon edited #1341
  • Oct 14 11:19
    minseungseon opened #1341
  • Oct 13 19:37
    patchthecode commented #597
  • Oct 13 18:59
    minseungseon commented #597
  • Oct 13 18:59
    minseungseon commented #597
  • Oct 06 10:57
    mrylmz opened #1340
  • Oct 05 06:03
    dbyst edited #1339
amin
@shafi.ee_gitlab
and other thing we have even this problem in year view because when app is RTL with persian or arabic canlendar rows should be start to fill from right to left and when app is LTR with Gregorian calendar rows should be start fo till from left to right
for year mode I solved it in this way:
var updateRect: CGRect!
        if Locale.userPreferred.isRTL {
            updateRect = CGRect(x: ((calendar.frame.width - 24 ) / 3)-(rect.origin.x+rect.size.width), y: rect.origin.y, width: rect.size.width, height: rect.size.width)
        } else {
            updateRect = rect
        }
but for month mode I changed semanticContentAttribute for calendar collectionview but it doesn't work
please let me know when ever you find any clue
HungVV25
@ganhxecanh
Can u make an example about custom calendar cell, not using dynamic cell like youtube video? Just a basic example set the outdate with gray color and indate with black color. So many thanks @patchthecode
PatchTheCode
@patchthecode
@ganhxecanh
this is already done
look at example 3.1
amin
@shafi.ee_gitlab
Hi @patchthecode , did you have time to check this direction issue?
amin
@shafi.ee_gitlab
Hi @patchthecode there is not any new news for that issue?
PatchTheCode
@patchthecode
@shafi.ee_gitlab sorry
i got tied up with a major project
i'll have to see what time i have free over the weekend
amin
@shafi.ee_gitlab
Hi @patchthecode ad other guys
do you know how can we understand which month is selected in year view?
PatchTheCode
@patchthecode
@shafi.ee_gitlab
there is an example app attached to the github project
its shows year view as an example
amin
@shafi.ee_gitlab
@patchthecode yes there is an example for year view but there is not any delegate to get selected month in year mode, is there?
because I checked not only example project but also source code and there wasn't any delegate function for that (selected month in year mode)
Harish yadav
@harishdy
Hello
facing issue in JTAppleCalender is not scrolling on the self.calendarView.scrollToSegment(.next),self.calendarView.scrollToSegment(.previous) and on the
self.calendarView.scrollToDate(selectedDate)
is that solution for it
all delegate are set
?
PatchTheCode
@patchthecode
@harishdy what version are you using?
dejiapps
@dejiapps
@patchthecode I am new to ios development, so sorry if this is a dumb question. I have your calendar embedded into a swiftui view. The calendar is setup and running great. The problem I am running into is that I want to push a button in the enveloping swiftui to make the calendar scroll to a date. whenever I try to do it, the calendarView is nil. However, a button emebed in the calendarview storyboard makes the the scroll to date work successfully. How do I keep the calendarview from returning nil when I try to call the function from the swiftUI view?
dejiapps
@dejiapps
@patchthecode Nevermind. by using NotificationCenter to send from the swiftui view to the calendar, it is working. Thanks for the amazing calendar!!
Flamur Beqiri
@flamurbeqiri1
@patchthecode i have a bug that deselect is not called on first tap when i select other date. Should i open a bug in github?
using 8.0 version
panshouheng
@panshouheng
image.png
@patchthecode
hello,
In the demo, func calendar(_ calendar: JTACMonthView, didDeselectDate date: Date, cell: JTACDayCell?, cellState: CellState, indexPath: IndexPath) ,cant success
to Called back
but in viewController.swfit is work,other file cant
Flamur Beqiri
@flamurbeqiri1
no it doesn't
i had to make a little hack in order to work
Andrew Fashion
@andrewfashion
Has anyone done this completely programmatically without Storyboard? I'm having issues registering the cell
@patchthecode I am trying to register JTACDayCell programatically without the use of Xibs.
@patchthecode any help would be awesome :)
PatchTheCode
@patchthecode

@flamurbeqiri1
@andrewfashion

Been very busy lately.
It looks like the best way to reach me now is on github by opening a request.

StackHelp
@StackHelp

Simulator Screen Shot - iPhone 11 - 2020-11-07 at 14.50.37.png

Hi, Is it possible to add calender in each row of the table cell?

PatchTheCode
@patchthecode
@StackHelp
yes its possible.
but why would you want to do that?
StackHelp
@StackHelp
I just scrap that idea beacause I guess that would be some performance issue. Instead I just takes last 3 months of date in array and fill it
Although I have another question. Is it possible to use single selection and ranged selection at once? @patchthecode
Sohaib Siddique
@SohaibSiddique
Hello
@patchthecode I need little help please
sankarSaravanan24680
@sankarSaravanan24680
hi how to have infinity scroll in JTAppleCalendar
?