appleguy
b75d6627bb
Revert "Revert "Revert "[ASCollectionView / ASTableView] Optimize reloadData and reloadSection: methods."""
2016-02-19 23:26:29 -08:00
appleguy
2b10d84a2b
Revert "fix scheduling issue that causes collectionView to not animate"
2016-02-19 23:26:12 -08:00
appleguy
f3300ded68
Merge pull request #1246 from Xinchi/master
...
[ASCellNode] Support monitoring scrollViewDidScroll events / visible amount of self
2016-02-19 22:25:10 -08:00
Max Gu
115fc2b3da
Adding visibility monitoring for ASTableVieww
2016-02-19 22:15:44 -08:00
Scott Goodson
a1061301e0
[ASDataController] Revert the reloadData optimizations again - need to fix apps relying on prior behavior.
...
The optimization seems correct now, but apps like Pinterest have some core code relying on edit operation
order that is actually not permitted by UIKit (and this diff) but were tolerated previously. We will
re-land this once we have time to adapt the code.
2016-02-19 21:31:39 -08:00
Max Gu
fa4fc2b6ae
Merge remote-tracking branch 'upstream/master'
2016-02-19 12:59:00 -08:00
Max Gu
03446d97e1
Adding scroll visibility
2016-02-19 12:46:12 -08:00
appleguy
58a3ba5e8f
Revert "Revert "[ASCollectionView / ASTableView] Optimize reloadData and reloadSection: methods.""
2016-02-18 23:06:14 -08:00
appleguy
32aa333c21
Revert "[ASCollectionView / ASTableView] Optimize reloadData and reloadSection: methods."
2016-02-18 19:50:06 -08:00
appleguy
33d4c8693d
Merge pull request #1171 from lkzhao/ASDataController-reload
...
[ASCollectionView / ASTableView] Optimize reloadData and reloadSection: methods.
2016-02-18 17:36:14 -08:00
Luke Zhao
40791dd859
optimize reload data, reload sections, & move nodes performance & logic
2016-02-18 14:44:16 -08:00
Rahul Malik
19cc368d15
In addition to allocating nodes in the background, perform that operation concurrently in ASDataController
2016-02-17 22:30:58 -08:00
Adlai Holler
da3af0cade
Remove null handling docs for nonnull argument
2016-02-16 19:47:08 -08:00
Adlai Holler
da953ac421
Provide a Synchronous Path for Loading Memory-Cached Images
2016-02-16 19:43:47 -08:00
Bin Liu
db1a91234d
Improve reload handling in BatchUpdates
2016-02-16 11:04:21 -08:00
Scott Goodson
fce722b0c8
[ASDisplayNode] Allow display-scheduling method to be called concurrently.
2016-02-13 00:58:56 -08:00
Bin Liu
88ff693327
Fixes in ChangeSet and DataController
2016-02-11 23:51:32 -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
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
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
5cf5cb8452
Delegate layout frame calculation to sublayout method
2016-02-10 11:44:12 -08:00
Bin Liu
9e53dcd402
Fix allocatedNodes Subarray to match indexPaths subarray
2016-02-10 01:35:07 -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
Garrett Moon
5c2690e7e9
set reformed progress block to nil if progress block is nil
2016-02-09 14:24:05 -08:00
Garrett Moon
48fc4810cd
Addressing comments
2016-02-09 14:06:41 -08:00
Garrett Moon
820390e496
Fix build and podfile
2016-02-09 10:31:10 -08:00
Garrett Moon
0be51c1ca2
Leave ASBasicImageDownloader alone.
2016-02-08 16:30:34 -08:00
Garrett Moon
5a4e4dcac4
Add default PINRemoteImageDownloader
2016-02-08 16:00:19 -08:00
Michael Schneider
28207c678d
Remove ASRangeHandler protocol with all classes that implement it
...
With the move to the new ASRangeController we don't need the ASRangeHandler protocol anymore
2016-02-08 12:57:05 -08:00
Michael Schneider
fa2a058585
Rename ASCollectionViewLayoutControllerBeta to ASCollectionViewLayoutController
2016-02-07 15:27:45 -08:00
Michael Schneider
03536ddefd
Remove shouldUpdateForVisibleIndexPaths
...
This method can be removed as ASRangeControllerBeta is the main ASRangeController now
2016-02-07 15:03:24 -08:00
Michael Schneider
026761c610
Rename ASRangeControllerBeta to ASRangeController and use exclusively
2016-02-07 15:03:24 -08:00
Michael Schneider
5d474bcb1a
Remove ASDisplayNode -shouldUseNewRenderingRange method and ASRangeControllerStable class
2016-02-07 15:03:23 -08:00
Rahul Malik
5c86eafe8f
Add node-block api to ASPagerNodeProxy
2016-02-05 15:59:07 -08:00
Huy Nguyen
a9d91957b6
Fix ASRangeControllerBeta causing build errors
2016-02-04 17:29:36 -08:00
appleguy
1655d0a0c7
Merge pull request #1178 from nguyenhuy/range_tuning_params_follow_up
...
More on range mode and range controller
2016-02-04 16:59:42 -08:00
Rahul Malik
c4f489b074
Address comments.
2016-02-04 16:56:29 -08:00
Huy Nguyen
a7df20d120
Update range mode selection logic in ASRangeControllerBeta
2016-02-04 16:54:31 -08:00
Huy Nguyen
e5e34313ed
ASRangeController (stable) doesn't handle visible range now because the range is gone
2016-02-04 16:52:33 -08:00
Huy Nguyen
dc93192b87
Address Levi' comment: better method name in ASRangeControllerBeta
2016-02-04 16:52:33 -08:00
Huy Nguyen
8c83e1a78a
Avoid asking for interface state multiple times in ASRangeControllerBeta
2016-02-04 16:52:33 -08:00
Huy Nguyen
f09024556b
Switch to minimum mode when the node is no longer visible
2016-02-04 16:52:33 -08:00
Huy Nguyen
260879db7d
Improve documentation of ASLayoutRangeMode
2016-02-04 16:52:33 -08:00
Huy Nguyen
b3b28b0df9
Reuse visible index paths of when tuning params of a certain range type is zero
2016-02-04 16:52:30 -08:00
Huy Nguyen
175b9da251
Remove visible range type
2016-02-04 15:44:47 -08:00
Huy Nguyen
fda9efafa6
Add timestamp to notifications of rendering engine and avoid race conditions in ASRangeControllerBeta
...
- Accurately remove notification observer
2016-02-04 15:44:44 -08:00
Huy Nguyen
3c135788cb
Less work when RangeControllerLoggingEnabled is false
2016-02-04 14:15:07 -08:00
Rahul Malik
521c3fa1c1
Move ASCellNode allocation off the main thread by the addition of a node block
...
API in ASDataController. Move allocations and loaded node layouts to occur
during batch layout phase.
2016-02-04 10:38:59 -08:00