Questions tagged [jtapplecalendar]

an open source iOS calendar view written in Swift

JTAppleCalendar is an open source calendar view written in Swift found at https://github.com/patchthecode/JTAppleCalendar. It can be installed manually, via Cocoapods or Carthage.

Tutorial and example code for this library is found at patchthecode.com.

52 questions
1
vote
2 answers

CalendarKit Issue with the Date Scroll Bar - Swift

I've been having issues with using JT Apple Calendar to select a date to display in CalendarKit. The label will display the proper date, but the date selector above it, does not reflect the date that the label shows. Is there an easy way to fix…
user3628240
  • 877
  • 1
  • 23
  • 41
1
vote
1 answer

Getting the "does not conform to JTAppleCalendarViewDelegate" error even when delegate method implemented

This is the entire extension section of the JTAppleCalendar delegate and datasource methods implementation. extension ViewController : JTAppleCalendarViewDelegate, JTAppleCalendarViewDataSource { func configureCalendar(_ calendar:…
as diu
  • 1,010
  • 15
  • 31
1
vote
1 answer

how can i get the indexpath.section for JT Apple calendar view

I'm using the JT Apple calendar pod to display the calendar what i would like to do is to put two buttons ( previous and next to scroll fast than swiping left or right ) but i can't find a way to get the index path for the collection view > func…
user7279944
1
vote
1 answer

JTAppleCalendar How to set current date and current month

Hi I am newbie to JTAppleCalendar. I need help. I have installed it thru cocoapods and used some of the code as below. I need help on how to use the basic functions such as: Set the calendar for the current month JTC.scrollToDate(Date()) show the…
MilkBottle
  • 4,242
  • 13
  • 64
  • 146
1
vote
1 answer

JTAppleCalendar preselect current date without triggering isSelected

Hi I'm trying to show the JTAppleCalendar with the current date selected but I would like it not to trigger the isSelected because I would like to show a timepicker when the user actually selects a date instead of being triggered when the Calendar…
CFRJ
  • 157
  • 1
  • 12
1
vote
0 answers

How to mark dot on specific dates in JTAppleCalendar

I have an array with 5 dates. I am using JTAppleCalendar. How can I mark dates on this calendar. I don't want to select those dates. I added a "dot" to the cell. I want to visibility on this dot for those specific dates. How can I do this?
user1960169
  • 3,533
  • 12
  • 39
  • 61
1
vote
0 answers

Multiple touch in JTAppleCalendar

I'm using a cocoapods named JTAppleCalendar. I encountered a situation where I can only select dates with two fingers touching the screen at the same time. I've to unchecked 'Multiple Touch' in Xcode, and also tried programmatically disabling…
WoShiNiBaBa
  • 257
  • 5
  • 19
1
vote
1 answer

ViewController does not conform to protocol 'JTAppleCalendarViewDataSource'

I am using Swift 2 and JTAppleCalendar Cocoa Pod for building my Calendar in my app. I am trying to implement the function configureCalendar which is the only function in the protocol JTAppleCalendarViewDataSource. this is the definition of the…
Eyzuky
  • 1,843
  • 2
  • 22
  • 45
1
vote
0 answers

Pick date from a ListView(JSON data) and show it as a Calendar

I'm really new at swift. I'm working at a project to retrieve data from database as JSON and put it to a CalendarView. For example Image ListViewCalendar: I Created a ListView that fetches data in JSON format to a ListView. Is it possible to get…
JCC
  • 11
  • 4
1
vote
1 answer

ViewController Delegate Doesn't Get Invoked

I am trying to implement an external module called JTAppleCalendar in my app and load a calendar when a user taps on a button. While the view associated with the external calendar loads properly, the delegate method for the viewcontroller associated…
c00der
  • 543
  • 1
  • 4
  • 20
1
vote
0 answers

Imitating split view animation used in iOS Calendar app

I am currently experimenting with a calendar framework I found online which possesses most of the functionality I need. However, I would really like to add a feature similar to the animation in the iOS Calendar where when a date is tapped, the view…
adjuric
  • 180
  • 10
0
votes
1 answer

Unable to activate constraint with anchors.... because they have no common ancestor

I am attempting to create a Swift-based UI programmatically that resembles the layout shown below Below is my view hierarchy which I created using xib. Now I'm attempting to achieve the same through programatically. Below is the code which i'm…
0
votes
1 answer

JTAppleCalendar scrollToDate not working on far away dates

So, I am using JTAppleCalendar and I have been running into this issue. In my application I have a calendar view with a reset button that should scroll back to selected date, it works just fine whenever I reset from less than 4 months ahead, but if…
0
votes
1 answer

JTAppleCalendar: Is there a way to force update ConfigurationParameters?

In my current task there is a need to update calendar properties asynchronously. After I get my calendar update I want to reload calendar collection view (for instance calendarView - an entity of JTAppleCalendarView) with the changes just happened…
Sergey
  • 301
  • 3
  • 4
0
votes
1 answer

JTAppleCalendar: Problems with week view

I'm using the JTAppleCalendar library, and I need to create a weekly view. I'm using the configuration that is suggested in the tutorials for the library, so my configuration for the weekly view looks like this. ConfigurationParameters(startDate:…
chnski
  • 557
  • 1
  • 4
  • 20