This example demonstrates code factoring approaches to UICollectionViewDataSource that allow developers to compose complex and rich data models. In addition, the sample implements swipe to edit, batch editing including drag reordering, and a sophisticated custom UICollectionViewLayout that features pinning headers, global headers, and loading placeholders.
iOS 6 SDK
iOS 6
AAPLCollectionViewGridLayout
implements- [UICollectionViewLayout invalidateLayoutWithContext:]
which is only available in iOS 7. So, it didn't implements- [UICollectionViewLayout invalidateLayout]
for iOS 6 to function properly.- Some method uses iOS 7 features like
- [UIView setTintColor:]
and- [UIImage imageWithRenderingMode:]
.
- State machine does not support pagination.
- No public way to extends content loading state machine.
Copyright (C) 2014 Apple Inc. All rights reserved.