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
6
votes
2 answers

JTAppleCalendar Custom cell bug on cellForItemAt date in Swift 3.2

I added JTAppleCalendar inside my project and I want to add some tags in some of my calendar cells. I have success adding them, but when I scroll left or right on my calendar months, cells inside tags disappear, hide, or mix, and when I scroll again…
SwiftDeveloper
  • 7,244
  • 14
  • 56
  • 85
5
votes
0 answers

Having issues recreating JTAppleCalender from patch the code

I'm having some issues trying to recreate a calendar from patchthecode's tutorial Here's the link: https://patchthecode.github.io/MainTutorial2/. Here are a few of the error's i'm getting: 1.Cannot assign value of type 'ViewController' to type…
4
votes
2 answers

JTAppleCalendar programmatically, cells not showing

I am trying to implement JTAppleCalendar programmatically without storyboards, using a xib file for the cell. I have set the delegate and datasource, and implemented the required functions, but the cells are not showing. I can see that the…
kMose
  • 69
  • 1
  • 8
3
votes
7 answers

Swift - could not dequeue a view of kind: UICollectionElementKindCell

I got this error message when trying to load my project Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'could not dequeue a view of kind: UICollectionElementKindCell with identifier CustomCell - must register a…
Sid
  • 103
  • 1
  • 2
  • 12
3
votes
1 answer

Showing Months and year as header through JTAppleCalendar

I am using JTAppleCalendar in my iOS application but I am finding it difficult to implement headers that show the month and year at the top of the calendar as a conventional calendar normally would. I have followed instructions in the documentation…
Nouman
  • 585
  • 1
  • 11
  • 24
2
votes
1 answer

JTAppleCalendar fails to trigger didSelectDate after update to 8.0

I'm using JTAppleCalendar to add a calendar to a view in my app. I had everything working but after I updated to 8.0 I can't link the controllers properly. Here is the error I get Assertion failed: Attemped to access calendar when…
Ando
  • 1,802
  • 4
  • 25
  • 47
2
votes
1 answer

How can i disable scroll to previous month in JTAppCalendar?

Now Im using JTAppCalendar 6.0 version, func configureCalendar(_ calendar: JTAppleCalendarView) -> ConfigurationParameters { let formatter = DateFormatter() formatter.dateFormat = "yyyy MM dd" let parameters =…
2
votes
1 answer

Month name under date label in JTAppleCalendar in Swift

I'm trying the tutorial for JTAppleCalendar from the youtube. In this I'm making custom calendar in which under the date label I'm trying to show the current month name. I'm also getting the month name at the top of the view. When I pass the month…
raheem
  • 689
  • 2
  • 8
  • 16
2
votes
2 answers

Why is my JTAppleCalendar 1 day ahead?

I'm using JTAppleCalendar and each months date is 1 day ahead than it should be. This is my code for the configuration: func configureCalendar(_ calendar: JTAppleCalendarView) -> ConfigurationParameters { formatter.dateFormat = "yyyy MM dd" …
LouiOS
  • 81
  • 7
2
votes
2 answers

How to change Month View to Week View vice versa for JTAppleCalendar

Hi newBiew in JTAppleCalendar. I follow this link for JTAppleCalendar. https://www.youtube.com/watch?v=CQNotydm58s&index=6&list=PLpqJf39XekqyUG7dxcqGO0JNprryysv9Q I have this Problem: How to I show calendar when user click a button to change…
MilkBottle
  • 4,242
  • 13
  • 64
  • 146
2
votes
1 answer

How to select Date in the CalendarView

hi newBiew in JTAppleCalendar. I have following this link for creating a Calendar base on JTAppleCalendar. https://www.youtube.com/watch?v=CQNotydm58s&index=6&list=PLpqJf39XekqyUG7dxcqGO0JNprryysv9Q I could not figure how to get a date after user…
MilkBottle
  • 4,242
  • 13
  • 64
  • 146
2
votes
2 answers

I want to create custom calendar so i used JTAppleCalendar and want to display date in collection view cell

I want to create custom calendar so I used JTAppleCalendar for this I have taken one collection view and want to display date in collection view cell but it is not displaying what should be the solution for this? CalendarViewController.swift import…
2
votes
0 answers

JTAppleCalendar with event in tableview

I have a bit complicated question to explain, but I will try to be as much precise as I can. I am building a calendar (I'm using JTAppleCalendar) with notes. So basically what i'm trying to achieve is to show the calendar and beneath it a tableview…
Marco
  • 1,051
  • 1
  • 17
  • 40
1
vote
0 answers

Error when installing framework using cocoapod

I am currently trying to install JTAppleCalendar framework into my project however I keep getting this error from the command line: [!] The `FinalYearProject1UITests [Debug]` target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting…
Emma
  • 11
  • 1
1
vote
1 answer

Access Parent tableViewCell from Child CollectionViewCell

Image Depicting One tableViewCell. Inside One tableViewCell there is some content and One CollectionView(Gray color area showing dates). Depending on dates in collection view and their scrolling I have to show Year and Month("December 2018" : It is…
Shivam Tripathi
  • 1,405
  • 3
  • 19
  • 37
1
2 3 4