…onViewItem. Fixes #71
Make firstObject behave like the documentation says ;)
This should return nil if the array is empty.
* Now extremities can overlay items in their section <http://soff.me/AKVa> * Also added `- (void)collectionView:(SSCollectionView *)aCollectionView willDisplayItem:(SSCollectionViewItem *)item atIndexPath:(NSIndexPath *)indexPath` to SSCollectionViewDelegate
* SSCollectionViewController now gives a default size so something is displayed at first use * SSCollectionView throws an exception if the item size is zero since nothing will be displayed
Enabled correct highlighting of badge text by forwarding setHighlighted messages
SSCatalog was using a vendored version of JMImageCache which had several flaws. Even though AFNetworking is a bit heavier dependency-wise, I am using that in my example because it is strongly preferred over JMImageCache.
…object and the new object are the same and the ref count was one. Also fixing a potential leak in the collection view if an exception was thrown the items array will now be cleaned up by the autorelease pool.