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

Size always returns 0 #15

Open
burakkilic opened this issue Jan 12, 2017 · 3 comments
Open

Size always returns 0 #15

burakkilic opened this issue Jan 12, 2017 · 3 comments
Labels

Comments

@burakkilic
Copy link

Hi;

I don't use autolayout in my code. I'm using Masonry for autolayout jobs.

I need to use ARDynamicHeightLayoutCell but it is giving always 0.

[collectionView ar_sizeForCellWithIdentifier:@"ItemAllergensCollectionViewCell" indexPath:ip fixedWidth:collectionView.bounds.size.width configuration:^(__kindof ItemAllergensCollectionViewCell *cell) {
        [cell configureCellWithEntity:self.entity];
    }];

What should I do more?

@AugustRush
Copy link
Owner

Did you use the Auto Layout?

@burakkilic
Copy link
Author

I'm using Masonry for autolayout.

@AugustRush
Copy link
Owner

May your layout is not correct?

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

No branches or pull requests

2 participants