Commit Graph

1322 Commits

Author SHA1 Message Date
Huy Nguyen
52c45cf5e3 Trigger a relayout once the media image of PostNode in SocialAppLayout is loaded 2015-11-17 18:09:16 +02:00
Scott Goodson
97eaa15b04 Introduce ASInterfaceState on ASDisplayNode.
Later, this will be added to ASViewController.  Right now it is not hooked up to drive anything.
It will become the codepath that drives calls like -fetchData and -clearContents.
2015-11-16 11:36:10 -08:00
Huy Nguyen
1162e02b06 Implement "space between" and "space around" options of stack layout justify content 2015-11-16 19:34:08 +02:00
Huy Nguyen
390d16caef Quickly return min size if a stack has no children 2015-11-16 01:46:28 +02:00
appleguy
59d52ced3f Merge pull request #847 from facebook/CollectionAndTableNodes
Substantially improve behavior of nested Table & Collection Nodes
2015-11-14 16:34:12 -08:00
Scott Goodson
2a0b9c8e14 Substantially improve behavior of nested Table & Collection Nodes
This ensures memory cleanup happens correctly and introduces a new test project
to support developing new features while stressing tough use cases for correctness.
2015-11-14 15:25:35 -08:00
appleguy
a24cfe691a Merge pull request #846 from RuiAAPeres/exposeASTableNode
ASTableNode wasn't exposed publicly.
2015-11-14 13:53:24 -08:00
Rui Peres
377c84abc2 Imported missing classes in the umbrella header 2015-11-14 15:07:35 +00:00
Rui Peres
d5fe826ac4 ASTableNode wasn't exposed publicly. (carthage wouldn't be able to detect it) 2015-11-14 14:47:06 +00:00
Adlai Holler
ab326fc683 touchesCancelled:withEvent: has a nullable touches argument in UIKit for some reason 2015-11-13 12:17:17 -08:00
Adlai Holler
7922895b60 (Re?)add type annotations on touchesBegan:withEvent: et al 2015-11-13 12:11:24 -08:00
Adlai Holler
762be97a51 Merge branch 'master' into update-objc 2015-11-13 12:03:30 -08:00
Adlai Holler
057e98380e Add NSObjectProtocol requirement to ASImageIdentifier 2015-11-13 12:02:09 -08:00
Levi McCallum
01876ae683 Fix bad rebase 2015-11-11 10:50:20 -08:00
Levi McCallum
2d93192b9f Fix selection behavior of ASTableView cells 2015-11-11 01:06:28 -08:00
Levi McCallum
e6b33dd062 Fix cell selection and highlighting in ASCollectionView 2015-11-11 01:05:51 -08:00
appleguy
5b1e2145cc Merge pull request #832 from facebook/WindowTeardownCrash
Fix for behavior difference between CA and UIKit that causes mutation crash.
1.9.1
2015-11-09 13:43:28 -08:00
Scott Goodson
bfe908bc8a Fix for behavior difference between CA and UIKit that causes mutation crash 2015-11-09 13:41:25 -08:00
Adlai Holler
bfe3040f57 Update nullability in ASCellNode.h 2015-11-09 10:10:37 -08:00
Scott Goodson
8b465c5bb1 Bump pod version 2015-11-08 20:45:55 -08:00
appleguy
3d6ba66c35 Merge pull request #831 from facebook/ASCIICrash
Fix crash in ASCII art creator for one-element children arrays.
2015-11-08 19:18:12 -08:00
Scott Goodson
6d8bad13c0 Fix crash in ASCII art creator for one-element children arrays 2015-11-08 19:04:16 -08:00
appleguy
e8d238610f Merge pull request #830 from facebook/WorkingWindowQuickFix
Patch for properly tearing down Working Window
2015-11-08 18:54:34 -08:00
appleguy
b295eda4b1 Merge pull request #823 from vitalybaev/SocialAppExample
New example app -- a "social" feed similar to Facebook or Twitter
2015-11-08 18:53:22 -08:00
appleguy
7c9698a833 Merge pull request #812 from nguyenhuy/ImproveCellNodeLayoutDelegate
Improve cell node layout delegate
2015-11-08 18:29:35 -08:00
Scott Goodson
40237a52fc Patch for properly tearing down Working Window 2015-11-08 18:24:58 -08:00
Adlai Holler
802011ef97 Merge branch 'master' into update-objc
Conflicts:
	AsyncDisplayKit/ASDisplayNode.h
