lxcid / AdvancedUserInterfacesUsingCollectionView

WWDC 2014 Session 232

Home Page:https://developer.apple.com/wwdc/resources/sample-code/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advanced User Interfaces Using Collection View

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.

Requirements

Build

iOS 6 SDK

Runtime

iOS 6

Issues

iOS 6 compatibility

  • 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:].

Limitations

  • State machine does not support pagination.
  • No public way to extends content loading state machine.

Copyright (C) 2014 Apple Inc. All rights reserved.

About

WWDC 2014 Session 232

https://developer.apple.com/wwdc/resources/sample-code/

License:Other


Languages

Language:Objective-C 98.9%Language:C++ 0.8%Language:Ruby 0.3%