Levi McCallum
413307a973
Assert flow layout inspector always initializes with a flow layout
2015-10-21 23:17:37 -07:00
Levi McCallum
5ca14486b6
Make array instantiation consistent
2015-10-21 23:17:37 -07:00
Levi McCallum
9697edac33
Fix conditional block style
2015-10-21 23:17:37 -07:00
Levi McCallum
11076b115e
Used cached layout value in node remeasurement
2015-10-21 23:17:37 -07:00
Levi McCallum
8f289d9977
Back internal kind collection with a set
2015-10-21 23:17:37 -07:00
Levi McCallum
0972c56f73
Call UIViewController's designated initializer in ASViewController
...
ASViewController currently cannot be subclassed in Swift, as the original call to `[super init]` directs to calling the designated initializer of UIViewController `[self initWithNibName:bundle:]`. Because of Swift's initializer inheritance behavior, this designated initializer will not implicitly be available on the subclassed ASViewController without some extra boilerplate. Adding an explicit call to the designated initializer fixes this issue.
2015-10-20 16:37:39 -07:00
rcancro
050160e6bb
fixed the build again (removed all generic collections)
2015-10-19 10:04:49 -07:00
rcancro
5a3b021510
fixed build
2015-10-19 08:57:17 -07:00
rcancro
f164b97700
Put all ascii box methods into a Debugging category.
2015-10-19 08:32:14 -07:00
rcancro
3b983c5a50
Ascii art for layoutables
2015-10-16 16:15:29 -07:00
Levi McCallum
8b7ac3c37d
Ensure layout controller exposes only cell item index paths to range controller
2015-10-15 11:40:53 -07:00
Levi McCallum
55c1b8f6e7
Fix variable naming in debug log
2015-10-15 11:40:53 -07:00
Levi McCallum
9a37538582
Clean up and test registration of internal supplementary node kinds
2015-10-15 11:40:53 -07:00
Levi McCallum
12194199cd
Clean up layout delegate protocol API
2015-10-15 11:40:53 -07:00
Levi McCallum
772e9b95a4
Document layout delegate on ASCollectionView
2015-10-15 11:40:53 -07:00
Levi McCallum
0446902c17
Remove supplementary view assertion
2015-10-15 11:40:53 -07:00
Levi McCallum
e2bbde2a4e
Clean up usage of internal flow layout inspector
2015-10-15 11:40:53 -07:00
Levi McCallum
8ac02a6eaf
Document public supplementary node methods
2015-10-15 11:40:53 -07:00
Levi McCallum
ee0cc2001a
Add support for loaded node layout for supplementary views
2015-10-15 11:40:52 -07:00
Levi McCallum
952a66a924
Remove initial data loading subclass hook
2015-10-15 11:40:52 -07:00
Levi McCallum
1c717c74b8
Homogenize cell node measuring
2015-10-15 11:40:52 -07:00
Levi McCallum
ba72c73779
Clarify default value behavior of the layoutDelegate for flow layouts
2015-10-15 11:40:52 -07:00
Levi McCallum
fddb0061b0
Use ASCellNodes for supplementary nodes
2015-10-15 11:40:52 -07:00
Levi McCallum
0870d50e36
Clarify layout delegate assertion messages
2015-10-15 11:40:52 -07:00
Levi McCallum
848dc26a0d
Fix hook method naming
2015-10-15 11:40:52 -07:00
Levi McCallum
4fb4119f9c
Clarify data controller subclass hooks
2015-10-15 11:40:52 -07:00
Levi McCallum
eb5c79598c
Clean up arrangement of data controller subclassing methods
2015-10-15 11:40:52 -07:00
Levi McCallum
3f0092435a
Add support to move supplementary nodes with section position changes
2015-10-15 11:40:51 -07:00
Levi McCallum
9235ce5ac2
Support reloading supplementary nodes when sections reload
2015-10-15 11:40:51 -07:00
Levi McCallum
d77df45bfd
Delete supplementary nodes when section is deleted
2015-10-15 11:40:51 -07:00
Levi McCallum
e1ea2d2151
Handle supplementary node generation during insertion of new section
2015-10-15 11:40:51 -07:00
Levi McCallum
2cc55513a4
Nil out pending store kinds after processing
2015-10-15 11:40:51 -07:00
Levi McCallum
d36c8a36c6
Introduce ability to populate internal supplementary nodes at specific sections
2015-10-15 11:40:51 -07:00
Levi McCallum
f9bba315df
Stub out subclass hooks for section insert/remove/update/moving
2015-10-15 11:40:51 -07:00
Levi McCallum
ed7a73361b
Use simpler completed nodes loop
2015-10-15 11:40:51 -07:00
Levi McCallum
71966f3549
Relayout all nodes in backing store on relayoutAllNodes
2015-10-15 11:40:51 -07:00
Levi McCallum
432136740f
Constrain flow layout header/footer size to collection view bounds
2015-10-15 11:40:51 -07:00
Levi McCallum
b58649fdcb
Clean up supplementary nodes in data controller store on each reload
2015-10-15 11:40:51 -07:00
Levi McCallum
5839e5bf3e
Assert supplementary node validity before data controller use
2015-10-15 11:40:51 -07:00
Levi McCallum
769a67569c
Batch layout as display nodes
2015-10-15 11:40:50 -07:00
Levi McCallum
2958c848aa
Asset presence of async delegate before accessing layout delegate
2015-10-15 11:40:50 -07:00
Levi McCallum
8efca60bac
Handle initial sizing delegate implementation in flow layout inspector
2015-10-15 11:40:50 -07:00
Levi McCallum
34f3065825
Use local method for introspecting data controller constrained sizes
2015-10-15 11:40:50 -07:00
Levi McCallum
ba4298e6bc
Optimize string concatenation
2015-10-15 11:40:50 -07:00
Levi McCallum
b436a01000
Assert supplementary node kind registration
2015-10-15 11:40:50 -07:00
Levi McCallum
0086949a65
Fix typo
2015-10-15 11:40:50 -07:00
Levi McCallum
1c2046cdf4
Localize debugging LOG definition
2015-10-15 11:40:50 -07:00
Levi McCallum
e4f274aebb
Expose completed nodes array by kind
2015-10-15 11:40:50 -07:00
Levi McCallum
aa1842e484
Remove non-null definitions
2015-10-15 11:40:50 -07:00
Levi McCallum
6e49e1f4d5
Initialize mutable editing nodes before section insertion
2015-10-15 11:40:50 -07:00