Huy Nguyen
209425c22c
Revert commit 83aaa46, thus bring 2e4d716 back
2016-01-24 23:38:05 -08:00
appleguy
b3239b6d36
Merge pull request #1106 from lappp9/ASVideoNode
...
[ASVideoNode] Performance enhancements
2016-01-24 22:29:14 -08:00
Scott Goodson
7ecc302e10
[ASImageNode] remove nullability from imageModificationBlock for Swift bridging.
...
https://github.com/facebook/AsyncDisplayKit/issues/1092
2016-01-24 22:26:42 -08:00
Luke Parham
526b2ab0cf
removed beta range controller
2016-01-24 23:51:34 -06:00
Luke Parham
41721aa42a
merged with master
2016-01-24 23:14:43 -06:00
Luke Parham
98fb2e46d4
wip but currently adding first frame as placeholder until it should play and removed extraneous 'pause'
2016-01-24 23:13:17 -06:00
appleguy
5a96985b55
Merge pull request #1104 from facebook/ASTextNodeInvalidationOptimization
...
[ASLayout, ASTextNode] Create -calculatedLayoutDidChange and use it in text node.
2016-01-24 18:19:27 -08:00
Scott Goodson
2713bdd72e
[ASTextNode, ASDisplayNode] Create -calculatedLayoutDidChange and use it in text node.
...
This allows the change in size for the NSTextContainer to occur off the main thread, whenever that size change
is necessary. Then the text relayout can occur earlier, during the process of computing ASLayoutSpecs.
2016-01-24 17:14:14 -08:00
Matej Knopp
51e4476068
[ASRangeController] don't get index paths twice if tuning parameters are same
...
Signed-off-by: Matej Knopp <matej.knopp@gmail.com>
2016-01-24 23:41:46 +01:00
Scott Goodson
92ce6ce4d3
[ASRangeControllerBeta] Improve comments, code clarity, cache respondsToSelector:
2016-01-24 14:07:39 -08:00
Scott Goodson
351f4a9afc
Utilize NSMutableOrderedSet in ASRangeControllerBeta to ensure visible items are prioritized.
...
This also adopts Objective-C generics for the various collections in this class.
2016-01-24 13:11:15 -08:00
Scott Goodson
9ddf68fa96
[ASTextNode] Optimize handling of constrained size to almost never recreate NSLayoutManager
...
This also fixes two fairly subtle but serious bugs, #1076 and #1046 .
2016-01-24 00:50:43 -08:00
Scott Goodson
82f7956bf9
[ASMapNode] Some improvements to layout logic and snapshot triggering.
2016-01-23 20:12:45 -08:00
Scott Goodson
28618f7238
Re-add .region property for API compatibility and convenience, using options object internally.
2016-01-23 16:52:39 -08:00
Scott Goodson
264887413e
Add @synchronized around UIImage draw to prevent concurrently decoding the same instance.
...
This is a workaround necessary due to an iOS 9 bug. I'm not gating it to iOS 9 only so as to
not exaggerate iOS version-specific behavior differences in the framework, since a majority are
on iOS 9 anyway. If we can confirm the bug is fixed in a later iOS version, then it will be gated.
Issue tracked in greater detail here: https://github.com/facebook/AsyncDisplayKit/issues/1068
2016-01-23 13:35:04 -08:00
Scott Goodson
2c5db2e335
Podfile bump to 1.9.6; minor preparations for release.
2016-01-23 13:05:27 -08:00
appleguy
ea6c7ae938
Merge pull request #1025 from 1nput0utput/ASButtonNodeImprovements
...
[ASButtonNode] Add support for backgroundImage. Extend & simplify API with separate title and color.
2016-01-23 12:45:48 -08:00
appleguy
eb7caa3ba6
Merge pull request #1036 from aaronschubert0/ASMapNode
...
[ASMapNode] now supports MKMapSnapshotOptions to specify map parameters
2016-01-23 12:37:51 -08:00
appleguy
ccbf38c72e
Merge pull request #1096 from facebook/pr/1059
...
[tvOS] Initial changes to support building AsyncDisplayKit for tvOS.
2016-01-23 12:28:43 -08:00
Scott Goodson
fe572c23fb
Exclude all of ASMultiplexImageNode from tvOS - for now.
2016-01-23 11:45:09 -08:00
appleguy
ca27702aab
Merge pull request #952 from lappp9/ASVideoNode
...
[ASVideoNode] Basic Video node using AVPlayerLayer.
2016-01-23 11:02:57 -08:00
Scott Goodson
83aaa4637e
Revert "ASDataController now handles reloadData more efficiently and notify its delegate once instead of a series of deletes and inserts"
...
This reverts commit 2e4d716e0b65465d9c65b5821668c38e5fa956c9.
Possible issue with this commit.
2016-01-22 20:33:33 -08:00
appleguy
cb5e5704e2
Merge pull request #1085 from chrisze/master
...
[ASNetworkImageNode] Add error handler to ASNetworkImageNodeDelegate
2016-01-22 20:05:59 -08:00
appleguy
999e93f0fa
Merge pull request #1088 from aaronschubert0/ASTableView-Layout-bug-fix
...
[ASTableView] Rename _ASTableViewCellDelegate method.
2016-01-22 17:26:18 -08:00
appleguy
f7f468e5d1
Merge pull request #1093 from nguyenhuy/improve_reload_data
...
[ASDataController] Optimize reloadData to avoid performing deletions or insertions.
2016-01-22 13:34:37 -08:00
appleguy
bde37ac3b8
Merge pull request #1089 from Adlai-Holler/TextNodeIgnoreEmptyStringReplace
...
[ASTextNode] Ignore Setting Text to Nil When Text Is Already Empty
2016-01-22 11:09:11 -08:00
appleguy
e5b2b566e4
Merge pull request #1084 from lkzhao/master
...
Update comments for ASPanningOverriddenUITextView
2016-01-21 23:17:17 -08:00
Bin Liu
b2db6cce4d
remove public interface for ASCV with facilitator
2016-01-21 22:39:27 -08:00
Bin Liu
1965018c46
attempt to fix build
2016-01-21 15:20:47 -08:00
Bin Liu
8d3c32727e
fix build
2016-01-21 12:05:28 -08:00
Huy Nguyen
2e4d716e0b
ASDataController now handles reloadData more efficiently and notify its delegate once instead of a series of deletes and inserts
2016-01-21 11:21:21 -08:00
Bin Liu
726bc7d668
addressed comments
2016-01-21 11:14:00 -08:00
Luke Zhao
882379a820
Update comments for ASPanningOverriddenUITextView
2016-01-20 16:33:45 -08:00
Adlai Holler
db18724d5b
If they set attributedString to nil twice, ignore the second one.
2016-01-20 14:00:46 -08:00
Rajinder Ramgarhia
389945d69d
ASButtonNode sets its subnodes as layer backed, but itelf should not be layer backed
2016-01-20 14:29:34 -05:00
Bin Liu
bc92c64e8c
Proposed version 1
2016-01-20 02:34:32 -08:00
Bin Liu
da2cbf4644
initial design
2016-01-20 02:34:32 -08:00
Aaron Schubert
631d04a45b
[ASTableView] Rename _ASTableViewCellDelegate method.
2016-01-20 09:37:54 +00:00
Christoph Zelazowski
a02a60fa75
Add error handler to ASNetworkImageNodeDelegate
2016-01-19 19:55:22 -08:00
appleguy
3aceabbbf9
Merge pull request #1069 from lkzhao/master
...
[ASEditableTextNode] Support scrolling while maintaining workaround for Apple bug when disabling it.
2016-01-19 19:24:24 -08:00
appleguy
44aae77ef4
Merge pull request #1079 from aaronschubert0/ASTextNode-Fix-for-layout-bug
...
[ASTextKitRenderer] Potential fix headIndent attribute not being accounted for by the shadower.
2016-01-19 19:23:19 -08:00
appleguy
5be14e41fd
Merge pull request #1078 from aaronschubert0/ASTableView-Layout-bug-fix
...
[ASTableView] Ensure -[super layoutSubviews] is called before messaging delegate.
2016-01-19 19:21:19 -08:00
appleguy
1e8c70726c
Merge pull request #1083 from facebook/ASTableCollectionVisibility
...
Restore full functionality of the display / data ranges when not using the Node variants of Table / Collection.
2016-01-19 18:53:06 -08:00
Scott Goodson
b989be6499
Restore full functionality of the display / data ranges when not using the Node variants of Table / Collection.
2016-01-19 18:30:01 -08:00
Luke Zhao
995f437e12
Allow ASEditableTextNode to scroll
2016-01-19 10:32:19 -08:00
Adlai Holler
e972059f23
Remove SpinLock because it's illegal in iOS
2016-01-19 10:28:04 -08:00
Aaron Schubert
10a2984d8c
Potential fix for #1076
2016-01-19 12:25:30 +00:00
Aaron Schubert
7821a0aa19
Fixes bug #1077
2016-01-19 11:43:03 +00:00
Matej Knopp
a6da3d185a
[ASCollectionView] prevent data controller from removing/adding sections during reloadDataImmediately
...
Signed-off-by: Matej Knopp <matej.knopp@gmail.com>
2016-01-17 19:25:03 +01:00
Rajinder Ramgarhia
6c56a6046b
Simpler ASButtonNode API to set title and set background image
2016-01-16 00:23:03 -05:00