Rahul Malik
c4f489b074
Address comments.
2016-02-04 16:56:29 -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
appleguy
35a4b268d6
Merge pull request #1162 from maicki/controlnode-init-optimization
...
[ASControlNode] Optimize init method - avoid creating ASPendingState if possible (subclassed by button, text, image nodes)
2016-02-03 22:38:23 -08:00
Levi McCallum
cd94df1106
Wrap implicit hierarchy management behind beta feature flag
2016-02-03 20:08:30 -08:00
appleguy
6d11df735b
Merge pull request #1163 from nguyenhuy/range_tuning_params
...
Range controller automatically extends to full mode
2016-02-03 19:09:32 -08:00
Michael Schneider
597aa02c8e
Remove target added state and and instead check _controlEventDispatchTable if a target was added
2016-02-03 18:53:20 -08:00
Garrett Moon
1b08114eca
Allow prevention of downscaling
2016-02-02 19:10:12 -08:00
Huy Nguyen
19335d8c9e
Add rangeMode APIs
2016-02-02 11:58:18 -08:00
Michael Schneider
12e2b535db
Use instance variable for tracking if a target was added to ASControlNode
2016-02-02 08:30:52 -08:00
Huy Nguyen
69e674c1c8
Range controller registers to rendering engine and extern to full range if needed
2016-02-02 01:23:04 -08:00
Huy Nguyen
1145b6e40e
Better decision on when to use full range
2016-02-01 23:43:55 -08:00
Michael Schneider
ddf50b20bd
Use is target added state additionally to the enabled state to check if touches should be tracked
2016-02-01 20:13:23 -08:00
Michael Schneider
d1c2da07e7
No need to set userInteractionEnabled in the ASTextNode init method
...
The userInteractionEnabled state will be set by ASControlNode in viewDidLoad to the fitting value.
2016-02-01 20:11:37 -08:00
Michael Schneider
89eae1213d
Delay set userInteractionEnabled to NO until didLoad
2016-02-01 20:09:26 -08:00
appleguy
191d978154
Merge pull request #1155 from nguyenhuy/range_tuning_params
...
[ASRangeController] Reduce early creation of views and layers in nested, orthogonal views
2016-02-01 19:15:00 -08:00
appleguy
f15bd92df1
Merge pull request #1156 from levi/implicitNodeMembership
...
[ASDisplayNode] Implicit node hierarchy handling with ASLayouts
2016-02-01 18:33:32 -08:00
Levi McCallum
ac3c9d220b
Respond to review comments
2016-02-01 18:29:50 -08:00
appleguy
0ba0cf871d
Merge pull request #1147 from lappp9/ASVideoNode
...
[ASVideoNode] Video muting, tap delegate override, general cleanup
2016-02-01 17:52:57 -08:00
Levi McCallum
d168ec78ce
Implement simple, in-order add/remove subnode support when changing layout specs
2016-02-01 17:49:48 -08:00
Levi McCallum
bd1de07c77
Add custom comparision block to array diffing category
2016-02-01 17:49:48 -08:00
Levi McCallum
9f25b54f9e
Support insertion on first layout of display node
2016-02-01 17:49:48 -08:00
Levi McCallum
e852cb612c
Simplify usage of diffing API
2016-02-01 17:49:47 -08:00
Levi McCallum
924e72f774
Mark setup placeholder method as private
2016-02-01 17:49:47 -08:00
Levi McCallum
3abe6d9181
Simplify measure call structure
2016-02-01 17:49:47 -08:00
Levi McCallum
822fc96f96
Add LCS diffing support to NSArray
2016-02-01 17:49:47 -08:00
Levi McCallum
29609bfe87
Clean up long lines
2016-02-01 17:49:47 -08:00
Levi McCallum
561ae212d9
Wrap implicit hierarchy management in a class enable bit
2016-02-01 17:49:47 -08:00
Levi McCallum
b2843d29c4
Allow any node to be identified in the flattened predicate search
2016-02-01 17:49:47 -08:00
Levi McCallum
184d1fc059
Switch layout flatten to BFS for node ordering
2016-02-01 17:49:47 -08:00
Huy Nguyen
0b188c7a95
Add minimum tuning params
2016-02-01 16:24:19 -08:00
Huy Nguyen
0f3f6f0dff
Fix ASTableView to have None direction
2016-02-01 13:25:22 -08:00
Huy Nguyen
b889d81de8
Don't pre-render cell nodes of collection view when it is not visible or not scrolling
2016-01-31 00:53:28 -08:00
appleguy
279a04cfa6
Merge pull request #1152 from garrettmoon/allowPlaceholderNodesToBeStretchable
...
Allow images returned by placeholderImage to be stretchable
2016-01-29 15:05:09 -08:00
Garrett Moon
35fb3d2ae6
Allow images returned by placeholderImage to be stretchable
2016-01-29 14:45:18 -08:00
appleguy
6d2628104b
Merge pull request #1146 from garrettmoon/movePreContextBlockToBeforeBackgroundFill
...
Move the call to willDisplayNodeContentWithRenderingContext to before…
2016-01-29 11:53:42 -08:00
Luke Parham
2d1499ab4f
added muting property and delegate callback to override video tapping
2016-01-29 09:27:48 -08:00
Tom King
d0edbe809a
ensure that the truncater is initialized before the context is in _calculateSize
2016-01-29 09:32:40 -05:00
Luke Parham
af37a48421
removed unnecessary clear color and improved comment
2016-01-28 23:34:16 -08:00
Garrett Moon
580b7bdc78
Move the call to willDisplayNodeContentWithRenderingContext to before background fill in image node
2016-01-28 17:40:21 -08:00
Samuel Hsiung
39cd3afa0d
[AS(Table|Collection)View] make scrollDirection transform aware
2016-01-28 16:42:46 -08:00
appleguy
8d9d5a0cc3
Merge pull request #1132 from garrettmoon/switchToInstanceDrawAndDisplay
...
[ASDisplayNode+AsyncDisplay] Implement instance methods of draw and display, use for text and image performance boost.
2016-01-28 16:17:31 -08:00
Garrett Moon
1ecfd81e3e
Address comments
2016-01-28 16:05:49 -08:00
Levi McCallum
0e0a0f3280
Add a safety check for targetContentOffset possibly being NULL
2016-01-28 15:54:38 -08:00
appleguy
8db4544e31
Merge pull request #1135 from levi/scrollDirectionFix
...
Observe decelerating scroll velocity for accurate direction reporting
2016-01-28 15:43:45 -08:00
appleguy
2c194fd924
Merge pull request #1140 from rcancro/textNodeWordSpacing
...
[ASTextNode] Added ASTextNodeWordKerner support
2016-01-28 15:38:00 -08:00
rcancro
715a678829
scott's comments
2016-01-28 15:18:45 -08:00
Garrett Moon
7b002c408d
Ensure context is non-null
2016-01-28 08:38:40 -08:00
rcancro
7f6f2fed11
Added ASTextNodeWordKerner support to ASTextNode
...
* Added a member to `ASTextKitAttributes` that is an optional delegate to the struct's NSLayoutManager.
* Changed ASTextNode to set this delegate to an instance of ASTextNodeWordKerner.
* Updated init method of `ASTextKitContext` to take an optional NSLayoutManager delegate
* Added the files in TextKit folder to the public headers (so we can include ASTextNodeTypes.h)
2016-01-28 08:38:22 -08:00
Garrett Moon
48150668c6
Fix up build
2016-01-28 08:33:18 -08:00
Luke Parham
b9d7e0fd0b
Merge branch 'master' into ASVideoNode
2016-01-28 01:45:30 -08:00