Skip to content

Open source replacement UICollectionView forked from steipete/PSTCollectionView, with some additional features.

License

Notifications You must be signed in to change notification settings

code2sys/PSTImprovedCollectionView

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PSTCollectionView

The initial purpose of PSTCollectionView was to bring UICollectionView to iOS 4 and 5, but as right now most apps don't support iOS 5 any more, the main focus of this fork is to add a cell preload feature to collection view.

Thanks to Peter Steinberger and all the contributors of the original PSTCollectionView project ( steipete/PSTCollectionView)

Animations

Thanks to Sergey Gavrilyuk (@octogavrix), animations are supported. It's not perfect yet (see LineExample), but it's a great start.

ARC

PSTCollectionView works with Xcode 4.5.2+ and ARC.

Dependencies

PSTCollectionView needs the QuartzCore.framework.

Interoperability

Another goal (at least super useful for debugging) is interoperability between UI/PST classes:

UICollectionViewFlowLayout *flowLayout = [UICollectionViewFlowLayout new];
PSTCollectionView *collectionView = [[PSTCollectionView alloc] initWithFrame:self.view.bounds collectionViewLayout:(PSTCollectionViewFlowLayout *)flowLayout];

(*) Note that for some methods we can't use the _ underscore variants or we risk to get a false-positive on private API use. I've added some runtime hacks to dynamcially add block forwarders for those cases (mainly for UI/PST interoperability)

Creator

Peter Steinberger (@steipete) and lots of others! See Contributors for a graph. Thanks everyone!

License

PSTCollectionView is available under the MIT license. See the LICENSE file for more info.

About

Open source replacement UICollectionView forked from steipete/PSTCollectionView, with some additional features.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 99.9%
  • Ruby 0.1%