You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to add XYPieCharts inside each of my UICollectionViewCell, and so far implemented the datasource and delegate methods inside my UICollectionViewCell.m file (should I be doing it this way?). The slice of each pie is supplied in the UICollectionViewController method: - (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath.
However, I am running into the issue that none of the pies are showing. Am I correct in setting the datasource and delegate inside the cells as opposed to the view controller? What is the recommended way to doing this?
Thanks!
The text was updated successfully, but these errors were encountered:
Great project!
I am trying to add XYPieCharts inside each of my
UICollectionViewCell
, and so far implemented the datasource and delegate methods inside myUICollectionViewCell.m
file (should I be doing it this way?). The slice of each pie is supplied in theUICollectionViewController
method:- (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath
.However, I am running into the issue that none of the pies are showing. Am I correct in setting the datasource and delegate inside the cells as opposed to the view controller? What is the recommended way to doing this?
Thanks!
The text was updated successfully, but these errors were encountered: