252 Commits

Author SHA1 Message Date
Ryan Nystrom
e60b51bbbf Dispatch main screen scale to main once and only once
fixes #183
2015-01-08 14:24:34 -08:00
Nadine Salter
42f801f269 Merge pull request #205 from facebook/image-load-blocking
Dispatch lazy image downloaders to another thread
2015-01-07 16:36:19 -08:00
Ryan Nystrom
ebe614b8c9 Dispatch lazy image downloaders to another thread
fixes #148
2015-01-07 16:22:39 -08:00
Nadine Salter
bacfcbd24d Merge pull request #202 from facebook/batch_insertion
Batch insertion for reload #200
2015-01-07 14:53:15 -08:00
Nadine Salter
55f4888cc3 Merge pull request #203 from facebook/fix_flow_controller
Fix crash in Flow Controller
2015-01-06 20:26:43 -08:00
Li Tan
b9c6f3de03 Fix crash in Flow Controller 2015-01-06 18:04:42 -08:00
Li Tan
a8dbec9dfa fix 2015-01-06 17:45:48 -08:00
Li Tan
3adb0b1b93 Batch insertion for reload 2015-01-06 17:43:16 -08:00
Nadine Salter
c4b3efffc9 Merge pull request #201 from facebook/touch-forwarding
Forward touch events to either the node or super
2015-01-06 16:10:02 -08:00
Ryan Nystrom
7b86303f20 Forward touch events to either the node or super
`_ASDisplayView` now forwards touch events to either super or it's node, depending on whether or not the node implements the methods.

fixes #199
2015-01-06 16:06:59 -08:00
Nadine Salter
146a83568f Merge pull request #194 from facebook/table-selection
Call touch methods on _ASDisplayView super
2015-01-05 17:39:16 -08:00
Nadine Salter
da9ba9f7ba Merge pull request #195 from facebook/text-context-passing
Safe calls in ASTextNodeRenderer
2015-01-05 17:29:04 -08:00
Nadine Salter
d0a35fed92 1.1. 2015-01-05 15:55:28 -08:00
Nadine Salter
df04cbb7f0 [docs] Update linker config steps for 1.1.
AsyncDisplayKit -- specifically, the Multiplex image node -- depends on
the AssetsLibrary and Photos frameworks.  Update the README and website
front page.
2015-01-05 15:54:27 -08:00
Ryan Nystrom
af28be6ae1 Merge pull request #197 from hanton/master
Fix typo.
2015-01-02 11:22:15 -08:00
hanton
7a12bf3a20 Fix typo. 2015-01-02 17:16:58 +08:00
Ryan Nystrom
7e30b10f13 Safe calls in ASTextNodeRenderer
fixes #190
2014-12-30 11:22:49 -08:00
Ryan Nystrom
f3be4ee041 Call touch methods on _ASDisplayView super
Currently we miss calling `-[super touches*]` on `_ASDisplayView` touch events. We delegate handling to the node which then forwards all touch events to the *superview*, skipping the current view. This seems to have some side effects with `UITableView` and it's cells/content views.

fixes #188
2014-12-30 09:47:05 -08:00
Ryan Nystrom
a1e75d00bd Merge pull request #193 from facebook/curly-returns
Consistent curlies on methods
2014-12-29 17:30:08 -08:00
Ryan Nystrom
0473ed0a44 Consistent curlies on methods 2014-12-29 14:18:35 -08:00
Li Tan
13c57020c1 Fix typo in reloadRowsAtIndexPaths 2014-12-26 08:59:01 -08:00
Li Tan
4cde4a752f Merge pull request #185 from facebook/fix_batch_update
Remove bachUpdate and begin/endUpdate
2014-12-19 11:16:07 -08:00
Li Tan
3c0d4b2c42 Remove bachUpdate and begin/endUpdate 2014-12-19 08:48:10 -08:00
Li Tan
9367ccc19c Remove bachUpdate and begin/endUpdate 2014-12-18 20:35:27 -08:00
Nadine Salter
7e79950112 Fix build-break. 2014-12-18 18:49:16 -08:00
Nadine Salter
7a84e49f9f Merge pull request #184 from facebook/fix_deletion
fix deletion
2014-12-18 18:40:11 -08:00
Li Tan
0d97d754ef fix deletion 2014-12-18 18:35:20 -08:00
Nadine Salter
6075c29871 Merge pull request #182 from facebook/reload_data
make reloadData thread safe
2014-12-18 18:30:10 -08:00
Li Tan
fee3892f95 use asyncDisplayNodePerformOnMainThread 2014-12-18 18:13:01 -08:00
Li Tan
77113c6698 make reloadData thread safe 2014-12-18 16:52:09 -08:00
Ryan Nystrom
daedf73f20 Merge pull request #181 from facebook/logspam
Disable ASMultiplexImageNode debug logging.
2014-12-18 14:56:03 -08:00
Nadine Salter
05daed3b35 Disable ASMultiplexImageNode debug logging. 2014-12-18 14:54:13 -08:00
Ryan Nystrom
7d065adce3 Merge pull request #180 from facebook/issue-179
Only create a placeholder with a valid size
2014-12-18 14:49:59 -08:00
Ryan Nystrom
118cb32e23 Only create a placeholder with a valid size
fixes #179
2014-12-18 14:45:01 -08:00
Nadine Salter
0053a96bd5 Merge pull request #177 from facebook/fix_insert_section
Fix insert section
2014-12-18 14:18:58 -08:00
Li Tan
e799ed9ea4 fix 2014-12-18 14:00:19 -08:00
Nadine Salter
113adfc71e Merge pull request #172 from facebook/fade-in
Fade in placeholders
2014-12-18 13:08:05 -08:00
Li Tan
3e6436245d fix inserting sections bug 2014-12-18 13:07:43 -08:00
Ryan Nystrom
912bc9d460 Fade out placeholders
Added an API to fade out a node's placeholder when it is finished rendering.

fixes #156
2014-12-18 12:53:15 -08:00
Nadine Salter
4886d3d1ad Merge pull request #168 from facebook/editing
Fix crash while deleting in multiple sections
2014-12-17 13:34:47 -08:00
Nadine Salter
14073adc75 Merge pull request #171 from facebook/issue-158
Skip creating placeholder if there is no size
2014-12-17 13:33:12 -08:00
Ryan Nystrom
6064d3c60f Skip creating placeholder if there is no size
fixes #158
2014-12-17 10:49:52 -08:00
Li Tan
a22c4a2761 Another case for deletion 2014-12-16 20:11:31 -08:00
Li Tan
ac86cd9523 Fix crash while deleting multiple sections 2014-12-16 20:04:20 -08:00
tanliboy
282151d653 Merge pull request #165 from facebook/transactions
Remove CATransaction hack.
2014-12-16 14:14:35 -08:00
Nadine Salter
89a0a25347 Remove CATransaction hack.
ASRangeController previously enqueued display of individual nodes by
adding their views to the hierarchy, wrapping each `-addSubview:` call
in an explicit CATransaction to force displays to occur in order.  This
hack is no longer necessary -- kill it.
2014-12-16 14:10:04 -08:00
appleguy
e95cdf1130 Merge pull request #164 from facebook/input-validation
Add ASCellNode type assertions (closes #161).
2014-12-16 13:18:04 -08:00
Nadine Salter
e754cc2024 Add ASCellNode type assertions (closes #161). 2014-12-16 13:15:28 -08:00
tanliboy
b653f75794 Merge pull request #162 from facebook/editing
Fix crash in reloadData
2014-12-15 22:41:46 -08:00
Li Tan
62248ee0eb Fix crash in reloadData 2014-12-15 22:36:57 -08:00