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
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
Levi McCallum
f041a273b5
Use rows mutable array for section deletion
2015-10-15 11:40:50 -07:00
Levi McCallum
afda471bd0
Clean up interfacing with internal editing/completed stores
2015-10-15 11:40:50 -07:00
Levi McCallum
835f9e99ca
Batch render supplementary views on reload data
2015-10-15 11:40:49 -07:00
Levi McCallum
a3dce24fdc
Document data controller node population
2015-10-15 11:40:49 -07:00
Levi McCallum
bdd786f593
Document internal storage behaviors of ASDataController
2015-10-15 11:40:49 -07:00
Levi McCallum
c9f93cde76
Update copywright preamble
2015-10-15 11:40:49 -07:00
Levi McCallum
73ddebed81
Implement UICollectionViewFlowLayout heuristics in a default inspector
2015-10-15 11:40:49 -07:00
Levi McCallum
5dee3f62cc
Extract number of supplementary sections into the inspector
2015-10-15 11:40:49 -07:00
Levi McCallum
da7a2a5d48
Further implement data controller support and layout introspection
2015-10-15 11:40:49 -07:00
Levi McCallum
658b78d552
Use objective-c++ for subclass
2015-10-15 11:40:49 -07:00
Levi McCallum
ed1b737ead
Define initial supplementary node creation behavior
2015-10-15 11:40:48 -07:00
Levi McCallum
e9eadac4ae
Stub out ASCollectionDataController subclass
2015-10-15 11:40:48 -07:00
Levi McCallum
cefbcef831
Documentation updates
2015-10-15 11:38:47 -07:00
Adlai Holler
b1e60a95e6
Merge branch 'master' into update-objc
2015-10-13 21:26:20 -07:00
Adlai Holler
fbd3c77fec
Finish that thought
2015-10-11 08:43:43 -07:00
Adlai Holler
d964364cd5
Add some documentation in DataController, plus use Fast Enumeration more
2015-10-11 08:39:29 -07:00
Adlai Holler
595891629c
Remove pointless assertion
2015-10-10 10:33:56 -07:00
Adlai Holler
0c361894ac
Remove comment
2015-10-09 21:17:11 -07:00
Adlai Holler
1e232561f4
Whitespace
2015-10-09 21:16:28 -07:00
Adlai Holler
7f42b37dec
Remove needsMeasure
2015-10-09 21:13:00 -07:00
Adlai Holler
fdb11275db
Put back the frame-setting behavior when measuring cell nodes
2015-10-09 20:23:54 -07:00
Adlai Holler
06b7897bc1
Finish measuring on main thread when possible
2015-10-09 20:06:59 -07:00
Adlai Holler
93cdc0f2f5
Don't set cell node frames during measurement
2015-10-09 19:55:14 -07:00
Adlai Holler
223e9ff504
Merge branch 'DontSetCellNodeFramesDuringMeasure' into MeasureCellNodesOnMain
...
Conflicts:
AsyncDisplayKit/Details/ASDataController.mm
2015-10-09 19:53:46 -07:00
Adlai Holler
e716ccb580
Don't set cell node frames during measure, set them just before returning the cell size to UITableView/UICollectionView
2015-10-09 19:51:12 -07:00
Adlai Holler
e92a6ce9e3
Initial work on measuring loaded cell nodes on the main thread
2015-10-09 19:37:36 -07:00
Adlai Holler
1801620094
Make ASTextNode copy exclusionPaths and attributedString
2015-10-06 00:46:20 -07:00
Adlai Holler
8bb9d173dc
Merge branch 'master' into update-objc
...
Conflicts:
AsyncDisplayKit/ASDisplayNode+Subclasses.h
AsyncDisplayKit/ASMultiplexImageNode.h
AsyncDisplayKit/ASViewController.h
AsyncDisplayKit/Details/ASDataController.h
2015-10-05 13:24:16 -07:00
Adlai Holler
99b9f73b1a
Fix index into size ranges
2015-10-05 11:51:05 -07:00
Adlai Holler
33c07db58c
Set node.frame entirely
2015-10-05 11:42:25 -07:00
Adlai Holler
4601fccb5a
Optimize ASDataController._layoutNodes
2015-10-05 11:37:29 -07:00
Adlai Holler
304ec9b543
Refuse to parse ph:// URLs if iOS < 8 for safety
2015-10-02 15:51:32 -07:00
Adlai Holler
35c118aff0
Merge branch 'master' into AdvancedPhotos
...
Conflicts:
AsyncDisplayKit/ASMultiplexImageNode.mm
2015-10-02 12:45:49 -07:00
Adlai Holler
de1f9788f3
Simplify creation of Photos Framework NSURLs in ASMultiplexImageNode
2015-10-02 12:44:21 -07:00
appleguy
c8518c7fa6
Merge pull request #689 from facebook/Synchrotron
...
Implementation of Synchronous Concurrency features for AsyncDisplayKit 2.0
2015-09-28 14:49:13 -07:00
Scott Goodson
a58844379c
Implementation of Synchronous Concurrency features for AsyncDisplayKit 2.0
...
This provides internal features on _ASAsyncTransaction and ASDisplayNode to facilitate
implementing public API that allows clients to choose if they would prefer to block
on the completion of unfinished rendering, rather than allow a placeholder state to
become visible.
The internal features are:
-[_ASAsyncTransaction waitUntilComplete]
-[ASDisplayNode recursivelyEnsureDisplay]
Also provided are two such implementations:
-[ASCellNode setNeverShowPlaceholders:], which integrates with both Tables and Collections
-[ASViewController setNeverShowPlaceholders:], which should work with Nav and Tab controllers.
Lastly, on ASDisplayNode, a new property .shouldBypassEnsureDisplay allows individual node types
to exempt themselves from blocking the main thread on their display.
By implementing the feature at the ASCellNode level rather than ASTableView & ASCollectionView,
developers can retain fine-grained control on display characteristics. For example, certain
cell types may be appropriate to display to the user with placeholders, whereas others may not.
Follow-up work will include unit tests, revisiting names, and the header locations of definitions.
2015-09-27 19:14:36 -07:00
Huy Nguyen
a94cd9dd99
Remove externalCompletedNodes getter in ASDataController.
2015-09-28 00:18:49 +03:00
Huy Nguyen
e619edcd86
Ensure data consistency between ASDataController and its delegate while executing update transactions.
2015-09-27 22:59:36 +03:00
Adlai Holler
ffa0829fc9
Update & document changes to ASPhotosFrameworkImageRequest handling of PHImageRequestOptionsDeliveryMode
2015-09-26 18:41:38 -07:00
Adlai Holler
bf88bd8e19
Rename image request class, add deliveryMode into the request params
2015-09-26 13:40:00 -07:00
Adlai Holler
e787c40411
Only parse photos URL after we check the scheme
2015-09-25 15:45:14 -07:00
Adlai Holler
bbf9550e08
Use ASPhotosImageRequest in ASMultiplexImageNode, in a backwards-compatible way
2015-09-25 15:41:35 -07:00
Adlai Holler
ee0c027ba6
Build photos image request class and tests
2015-09-25 15:25:37 -07:00