Skip to content

currentMovingCell public property added to JZLongPressWeekView#139

Open
pableiros wants to merge 3 commits intozjfjack:masterfrom
pableiros:dev
Open

currentMovingCell public property added to JZLongPressWeekView#139
pableiros wants to merge 3 commits intozjfjack:masterfrom
pableiros:dev

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