Commit Graph

  • 90a78684c9 Revert to using ASDisplayNodeSubclassOverridesSelector, to minimize changes and provide a bit of convenience within ASDisplayNode. Huy Nguyen 2015-06-06 08:28:12 +03:00
  • aea91fff86 Fix typo in ASDisplayNode. Huy Nguyen 2015-06-01 20:19:35 +03:00
  • 323136298c Update visibility of layout header files. Travis should be happy now. Huy Nguyen 2015-05-28 22:05:46 +03:00
  • 375f99eb66 Update Kittens sample to use new layout system. Huy Nguyen 2015-05-28 21:01:39 +03:00
  • e23a3fe4c2 Add layout tests. Huy Nguyen 2015-05-28 20:59:02 +03:00
  • abe98d5b09 Integrate new layout nodes to the framework. - Introduce ASLayoutNode and its subclasses. - ASDisplayNode measures its ASLayoutNode and cache the result (ASLayout). Calculated size and position of each subnode can be retrieved from the calculated layout. - Custom nodes need to override -layoutNodeThatFits:(CGSize) instead of -calculateSizeThatFits:(CGSize). - Custom nodes do not need to layout its subnodes (in -layout:) anymore. ASDisplayNode can handle the job most of the time, by walking through its layout tree. - ASCompositeNode is used to embed (display) subnodes to a node's layout. That way, each subnode will also be measured while the parent node is measuring. And the parent node knows where its subnodes are within its layout. Huy Nguyen 2015-05-28 20:36:55 +03:00
  • f8531f467d Add Layout nodes. - The code is forked from LayoutComponents in ComponentKit. - Public interfaces are modified to be strictly Objective-C. As a result, users are not forced to switch to Objective-C++, the linker can happily compile and Swift fans can continue using the mighty ASDK. Huy Nguyen 2015-05-28 20:22:35 +03:00
  • 71d9f210f1 Merge pull request #507 from sebreh/master appleguy 2015-06-24 15:45:35 -07:00
  • 3560ff98e7 Merge pull request #508 from victormayorov/master appleguy 2015-06-24 15:45:09 -07:00
  • baf91b4a45 validate that _pendingVisibleIndexPath is contiguous with visibleIndexPaths before appending it. Also, always return a sorted array of NSIndexPaths Ethan Nagel 2015-06-24 13:18:12 -07:00
  • 0e37bff7c1 Revert to using a single NSIndexPath for the pending visible item Ethan Nagel 2015-06-24 13:13:43 -07:00
  • a299a5b550 Implemented UIAccessibilityIdentification for ASDisplayNode Victor Mayorov 2015-06-24 11:03:51 -07:00
  • 1a7723d0c6 Merge remote-tracking branch 'AsyncDisplayKit/master' Victor Mayorov 2015-06-24 10:19:41 -07:00
  • c215356eb3 Include missing files in iOS Framework target Sebastian Rehnby 2015-06-24 15:55:50 +02:00
  • 8fa6667d93 Remove old and add new framework target. Paul Young 2015-06-23 22:57:38 -07:00
  • 8bdcbe1be0 Merge pull request #504 from RCacheaux/CollectionViewLayoutSupport appleguy 2015-06-23 13:22:26 -07:00
  • 0b8f10e488 Removes UICollectionViewFlowLayout requirement. This allows custom collection view layouts. Rene Cacheaux 2015-06-23 13:39:12 -05:00
  • e5f2f820c4 Merge pull request #449 from nrcmedia/master appleguy 2015-06-23 10:51:23 -07:00
  • 247f960c44 Merge pull request #503 from RCacheaux/CollectionViewLayoutSupport appleguy 2015-06-23 10:30:19 -07:00
  • 60e676a38a Adds ASCollectionViewLayoutController and convenience CGRect/ASScrollDirection functions. Fixes default collection view range tuning parameters for Preload and Render ranges; values were flipped. Rene Cacheaux 2015-06-23 07:23:32 -05:00
  • 179d8601e0 Merge pull request #497 from RCacheaux/CollectionViewLayoutSupport appleguy 2015-06-22 21:50:52 -07:00
  • 4aa796d894 Merge branch 'master' into CollectionViewLayoutSupport Rene Cacheaux 2015-06-21 23:17:41 -05:00
  • 607367aacf Merge pull request #496 from facebook/DataControllerCrash appleguy 2015-06-21 21:16:05 -07:00
  • edb6090ab0 Merge pull request #494 from RCacheaux/CollectionViewLayoutSupport appleguy 2015-06-21 21:10:14 -07:00
  • c700618862 Improvements to thread safety during closely spaced edit events. Scott Goodson 2015-06-21 21:04:09 -07:00
  • 84c81c289e Merge pull request #495 from hannahmbanana/KittenComments appleguy 2015-06-21 17:32:31 -07:00
  • 777b48cc33 Adds layout controller for collection views. This new layout controller leverages UICollectionViewLayout's layoutAttributesForElementsInRect in order to calculate index paths for items in AsyncDisplayKit ranges. Flow layout is still a requirement in order to test the waters. Rene Cacheaux 2015-06-21 18:37:00 -05:00
  • 710c51593e Cleaned up Kittens sample app and added comments for clarity. Hannah Troisi 2015-06-21 11:36:19 -07:00
  • 0adac6851a Adds abstract ASLayoutController implementation in preparation for custom layout ASLayoutController implementation. Rene Cacheaux 2015-06-21 13:24:24 -05:00
  • 33118df73b Merge branch 'master' into CollectionViewLayoutSupport Rene Cacheaux 2015-06-21 11:45:56 -05:00
  • e46c13edc5 Exposes ASCollectionView's ability to determine scroll direction. Scroll direction detection can now support 2-axis collection view layouts. ASCollectionView can now determine scrollable axes. Rene Cacheaux 2015-06-21 11:45:25 -05:00
  • ed4ccfcc7f Merge pull request #491 from RCacheaux/CollectionViewLayoutSupport appleguy 2015-06-20 20:18:54 -07:00
  • c12cbdd21a Merge pull request #493 from facebook/LayerDrivenLayout appleguy 2015-06-20 20:16:13 -07:00
  • 904905189c Remove -[_ASDisplayView layoutSubviews] and use only -[_ASDisplayLayer layoutSublayers]. Scott Goodson 2015-06-20 19:40:01 -07:00
  • a7f7620b8c Turns ASScrollDirection into Option set in preparation for supporting 2-axis collection view layouts. Clears test host target warnings. Rene Cacheaux 2015-06-20 18:25:48 -05:00
  • c271462b16 Merge pull request #488 from facebook/CleanupFrameSetter appleguy 2015-06-19 17:36:17 -07:00
  • b94640a59d Merge remote-tracking branch 'AsyncDisplayKit/master' Victor Mayorov 2015-06-19 12:38:01 +03:00
  • 503b16fd62 Fixed crash on multiple -[ASTableView reloadData]. Implemented test. Victor Mayorov 2015-06-19 12:37:38 +03:00
  • b4aaf50953 Clean up login in setFrame: for clarity and compactness Scott Goodson 2015-06-18 13:16:35 -07:00
  • 590063f421 Merge pull request #485 from victormayorov/master appleguy 2015-06-18 13:05:24 -07:00
  • 0c7b1051d6 Fixed bounds Victor Mayorov 2015-06-15 18:35:32 +03:00
  • e94699ae31 Fixed bounds in ASDisplayNode. Bounds.origin shouldn't be affected by -[ASDisplayNode setFrame:] method. Victor Mayorov 2015-06-15 18:30:44 +03:00
  • 66e241162f Merge pull request #483 from facebook/podfileUpdates 1.2.1 appleguy 2015-06-14 20:09:57 -07:00
  • d8fcfce840 Update .podspec to refer to 1.2.1 release tag. Scott Goodson 2015-06-14 20:08:54 -07:00
  • 80cc0e64d0 Merge pull request #482 from facebook/DisableAsyncDataFetching appleguy 2015-06-14 20:01:56 -07:00
  • ba5a6e15c0 Disable asyncDataFetching in ASTableView and ASCollectionView init methods. It's currently unreliable for some use cases that issue editing calls while content is displayed or being interacted with. The performance gain is not sufficient to sacrifice correctness for the clients that hit this issue, so it will remain off until fully resolved. Scott Goodson 2015-06-14 19:59:39 -07:00
  • a4a03fdcf4 Merge pull request #481 from facebook/PrecompositingOpacity appleguy 2015-06-14 17:32:09 -07:00
  • c50f3b9cad Support transparent (e.g. clearColor) background for precomposited trees. Scott Goodson 2015-06-14 17:30:42 -07:00
  • 2a7f45ed40 Merge pull request #479 from joostvandijk/rasterized-node-offset appleguy 2015-06-13 17:35:55 -07:00
  • bd7941507b Use a zero origin for root container node frame during rasterization Joost van Dijk 2015-06-13 20:51:58 +02:00
  • 4ddd1f4ace Merge pull request #478 from victormayorov/master appleguy 2015-06-13 11:13:24 -07:00
  • 645b3c1e4a Added tests to project file VictorM 2015-06-11 10:47:13 +03:00
  • 2c74904368 Fixed crash with deallocated CGImageRef VictorM 2015-06-11 10:42:28 +03:00
  • c1f3ce2ba9 Merge pull request #476 from victormayorov/master appleguy 2015-06-10 16:52:16 -07:00
  • 9c20edb310 Added checking that sessionTask hasn't been added during creation of previous one Victor Mayorov 2015-06-10 17:58:35 +03:00
  • 7359e2255d Added synchronisation for sessionTask property Victor Mayorov 2015-06-10 17:50:21 +03:00
  • 1f5813b835 Fixed typo Victor Mayorov 2015-06-10 16:19:54 +03:00
  • 7167e4a589 Fixed ASBasicImageDownloader to handle multiple request with the same URL Victor Mayorov 2015-06-10 15:38:51 +03:00
  • b8f60e126a Added iOS framework target for Carthage support Niels van Hoorn 2015-05-11 18:50:56 +02:00
  • 6b62538327 Merge pull request #470 from 3lvis/master appleguy 2015-06-06 19:29:00 -07:00
  • 2bc0da021f Merge pull request #439 from eanagel/passthrough-nonlink-touches appleguy 2015-06-06 19:25:39 -07:00
  • fded84806b Merge pull request #464 from ianolito/lazy-pending-nodes-set appleguy 2015-06-06 19:23:59 -07:00
  • 33a496ffbf Fix broken Travis Elvis Nuñez 2015-06-01 20:34:24 +02:00
  • dc0d60fced Use the required initializer Elvis Nuñez 2015-05-31 18:44:48 +02:00
  • f03dfcb7fd Add indent rules to project Elvis Nuñez 2015-05-31 11:23:50 +02:00
  • 10a548999b Fix failing Sample Elvis Nuñez 2015-05-31 11:23:33 +02:00
  • 45f719fc6c Create pending nodes set lazily Ian Cloutier 2015-05-23 12:04:58 -04:00
  • b9597ff96b Merge pull request #461 from facebook/memoryMethods 1.2 appleguy 2015-05-21 22:44:44 -10:00
  • e3f0e66cb3 Updating API names for network range and memory culling before ASDK 1.2 tag. Scott Goodson 2015-05-21 22:43:38 -10:00
  • 5d0a2849de Merge pull request #407 from ianolito/fix-placeholder-api appleguy 2015-05-21 21:43:07 -10:00
  • 8043e36bf6 Merge pull request #430 from eanagel/astableview-programmatic-scrolling-fix-v2 appleguy 2015-05-21 12:54:19 -10:00
  • 7e50f05dfd Merge pull request #445 from levi/master appleguy 2015-05-21 12:49:48 -10:00
  • c8ea73b1fe Communicate conditionals clearly and document methods Levi McCallum 2015-05-18 20:03:14 -07:00
  • 38ecededaa Merge pull request #453 from facebook/outlineBorderWidth appleguy 2015-05-17 17:03:41 -10:00
  • c4cd38bb6e Set line width on path instead of context. Scott Goodson 2015-05-17 17:01:59 -10:00
  • bf84d52bec Merge pull request #443 from eanagel/astableview-in-xib appleguy 2015-05-16 23:00:50 -10:00
  • 079da308ef Merge pull request #437 from eanagel/ASDataController-release-nodes appleguy 2015-05-16 22:49:55 -10:00
  • 33c5a72002 Merge pull request #432 from tonklon/master appleguy 2015-05-16 22:19:47 -10:00
  • 203748d069 Merge pull request #425 from onhachoe/master appleguy 2015-05-16 22:08:51 -10:00
  • d3e4db2c5c Merge pull request #444 from levi/patch-1 appleguy 2015-05-13 22:55:24 -10:00
  • e3ecaca40e Merge pull request #446 from nscoding/nscoding/snapshots appleguy 2015-05-13 22:52:36 -10:00
  • dbb8c2e421 Merge pull request #451 from eanagel/setDelegate-fix appleguy 2015-05-13 22:50:19 -10:00
  • d9acd7bb84 More fixes to catch/handle the delegate getting into an invalid state. These changes will allow setting tableView.asyncDataSource/delegate = nil. (Previously this would have no effect in dealloc thanks to ARC magic). Also added some defensive code to help identify the problem earlier. Ethan Nagel 2015-05-13 11:00:37 -07:00
  • 58402b6af0 change the order we tear things down in setAsyncDelegate/DataSource to avoid a random crash in UIScrollViewAccessibility. Ethan Nagel 2015-05-12 12:11:05 -07:00
  • 1530ef2841 Prevent UITableView insertion/deletion animations by default Levi McCallum 2015-05-07 21:53:38 -07:00
  • 4619457a1e Fix typo in ASTableView Levi McCallum 2015-05-07 14:51:03 -07:00
  • 19e57d9d46 Update FBSnapshotTestCase to 1.8.1 Patrik Tomas Chamelo 2015-05-07 14:14:50 -07:00
  • a38cf3ef37 Merge branch 'master' into astableview-in-xib Ethan Nagel 2015-05-05 09:31:31 -07:00
  • c81f5d08fc refactor ASTAbleView initialization code so it also gets initialized when starting from initWithCoder: Ethan Nagel 2015-05-04 08:51:25 -07:00
  • 38f08c9bd8 support layers as well as views when doing ASDisplayCell cleanup (in case we add support for layer-backed ASDisplayCells in the future.) Ethan Nagel 2015-05-03 21:45:33 -07:00
  • f248dbddd1 Merge pull request #405 from eanagel/reloadData-completion appleguy 2015-05-03 19:25:06 -07:00
  • 74fc9a429e Merge pull request #440 from Driftt/control-node-target-retain appleguy 2015-05-03 19:12:28 -07:00
  • 04ec602500 Don’t retain an action’s target in ASControlNode rlasante 2015-05-01 13:04:26 -04:00
  • a0ec62b282 Add option to pass through touches to non-link text (disabled by default.) Ethan Nagel 2015-04-27 17:59:59 -07:00
  • b40c1dbfc3 on ASDataController dealloc, ensure that loaded Cell nodes are not in the TableViewCell. For reasons I don't fully understand, this avoids a retain cycle with the currently displayed cells. Ethan Nagel 2015-04-22 13:57:25 -07:00
  • 7fedfdd757 [README.md] Add Coveralls badge Dasmer Singh 2015-04-22 12:23:11 -04:00
  • 9006f7c356 Ignore .gcov files in git Dasmer Singh 2015-04-22 12:20:37 -04:00
  • f8c02147fb [.slather.yml] Add newline to end of file Dasmer Singh 2015-04-21 16:47:00 -04:00
  • 9cf056f6d5 Set GENERATE_TEST_COVERAGE_FILES & INSTRUMENT_PROGRAM_FLOW_ARCS to YES in Life Without CocoaPods.xcodeproj Dasmer Singh 2015-04-21 16:39:21 -04:00
  • de04da843f Update Podfile.lock Dasmer Singh 2015-04-21 16:38:39 -04:00