Commit Graph

  • 1424127813 fixed copyright rcancro 2015-08-21 10:08:15 -07:00
  • 5d286930f6 Renamed ASStackText... to ASBaselineStack... ricky cancro 2015-08-21 08:54:28 -07:00
  • 830d39af92 fixed bug for baseline last rcancro 2015-08-20 20:43:18 -07:00
  • 2d6ddfe32e moved baseline alignment to a layout spec. ricky cancro 2015-08-20 10:38:54 -07:00
  • 9036ab8e7d new stack layout spec for text rcancro 2015-08-19 22:03:02 -07:00
  • ef89f758bc flailing ricky cancro 2015-08-19 16:59:23 -07:00
  • 3fd241e87e fixed vertical spacing bug and typo ricky cancro 2015-08-15 09:45:14 -07:00
  • cf428831a4 Added baseline spacing for vertical stack views. ricky cancro 2015-08-15 08:17:43 -07:00
  • f289b3345a Add baseline support to ASStackLayoutSpec ricky cancro 2015-08-12 16:55:12 -07:00
  • 0ea276e3ab huy's comments rcancro 2015-08-22 18:47:16 -07:00
  • e005a83a2b Revert "Switch to use only layers for offscreen working range window." Scott Goodson 2015-08-17 17:19:51 -07:00
  • f7e94f42ed Node init performance: Use share instances of UIColor and NSAttributedString for defaults. Ethan Nagel 2015-08-17 12:23:25 -07:00
  • 15975a67e8 use attributedString.length instead of attributedString.string.length to check for empty strings Sal 2015-08-16 18:24:20 -04:00
  • 8028364be4 Add test coverage for ASTextNodeRenderer to validate nil and empty strings produce CGSizeZero Sal 2015-08-13 13:57:54 -04:00
  • df730d6771 Return CGSizeZero if ASTextNode's text length or attributed string is nil Sal 2015-08-13 13:53:08 -04:00
  • f7f20ca8b7 preferredFrameSize should be used even if neither -layoutSpecThatFits: nor -calculateSizeThatFits: is overridden by subclassses. Huy Nguyen 2015-08-13 07:18:32 +03:00
  • 2ea7c541a6 When a new preferredFrameSize is set, previously calculated layout should be invalidated so that the size will be picked up in the next layout pass. Huy Nguyen 2015-08-13 07:17:24 +03:00
  • b93faab7f5 Improve relayout when constrained size of all nodes is changed: - In -layoutSubviews of table and collection views, detect changes that cause a different constrained size for nodes, and trigger relayout immediately. - Orientation change can be handled by this solution. So, no need to observe to its events. - Update Kittens example to support iPad (easier to catch bugs on these devices) and add a title to navigation bar (looks a bit nicer). Huy Nguyen 2015-08-09 23:18:25 +03:00
  • 680305704a addressed comments and fixed tests rcancro 2015-08-21 21:03:40 -07:00
  • 80bbf79046 Merge pull request #620 from nguyenhuy/617_relayout_loading_nodes appleguy 2015-08-21 21:03:30 -07:00
  • 80d8015240 Merge pull request #618 from garrettmoon/fixStaticLayoutWithCollectionView appleguy 2015-08-21 21:02:38 -07:00
  • c06a6be188 ASLayoutSpec are temporarily mutable and have a more obj-c interface rcancro 2015-08-21 16:02:36 -07:00
  • 608f62d487 fixed copyright rcancro 2015-08-21 10:08:15 -07:00
  • 023ad89815 Renamed ASStackText... to ASBaselineStack... ricky cancro 2015-08-21 08:54:28 -07:00
  • 641929c4e5 By default, cell nodes in table view should fill its width. So the min constrained width is updated to enforce this behaviour. Huy Nguyen 2015-08-21 17:22:55 +03:00
  • 0a398301b0 fixed bug for baseline last rcancro 2015-08-20 20:43:18 -07:00
  • ff8a7015a5 Merge branch 'baseline' of github.com:rcancro/AsyncDisplayKit into baseline rcancro 2015-08-20 20:24:17 -07:00
  • 97f323a8d9 Fix relayoutAllRows to trigger measurement (with the new constrained size) on all nodes, including loading ones. Huy Nguyen 2015-08-20 23:10:07 +03:00
  • 3e5d5c44cb Test relayout caused by a different constrained size for each and every node. All nodes, including loading ones, must be re-measured. Huy Nguyen 2015-08-20 22:06:46 +03:00
  • 36bac93a53 ensure class is not nil Ethan Nagel 2015-08-20 10:55:15 -07:00
  • 6624b84c4c Static layout doesn't properly set a height for collection view cells Garrett Moon 2015-08-20 10:40:00 -07:00
  • f404231b35 moved baseline alignment to a layout spec. ricky cancro 2015-08-20 10:38:54 -07:00
  • e7ffe67e3c new stack layout spec for text rcancro 2015-08-19 22:03:02 -07:00
  • 774d91653b flailing ricky cancro 2015-08-19 16:59:23 -07:00
  • 60cf43766b Revert "Switch to use only layers for offscreen working range window." Scott Goodson 2015-08-17 17:19:51 -07:00
  • bd9c9030d9 Merge pull request #610 from SRandazzo/606_sizezero_nil_text appleguy 2015-08-17 17:06:54 -07:00
  • 977c17b019 Merge pull request #614 from eanagel/reduce-UIColor-AttributedString-calls appleguy 2015-08-17 17:03:11 -07:00
  • f7fb6dc4e7 Node init performance: Use share instances of UIColor and NSAttributedString for defaults. Ethan Nagel 2015-08-17 12:23:25 -07:00
  • 5dabd20b54 Merge branch 'master' into ASDisplayNode-init-perf Ethan Nagel 2015-08-17 11:46:29 -07:00
  • 05cb1d734d use attributedString.length instead of attributedString.string.length to check for empty strings Sal 2015-08-16 18:24:20 -04:00
  • 3983bf2289 Merge pull request #603 from nguyenhuy/improved_external_relayout appleguy 2015-08-15 22:07:50 -07:00
  • 33912dfc49 Merge pull request #608 from nguyenhuy/preferredFrameSize_bugs appleguy 2015-08-15 22:00:54 -07:00
  • 11896904a2 fixed vertical spacing bug and typo ricky cancro 2015-08-15 09:45:14 -07:00
  • d7564e18e5 Added baseline spacing for vertical stack views. ricky cancro 2015-08-15 08:17:43 -07:00
  • 176e4962bf Perform one-time initializations in +initialize when possible Ethan Nagel 2015-08-14 14:41:13 -07:00
  • f06630c55a Add test coverage for ASTextNodeRenderer to validate nil and empty strings produce CGSizeZero Sal 2015-08-13 13:57:54 -04:00
  • 344c472349 Return CGSizeZero if ASTextNode's text length or attributed string is nil Sal 2015-08-13 13:53:08 -04:00
  • 1313c11519 preferredFrameSize should be used even if neither -layoutSpecThatFits: nor -calculateSizeThatFits: is overridden by subclassses. Huy Nguyen 2015-08-13 07:18:32 +03:00
  • c7043a193c When a new preferredFrameSize is set, previously calculated layout should be invalidated so that the size will be picked up in the next layout pass. Huy Nguyen 2015-08-13 07:17:24 +03:00
  • 7249661990 Improve relayout when constrained size of all nodes is changed: - In -layoutSubviews of table and collection views, detect changes that cause a different constrained size for nodes, and trigger relayout immediately. - Orientation change can be handled by this solution. So, no need to observe to its events. - Update Kittens example to support iPad (easier to catch bugs on these devices) and add a title to navigation bar (looks a bit nicer). Huy Nguyen 2015-08-09 23:18:25 +03:00
  • e93e97ad5f Merge pull request #607 from facebook/OptimizeWorkingRange appleguy 2015-08-12 19:02:00 -07:00
  • 3f982b5c9a Switch to use only layers for offscreen working range window. Scott Goodson 2015-08-12 18:03:47 -07:00
  • afffd9cfb2 Add baseline support to ASStackLayoutSpec ricky cancro 2015-08-12 16:55:12 -07:00
  • 7c78dfdd5f Merge pull request #599 from nguyenhuy/different_constrained_size_per_node appleguy 2015-08-12 15:54:55 -07:00
  • 57291fa544 Merge pull request #590 from rcancro/master appleguy 2015-08-12 15:51:57 -07:00
  • 3bc692c938 comments ricky cancro 2015-08-12 15:29:26 -07:00
  • b4e6591ad8 call super to return preferredFrameSize. ricky cancro 2015-08-12 13:43:10 -07:00
  • a3c2dbf8cd Table and collection views' async data source can provide different constrained size per node. And because the size is of type ASSizeRange, it has a min size that is very helpful in many cases.. Huy Nguyen 2015-08-05 16:16:01 +03:00
  • 356ea9dc7f Merge pull request #604 from garrettmoon/fixCrashForNonFlowLayout appleguy 2015-08-12 12:26:20 -07:00
  • 592e0301dd cache result of responds to selector Garrett Moon 2015-08-12 11:46:46 -07:00
  • 91bffc8ca2 Merge pull request #602 from shannonma/merge_fork appleguy 2015-08-12 11:40:21 -07:00
  • 4f4a26d2a3 ASDK now supports non-flow layouts. We shouldn't be assuming a flow layout. Garrett Moon 2015-08-12 11:33:40 -07:00
  • c26e9c7e94 Fix race in ASDisplayNodeRespectThreadAffinityOfNode Shannon Ma 2015-08-10 16:42:02 -07:00
  • 7cc996c190 Merge branch 'master' of github.com:rcancro/AsyncDisplayKit rcancro 2015-08-09 16:43:08 -07:00
  • b58e8344c0 Add expectedSize to ASNetworkImageNode ricky cancro 2015-07-30 16:50:11 -07:00
  • d401b0e5f6 Merge pull request #593 from shannonma/merge_fork appleguy 2015-08-08 18:55:00 -07:00
  • 368d3af21a Merge pull request #595 from nguyenhuy/external_relayout appleguy 2015-08-08 18:27:18 -07:00
  • 219b659b38 - Automatically relayout cells when editing mode is used. - Add editing mode to Kitten sample. Huy Nguyen 2015-08-08 20:54:07 +03:00
  • e657bedd40 Automatically relayout cells after orientation changed. Huy Nguyen 2015-08-02 18:01:28 +03:00
  • 6275219f79 Revert Cocoapod version update Shannon Ma 2015-08-07 09:26:53 -07:00
  • 8da9ddd884 Merge pull request #598 from nguyenhuy/wrong_implementsInsetSection appleguy 2015-08-05 16:45:56 -07:00
  • 60ed2bca47 Fix _implementsInsetSection of ASCollectionView being check before the asyncDelegate is set. Huy Nguyen 2015-08-05 17:33:53 +03:00
  • f97af9cb26 Merge pull request #594 from nguyenhuy/relayout_same_constrained_size appleguy 2015-08-04 12:27:30 -07:00
  • 936bc2534d Merge pull request #596 from levi/master appleguy 2015-08-04 12:06:04 -07:00
  • c03ed9a8f4 ASDisplayNode returns requestedLayoutSize by default ricky cancro 2015-08-04 08:12:32 -07:00
  • a8ad21e850 Merge pull request #597 from marmelroy/issue-591 appleguy 2015-08-03 22:32:44 -07:00
  • 496cc43337 Updates to expectedImageSize rcancro 2015-08-03 22:09:50 -07:00
  • 26202865ac Adding files that were missing from the framework target Roy Marmelstein 2015-08-04 00:07:30 +02:00
  • 76e5f794da Fixing framework target build issues - missing info plist and headers Roy Marmelstein 2015-08-03 23:47:53 +02:00
  • 5eb75d6bc7 Add support for sectionInset in ASCollectionView in property and delegate form Levi McCallum 2015-08-03 14:36:29 -07:00
  • 77b586a7e6 Improvements on internal relayout. Huy Nguyen 2015-08-03 06:25:23 +03:00
  • 0acfea234f Update comments of setNeedsLayout and setNeedsDisplay of ASDisplayNode. Huy Nguyen 2015-08-03 02:30:08 +03:00
  • 56768a837a - Support internal relayout, that is a relayout caused by internal layout changes, like subnodes re-arrangement and/or subnodes' size change. The constrained size applied to root node is unchanged. - Update Kittens example to show how internal relayout is done. Huy Nguyen 2015-08-02 09:20:46 +03:00
  • d5de2a22fd Text node to gracefully fail upon font failure Shannon Ma 2015-07-31 12:24:04 -07:00
  • 15133fdbf7 setNeedsDisplay must be called on main Shannon Ma 2015-07-31 12:11:19 -07:00
  • f7a4ca45db Fix ASTextNodeWordKernerTests for Xcode 7/iOS 9 Shannon Ma 2015-07-31 11:31:10 -07:00
  • 16ed66c3a1 Merge pull request #550 from marmelroy/issue-549 appleguy 2015-07-30 22:04:30 -07:00
  • eae76d26b7 Add expectedSize to ASNetworkImageNode ricky cancro 2015-07-30 16:50:11 -07:00
  • e76fa2794f Merge pull request #589 from connor/returnKeyType appleguy 2015-07-30 15:23:48 -07:00
  • ca5e9e7dc3 Add support for configuring on ASEditableTextNode. Connor Montgomery 2015-07-30 15:19:00 -04:00
  • 5c0c7d5345 Bump podspec version for AsyncDisplayKit 1.2.3 1.2.3 Scott Goodson 2015-07-25 22:39:28 -07:00
  • 357d02fee6 Attempt to fix travis by specifying cocoapods 0.37.2 explicitly Ethan Nagel 2015-07-24 23:22:57 -07:00
  • d004b067e2 Attempt to fix travis by specifying cocoapods 0.37.2 explicitly Ethan Nagel 2015-07-24 23:05:14 -07:00
  • 5777582708 Implement warning assertion for supplementary views in ASCollectionView. Make sure ASTableViewStressTest passes. It was sometimes testing a scenario UITableView itself doesn't support. Scott Goodson 2015-07-25 21:25:40 -07:00
  • 5482213e2e Merge pull request #584 from facebook/AssertionsAndTesting appleguy 2015-07-25 21:47:16 -07:00
  • 46bbe479ae Implement warning assertion for supplementary views in ASCollectionView. Make sure ASTableViewStressTest passes. It was sometimes testing a scenario UITableView itself doesn't support. Scott Goodson 2015-07-25 21:25:40 -07:00
  • f3b8216a10 Merge pull request #582 from eanagel/fix-travis appleguy 2015-07-25 09:36:58 -07:00
  • 9b427576f2 Attempt to fix travis by specifying cocoapods 0.37.2 explicitly Ethan Nagel 2015-07-24 23:22:57 -07:00
  • 6e13c3ebab Attempt to fix travis by specifying cocoapods 0.37.2 explicitly Ethan Nagel 2015-07-24 23:05:14 -07:00
  • 6b38000941 A simpler, cleaner implementation Roy Marmelstein 2015-07-22 11:05:27 +02:00