Commit Graph
4265 Commits
Author SHA1 Message Date
Huy Nguyen 3e56a327c7 Add constrainedSizeForNodeAtIndexPath to ASPagerNodeDataSource 2016-02-11 10:47:27 -08:00
appleguy 5cccc0f432 Merge pull request #1216 from levi/layoutTransition
[ASLayoutSpec] Wrap implicit node hierarchy management behind feature flag property
2016-02-10 19:34:06 -08:00
Levi McCallum b267821d4c Wrap implicit node hierarchy management behind feature flag property 2016-02-10 19:21:29 -08:00
appleguy 5fa3b53503 Merge pull request #1215 from garrettmoon/fixForPINRemoteImage2.0
PINRemoteImage 2.0 moved its tag
2016-02-10 18:43:05 -08:00
Garrett Moon 063cf86579 PINRemoteImage 2.0 moved its tag, who the hell are these idiots. -signed, author of PINRemoteImage 2016-02-10 18:35:29 -08:00
appleguy 07adec12a0 Merge pull request #1183 from levi/layoutTransition
[ASLayoutSpec] Add API to animate layout spec transitions, with implicit subnode management.
2016-02-10 15:30:49 -08:00
Levi McCallum cb7ce44bf2 Revert updates to ASViewController 2016-02-10 15:22:43 -08:00
Levi McCallum 2e74a75492 Resize ASViewController node on view controller size transitions 2016-02-10 15:16:26 -08:00
Levi McCallum 163ddb1240 Layout only immediate subnodes of a node 2016-02-10 15:13:46 -08:00
appleguy e57f2cd00b Merge pull request #1209 from garrettmoon/addPINRemoteImageDownloader
[ASImageNode] Add PINRemoteImage as the default image downloader for both Network & Multiplex nodes.
2016-02-10 15:11:33 -08:00
Levi McCallum 6f37bb40d9 Allow layouts to be accessible in context 2016-02-10 14:39:46 -08:00
Garrett Moon e3315f4b44 Skip decoding as ASDK will handle that. 2016-02-10 13:28:30 -08:00
Garrett Moon 622c851779 Fix downloader test 2016-02-10 12:24:45 -08:00
Levi McCallum 6aae68ead4 Includ ASTransitionContext implementation in iOS framework 2016-02-10 11:59:34 -08:00
Levi McCallum 870cc405e6 Remove removedSubnodes instead of insertedSubnodes 2016-02-10 11:44:13 -08:00
Levi McCallum 50a41df7b0 Return current layout if pending layout isn't needed 2016-02-10 11:44:13 -08:00
Levi McCallum 499c3331ce Optimize insertion/deletion node calculation & expose inserted/deleted subnodes to transition context 2016-02-10 11:44:13 -08:00
Levi McCallum d669cadcba Use core layoutSublayouts method for layout step 2016-02-10 11:44:13 -08:00
Levi McCallum e57761ffbe Fix pending layout reference causing nil references 2016-02-10 11:44:13 -08:00
Levi McCallum a00e9bb41c Clean up node transition API 2016-02-10 11:44:12 -08:00
Levi McCallum 3444fa18dd Remove viewWillLayoutSubviews from ASViewController 2016-02-10 11:44:12 -08:00
Levi McCallum 8737e242f8 Extract measurement and transition into different methods based on feedback 2016-02-10 11:44:12 -08:00
Levi McCallum 8bfa3e4012 Remove ivar 2016-02-10 11:44:12 -08:00
Levi McCallum 5cf5cb8452 Delegate layout frame calculation to sublayout method 2016-02-10 11:44:12 -08:00
Levi McCallum 1513ee8ca5 Expose the layout's immediate sublayouts as the accessing nodes 2016-02-10 11:44:11 -08:00
Levi McCallum 4361c3bbb4 Remove disabled APIs 2016-02-10 11:44:11 -08:00
Levi McCallum 8cdea808ec Expose calculated frame on layout 2016-02-10 11:44:11 -08:00
Levi McCallum a93013702d Add transition context to iOS framework 2016-02-10 11:44:11 -08:00
Levi McCallum d8d76635ff Perform animation transition on measureWithSizeRange instead of separate method 2016-02-10 11:44:11 -08:00
Levi McCallum 8238da8d00 Fix node deletion and flatten identification issues 2016-02-10 11:44:11 -08:00
Levi McCallum 043012718b Remove debug log 2016-02-10 11:44:11 -08:00
Levi McCallum 51977ed162 Identify flattened layouts to allow filtering of non-hierarchy nodes 2016-02-10 11:44:11 -08:00
Levi McCallum 3b1a32c413 Clean up implicit hierarchy management to enable custom animation 2016-02-10 11:44:11 -08:00
Levi McCallum 6a2903f2ec Revert "Update LCS diffing to support insertions before deletions"
This reverts commit 8d90f1bccda0b7d99639085e0bfa3488c3c01dbe.
2016-02-10 11:44:10 -08:00
Levi McCallum 8f3788d0b2 Update LCS diffing to support insertions before deletions 2016-02-10 11:44:10 -08:00
Levi McCallum a2045f19c5 Add test for complete reordering of LCS diff 2016-02-10 11:44:10 -08:00
Levi McCallum 9dc358196a Basic implementation of transitioning API for layout specs 2016-02-10 11:44:10 -08:00
appleguy b033b544d5 Merge pull request #1212 from binl/bl_fix_allocator_subarray
[ASDataController] Fix allocatedNodes Subarray to match indexPaths subarray
2016-02-10 11:34:25 -08:00
Garrett Moon 752f0540d0 Fix warnings 2016-02-10 10:38:41 -08:00
Bin Liu 9e53dcd402 Fix allocatedNodes Subarray to match indexPaths subarray 2016-02-10 01:35:07 -08:00
appleguy 4c1654673a Merge pull request #1211 from rahul-malik/rmalik-optional-methods
[Table, Collection, Pager] Update data source protocols to not @require non-block node method.
2016-02-09 23:24:45 -08:00
Rahul Malik 3e5daf4ccd Update data source protocols to make synchronous node creation api methods optional. 2016-02-09 22:47:43 -08:00
Scott Goodson a471c19216 [ASDisplayNode] Remove locking in -isNodeLoaded when called on main, as an optimization.
Additionally, this is often needed in threading-critical cases where interaction of sophisticated
3rd-party code with framework internals like ASDataController may cause deadlocks.
2016-02-09 22:35:35 -08:00
appleguy 45b071aa21 Merge pull request #1210 from bhamodi/patch-1
Update Copyright License.
2016-02-09 22:06:20 -08:00
Garrett Moon 5c2690e7e9 set reformed progress block to nil if progress block is nil 2016-02-09 14:24:05 -08:00
Baraa Hamodi 419c6038d7 Update Copyright License. 2016-02-09 14:20:23 -08:00
Garrett Moon 48fc4810cd Addressing comments 2016-02-09 14:06:41 -08:00
appleguy cae47e23e1 Merge pull request #1201 from maicki/ASRangeControllerCleanup
[ASRangeController] Remove deprecated range controller implementation that is no longer used.
2016-02-09 12:23:44 -08:00
Garrett Moon 820390e496 Fix build and podfile 2016-02-09 10:31:10 -08:00
Michael Schneider bdb486cf9e Fix sample build errors 2016-02-09 06:56:34 -08:00