Thursday 15 March 2012

ios - UICollectionView supplementary view in interface builder -



ios - UICollectionView supplementary view in interface builder -

for uicollectionviewcell, can drag&drop cell in interface builder. can phone call dequeuereusablecellwithreuseidentifier in datasource , works fine.

but how supposed accessory views? tried drag&dropping new uicollectionreusableview sidebar , tried enabling footer alternative of collection view.

in both cases error "could not dequeue view of kind". sure can register class, have add together subviews programmatically. or can utilize separate xib file , register that. maintain within collection view instead of having separate xib file every view.

you don't have register cells, why should have explicitly register supplementary cells.

what's trick in interface builder?

ios interface-builder uicollectionview

No comments:

Post a Comment