Skip to content

Add default to numberOfSectionsInCollectionView: method#3

Merged
jamztang merged 1 commit intoCSStickyHeaderFlowLayout:masterfrom
miwillhite:master
Mar 19, 2014
Merged

Add default to numberOfSectionsInCollectionView: method#3
jamztang merged 1 commit intoCSStickyHeaderFlowLayout:masterfrom
miwillhite:master

Conversation

@miwillhite
Copy link
Copy Markdown
Contributor

This branch will use the Apple specified default for numberOfSectionsInCollectionView: when not explicitly defined on the datasource. See: https://developer.apple.com/library/ios/documentation/uikit/reference/UICollectionViewDataSource_protocol/Reference/Reference.html#//apple_ref/occ/intfm/UICollectionViewDataSource/numberOfSectionsInCollectionView:

  • Check for existence of numberOfSectionsInCollectionView: on collection view datasource
  • Use default specified by Apple docs if not found
  • Ready for review

@jamztang
Copy link
Copy Markdown
Collaborator

Great catch, thanks!

jamztang pushed a commit that referenced this pull request Mar 19, 2014
Add default to numberOfSectionsInCollectionView: method
@jamztang jamztang merged commit b0aefde into CSStickyHeaderFlowLayout:master Mar 19, 2014
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