Commit Graph
4958 Commits
Author SHA1 Message Date
Hannah Troisi d96582913a excluded questionable photos from 500px data source endpoint call. removed unneeded files for ASDK example. 2016-03-28 23:00:32 -07:00
Hannah Troisi b5e502fbc9 [Examples: ASDKgram] Initial commit of a new sample app - a 500px photo feed / social app using layout specs and nodes. 2016-03-28 21:31:37 -07:00
Hannah Troisi 63c6c24b19 Merge remote-tracking branch 'facebook/master' 2016-03-28 17:59:35 -07:00
Scott Goodson 1ea1560694 [ASDisplayNode] Rasterized subnodes require special handling for __exitHierarchy. 2016-03-28 17:58:35 -07:00
Adlai Holler f205a6cc28 Copy sublayers in recursivelyTriggerDisplayForLayer to avoid NSFastEnumerationMutation exception 2016-03-28 16:54:50 -07:00
Hannah Troisi 700e27cee8 Merge remote-tracking branch 'facebook/master' 2016-03-28 10:42:35 -07:00
Scott Goodson 096df7b385 [ASDisplayNode] Remove #if gating of ASDisplayNode hitTest: (I'd misread this as _ASDisplayView's implementation, and both are needed). 2016-03-28 07:49:14 -07:00
Scott Goodson cd493358cc [ASControlNode] Upgrades to +setEnableHitTestDebug: to intersect hitTestSlop with parents' bounds+slop, to accurately predict and visualize UIKit event delivery edge cases. 2016-03-27 22:02:13 -07:00
Scott Goodson 3e2414da6f [ASInterfaceState] Fix for an edge case of exiting Visible state before node deallocation. 2016-03-27 18:15:40 -07:00
Michael Schneider c6f00b1541 Use batchCount for indexes passed into internal layout nodes method and NSMaxRange 2016-03-27 17:54:40 -07:00
Michael Schneider 0284e55359 Add explicit range parameter for internal layout nodes method and better documentation 2016-03-27 17:48:17 -07:00
Michael Schneider 552b79deaa Remove onMainThread: argument in internal layout nodes method 2016-03-27 17:48:17 -07:00
Michael Schneider 1f9e9b8483 Refactor ASDataController layout nodes methods 2016-03-27 17:48:17 -07:00
appleguy 97798010cb Merge pull request #1443 from nguyenhuy/layoutable_context
[ASLayoutable] Introduce ASLayoutableContext, thread-local storage for layout passes.
2016-03-27 17:40:42 -07:00
Huy Nguyen 7bb3015950 Rename ASLayoutableContext methods 2016-03-27 17:38:41 -07:00
Huy Nguyen 81d26994c5 Introduce ASLayoutableContext
- The struct is mapped to ID of the current thread and used by subnodes to decide whether they should proceed measurement.
2016-03-27 17:09:59 -07:00
appleguy e4c6a49cb2 Merge pull request #1441 from facebook/Invisibility
[ASDisplayNode] Alternative implementation of interfaceState -> invisible that avoids a subclass call from -dealloc.
2016-03-27 00:44:45 -07:00
Eric Jensen 2f42a9ca6c Re-declare the default init method in ASEditableTextNode's header 2016-03-27 00:12:49 -07:00
Eric Jensen ad9035f3d2 Set the class prefix in the project file 2016-03-27 00:11:45 -07:00
Scott Goodson c6093cffdf Fix assertion format specifier from previous commit. 2016-03-26 23:57:16 -07:00
Scott Goodson 6a887a8acf [ASDisplayNode] Alternative implementation of interfaceState -> invisible that avoids a subclass call from -dealloc. 2016-03-26 23:24:30 -07:00
appleguy 82a4f5c7e7 Merge pull request #1440 from facebook/FixTruncationEdgeCase
[ASTextNode] Fix edge case where text truncator may not run (manually hosted nodes)
2016-03-26 20:33:34 -07:00
Scott Goodson daf41ebb43 [ASTextNode] Fix edge case where text truncator may not run (manually hosted nodes that are lacking the expected call to -measure).
This fixes the scenario described in https://github.com/facebook/AsyncDisplayKit/issues/1295
2016-03-26 18:19:02 -07:00
Eric Jensen 387abbff5d Rename ASTextKitHelpers to ASTextKitComponents and make the header public 2016-03-26 15:31:53 -07:00
Eric Jensen 5be3b0137a Add nullability attributes to ASTextNode+Beta 2016-03-25 22:33:13 -07:00
Eric Jensen 0758475409 Remove unnecessary imports 2016-03-25 22:33:02 -07:00
Eric Jensen 0d52176e03 Add an ASEditableTextNode initializer that allows customization of its ASTextKitComponents 2016-03-25 22:23:03 -07:00
Eric Jensen f8f3585764 Add a ASTextKitComponents initializer that allows customization of its NSTextStorage and NSLayoutManager 2016-03-25 22:12:19 -07:00
Scott Goodson a36cf79300 [AsyncDisplayKit] Main .podspec update to 1.9.7.1 (final GM of 1.9.7, as the tag changed). Uses PINRemoteImage 2.1.2. 2016-03-25 20:50:12 -07:00
Hannah Troisi c1a62e79e2 Merge remote-tracking branch 'facebook/master' 2016-03-25 15:47:31 -07:00
appleguy dba16ce009 Merge pull request #1433 from levi/patch-12
Fix PagerNode from not loading
2016-03-25 12:02:12 -07:00
Levi McCallum c07175bfcb Fix conditional 2016-03-25 11:54:56 -07:00
Levi McCallum 687be58621 Fix PagerNode from not loading 2016-03-25 10:02:47 -07:00
appleguy c1330682f9 Merge pull request #1430 from levi/patch-11
[ASPagerNode] Prevent calculation of current index path when the collection view is empty
2016-03-24 21:43:30 -07:00
Levi McCallum f51ca78570 Simplify boolean logic 2016-03-24 21:40:49 -07:00
Levi McCallum d845a18dfb Prevent calculation of current index path when the collection view is empty 2016-03-24 21:33:01 -07:00
appleguy 1199dd69f7 Merge pull request #1429 from ejensen/scroll-enabled-fix
[ASEditableTextNode] Assign textView's scrollEnabled on creation
2016-03-24 21:03:08 -07:00
appleguy 809563ece4 Merge pull request #1420 from hannahmbanana/fixSocialSampleApp
[SocialAppLayout example] update to use ASTextNode's passthroughNonlinkTouches property
2016-03-24 21:01:46 -07:00
Eric Jensen 057ec55941 Correct documentation comments 2016-03-24 20:08:03 -07:00
Eric Jensen 7de48da44f Correct ASEditableTextNode's default value according to the documentation 2016-03-24 20:00:53 -07:00
Eric Jensen f988f86f7f Assign the textView's scrollEnabled property in ASEditableTextNode's didLoad method.
This prevents a mismatch if the scrollEnabled property on ASEditableTextNode is set before the textView is loaded.
2016-03-24 19:51:16 -07:00
Max Gu 1fba62da0e Adding scrollViewWillBeginDragging and scrollViewDidEndDragging callbac to ASCellNode instances 2016-03-24 14:50:08 -07:00
Scott Goodson eed812dcdf [ASRangeController] Slight tweaks to the default Full ranges, for memory savings in multi-tabbed apps with still-excellent preloading consistency. 1.9.7 2016-03-23 23:36:59 -07:00
appleguy 36d23230fe Merge pull request #1421 from Adlai-Holler/AvoidMutatingSublayersDuringEnumeration
[ASDisplayNode] When Enumerating Subtree, Copy sublayers to Avoid NSFastEnumerationMutation Exception
2016-03-23 23:33:48 -07:00
Hannah Troisi 6c4af53434 Revert project changes for Social App Example 2016-03-23 23:25:26 -07:00
Adlai Holler a90a83b607 Copy sublayers to avoid NSFastEnumerationMutation exception 2016-03-23 21:57:23 -07:00
Hannah Troisi c2e5db85ae [SocialAppLayout example] update to use ASTextNode's passthroughNonlinkTouches property 2016-03-23 21:32:05 -07:00
Hannah Troisi 18b17a1ecc Merge remote-tracking branch 'facebook/master' 2016-03-23 21:24:05 -07:00
appleguy 4ffaebc93b Merge pull request #1409 from ejensen/swift-alignment-enum
[Refactoring] ASHorizontalAlignment & ASVerticalAlignment Swift interface
2016-03-23 21:03:44 -07:00
appleguy ac5d0265d9 Merge pull request #1408 from ejensen/swift-enum
[Refactoring] ASCellNodeVisibilityEvent Swift interface
2016-03-23 21:02:45 -07:00