2015-11-08 18:19:06 -08:00
appleguy
b7c54718ae Merge pull request #826 from facebook/layerWorkingRangeFix
Fix unusual cell content blanking issue when making existing cells much taller.
2015-11-08 10:27:38 -08:00
Scott Goodson
98010c4e16 Include moved UIResponder methods in UIViewBridging Category Implementation. 2015-11-08 00:12:13 -08:00
Scott Goodson
3a4e9902e2 Remove a change that leaked from another diff in progress. 2015-11-07 23:35:58 -08:00
Scott Goodson
efa47d65dd Re-add name method to fix tests (grr). Clean up positioning of responder methods in header. 2015-11-07 23:29:36 -08:00
Scott Goodson
e0f40d5644 Fix unusual cell content blanking issue when making existing cells much taller. 2015-11-07 23:08:53 -08:00
appleguy
ec7aa1c3aa Merge pull request #818 from steveram/table-node
Modify ASTableNode initializer
2015-11-07 15:34:14 -08:00
Vitaly Baev
d143aba6c2 changed deployment target and device family in SocialApp example 2015-11-06 19:38:30 +03:00
Vitaly Baev
318bb0342a fix Travis-CI build for SocialApp example 2015-11-06 19:02:09 +03:00
Vitaly Baev
19c2e8b2e3 Fixed copyright in SocialApp example 2015-11-06 17:11:39 +03:00
Vitaly Baev
78293ad785 Added example of typical social app layout example 2015-11-06 17:09:11 +03:00
Vitaly Baev
b1784bcf9b Fix ASTableViewCell's node selected/highlighted property 2015-11-06 13:46:30 +03:00
Steven Ramkumar
a621e10a93 Modify ASTableNode initializer 2015-11-05 08:59:41 -08:00
appleguy
fd24314c69 Merge pull request #801 from facebook/RangeTeardown
Add "Push Another Copy" to ASViewController demo for memory testing.
2015-11-04 23:06:03 -08:00
appleguy
2308ae0e49 Merge pull request #816 from steveram/table-node
Add a ASTableNode class, similar to ASCollectionNode
2015-11-04 23:03:15 -08:00
Steven Ramkumar
3018030c00 Add a ASTableNode class, similar to ASCollectionNode 2015-11-04 17:56:26 -08:00
Huy Nguyen
a6807ef477 Address comments in #793 2015-11-04 16:53:36 +02:00
Huy Nguyen
12dbfd1992 Only set a default layout delegate to ASCellNode if it is not provided by the async data source 2015-11-04 16:53:36 +02:00
Huy Nguyen
9e4c274a5b Animate relayout in Kittens example 2015-11-04 16:53:36 +02:00
Huy Nguyen
5701cbba40 After relayout of a cell node, table and collection views trigger an empty update transaction, instead of a reload 2015-11-04 16:53:33 +02:00
Adlai Holler
b4b88da8cd Merge branch 'master' into update-objc
Conflicts:
	AsyncDisplayKit/ASCellNode.h
2015-11-02 09:36:46 -08:00
appleguy
7b112a2dcd Merge pull request #806 from facebook/CellDelegateNaming
Rename ASCellNode delegate to layoutDelegate to avoid common naming conflict
1.9
2015-11-01 12:52:34 -08:00
Scott Goodson
e517f88e65 Rename ASCellNode delegate to layoutDelegate to avoid common naming overlap 2015-11-01 12:51:46 -08:00
appleguy
0598935957 Merge pull request #793 from nguyenhuy/ImproveCellNodeRelayout
ASCellNode delegate to automatically resize in table & collection when -setNeedsLayout called.
2015-11-01 11:11:32 -08:00