IMPORTANT - BEFORE CREATING YOUR ISSUE PLEASE READ THE FOLLOWING:
Like this project? Consider supporting by leaving a star rating. :)
Thanks,
Jay
Yes it can!! 😄
It creates of iOS and tvOS
closing this issue now :]
Thank you. Sorry, I was sure this was more of a question rather than an issue. But did not know another way to clarify it. Thanks again!
its cool.
Hello, I followed the steps from your video
https://www.youtube.com/watch?v=zOphH-h-qCs&t=323s and everything works
perfectly but for this- I am unable to see all the 6 rows. I will have to
click on one of the cells and then the 6th row of the grid shows up. Only
difference is that, I am developing an app for iPad and so obviously my
simulator is set to iPad.
Resizing height of the UICollectionView or resizing the height/width of the
cell itself does not solve the issue. Can you help please?
On Tue, Apr 18, 2017 at 8:56 PM, JTAppleCalendar notifications@github.com
wrote:
its cool.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/patchthecode/JTAppleCalendar/issues/385#issuecomment-294881174,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Aacl8MO3pmU4Ubq5ZlWUho265C2_iM3Lks5rxNY_gaJpZM4NAaWf
.
you will have to be a bit more descriptive :)
How many rows do you see? - 5 as soon as the simulator opens and the 6th row shows up as and when I click on one of the first 5 rows.
What kind of scrolling do you have? vertical or horizontal - Horizontal
Do you have your calendar in a hierarchy that is hooked in with a UINavigation controller? -
Yes.
Can you send me a zipped copy of the file you're working on?
After adding the day name (Sun, Mon, Tue etc..) headers now, issue seem to have been resolved. Would have been good to understand what exactly fixed it.
I do not think your issue is resolved.
i believe that this is the fix for your issue -> http://patchthecode.github.io/CommonProblems/
Ah, maybe the problem is not visible to me right now. Sure, shall implement this.
You're great! I shall also ensure, I have a look at 'common problems' (sorry did not know this exists; am new to GitHub) section before posting an issue.
its cool.
let me know if it was fixed.
Have a good one 🍻
Hello,
As I said before, the problem (if it still exists) is not visible to me right now. It works perfectly even without unchecking 'Adjust scroll view insets'.
I need your help with another thing am trying to do. Am trying to segue to another view controller on selection of a cell.
Am able to achieve this using the follow steps.
And segue works perfectly on selection of a cell.
However, what I also need is, pass the selected cell to the destination view controller. I tried using prepareForSegue(...) method but I am unable to figure out how to pass the currently selected cell using prepareForSegue(...) method.
Can you give some ideas please?
the way you do it should be in the prepareForSegue(...) method.
and you should not pass the cell to the next viewController, you should pass the _information_ of the cell to the next view controller.
There are many sample codes online that is available which shows the process a lot better than i can explain here.
Thank you. That made me realise, all that I need is just the date text in the currently selected cell rather than the cell itself.
But I am actually struggling to find a way to retrieve the currently selected cell (and its properties such as dateLabel etc..) from within prepareForSegue method. Tried casting (posted the code below) the sender argument of the method but it does not seem to work.
/* Code snippet */
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
if segue.identifier == "showDetail" {
let _ = (segue.destination as? UpdateHours)
/* UpdateHours is class of the destination view controller and
CustomCell is the model class for the cell within collectionview */
let detailCell = sender as! CustomCell
}
}
Fixed this by doing the below:
Thank you again!!