Skip to content

Conversation

@petropavel13
Copy link

Closes #9

UICollectionViewLayoutAttributes* currentItemAttributes = [[super layoutAttributesForItemAtIndexPath:indexPath] copy];
UICollectionViewLayoutAttributes* currentItemAttributes;

if (UIDevice.currentDevice.systemVersion.floatValue < 10.0) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would prefer if (@available(iOS 10, *)) { be used here.

However, are there any detrimental effects of using copy all the time? @petropavel13

Copy link
Author

@petropavel13 petropavel13 Jul 7, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi!
Added available check.
There is no issues detected since december.

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