Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

currentMovingCell public property added to JZLongPressWeekView #139

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

pableiros
Copy link

I need the currentMovingCell to solve a weird animation occurs when moving an event on the same date of another event.

I do this to solve the weird animation:

 // MARK: - JZLongPressViewDelegate

func weekView(_ weekView: JZLongPressWeekView, editingEvent: JZBaseEvent, didEndMoveLongPressAt startDate: Date) {
    weekView.currentMovingCell.contentView.isHidden = true
    ...
}
// JZLongPressWeekView
override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
    ...

    cell.contentView.isHidden = false

    ...
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants