14914 Commits

Author SHA1 Message Date
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
Nadine Salter
f20e29ea46 1.1 beta(tm). 2014-12-15 18:03:07 -08:00
Nadine Salter
bf01b07443 Merge pull request #143 from facebook/placeholder-api
Node placeholder API
2014-12-15 17:31:11 -08:00
Ryan Nystrom
d27c8859c7 Node placeholder API
ASDisplayNodes now have an overidable method -placeholderImage that lets you provide a custom UIImage to display while a node is displaying asyncronously. The default implementation of this method returns nil and thus does nothing. A provided example project also demonstrates using the placeholder API.
2014-12-15 17:23:52 -08:00
Li Tan
8b303710b6 fix unncessary change in editing 2014-12-15 15:57:11 -08:00
Li Tan
f7f5988fcd Support editing in table view and collection view 2014-12-15 13:19:10 -08:00
Peter Iakovlev
1b32f70d51 Ready state 2014-12-15 21:29:49 +03:00
Peter Iakovlev
bc43e777ef Add support for arm64 2014-12-15 21:14:54 +03:00
Peter Iakovlev
e94ad28ed3 no message 2014-12-15 20:13:34 +03:00
Peter Iakovlev
f982523cb8 no message 2014-12-14 04:55:50 +03:00
Nadine Salter
5cb261bbd1 Merge pull request #153 from jpasqualini/master
Setting a node's background color shouldn't require calling setNeedsDisplay explicitly
2014-12-12 16:02:38 -08:00
Justin Pasqualini
e098e13884 Setting a node's background color shouldn't require calling setNeedsDisplay explicitly 2014-12-12 15:47:31 -08:00
Nadine Salter
d8c1d71f24 Merge pull request #144 from facebook/issue-107
Support UIViewContentModeCenter with ASImageNode
2014-12-09 11:52:47 -08:00
Nadine Salter
e310b75afd Merge pull request #147 from yufenglv/master
fix the crash when calling rebuildData (#138)
2014-12-07 15:21:09 -08:00
越凡
263db6f46c When doing refresh, we should cancel perform requests previously registered with performSelector:withObject:afterDelay: first, or it will do the sizeNextBlock twice with the same indexPath and then it will crash. 2014-12-07 14:26:09 +08:00
Nadine Salter
38cc2f6896 Fix header visibility. 2014-12-05 16:16:54 -08:00
Ryan Nystrom
647a9409d6 Support UIViewContentModeCenter with ASImageNode 2014-12-05 15:25:55 -08:00
Nadine Salter
6cdff0e66d Merge pull request #141 from facebook/proxy-teardown
_ASTableViewProxy & _ASCollectionViewProxy fixes.
2014-12-05 15:23:59 -08:00
Nadine Salter
764650fb94 _ASTableViewProxy & _ASCollectionViewProxy fixes.
These weren't correctly handling teardown:  nilling the `asyncDelegate`
created a new selector-forwarding NSProxy that crashed and burned
because there was nowhere to forward to.  Nil everything correctly.

Tentatively fixes #121.
2014-12-04 16:29:57 -08:00
Nadine Salter
16445cfd5d Typecast objc_msgSend call in tests. 2014-12-04 13:11:43 -08:00
Nadine Salter
68a5b32b79 Merge pull request #140 from facebook/manual-display-part-deux
Update manual display logic
2014-12-04 12:57:03 -08:00
Nadine Salter
eb600b955a Merge pull request #139 from facebook/imagedownloader-ios7
ASBasicImageDownloader iOS 7 support
2014-12-04 12:56:06 -08:00