Commit Graph

364 Commits

Author SHA1 Message Date
Garrett Moon
1b316217ef Downstream ASAnimatedImage 2016-04-13 14:23:02 -07:00
Garrett Moon
3bcbfb149d Add support for animated GIFs
Summary:
Use NSData as key

Add chunking of files

Add support for Animated Images

This adds support for GIF playback in ASDK. It's not currently ready
for merging to public ASDK – for one the GIF decompression may make
more sense in PINRemoteImage.

Removed duration as it wasn't used

Make cover image lazily loaded

Differential Revision: https://phabricator.pinadmin.com/D82033
2016-04-13 14:23:02 -07:00
Hannah Troisi
23d00d40e1 [New Example] 500pxgram
- added UIActivityMonitor
- added simple NSCache for UIKit tab
2016-04-11 19:04:05 -07:00
Hannah Troisi
89ab6b38fc [New Example] 500pxgram updates
- added UIKit autolayout to UIKit PhotoTableViewCell
2016-04-11 13:31:31 -07:00
Hannah Troisi
44d483b7fe [New Example] 500pxgram updates
- addressed all comments in PR except autolayout of UIKit code
2016-04-10 23:34:41 -07:00
Hannah Troisi
decb623d38 Merge remote-tracking branch 'facebook/master' into 500pxgram 2016-04-10 21:46:51 -07:00
Scott Goodson
ccddb36ed9 [ASDisplayNode] Ensure that Visible interfaceState is cleared on removal from hierarchy for rasterized elements. 2016-04-07 14:10:34 -07:00
Gareth Reese
9e28e07925 ASVideoNode updates based on review comments in https://github.com/facebook/AsyncDisplayKit/pull/1323 2016-04-07 14:08:45 +01:00
Gareth Reese
c8a414be9b Merged branch 'master' into AVPlayerItem-construction 2016-04-06 15:22:10 +01:00
Hannah Troisi
7a5c64f59e Removed resetDataModel on tab switching. 2016-04-05 21:59:16 -07:00
Hannah Troisi
50bb7d9386 - Partial implementation of feature resetPhotoFeedModel when switching between UIKit / ASDK tabs.
- Replaced NSData data fetches with NSURLSession
2016-04-04 20:43:07 -07:00
Hannah Troisi
e07827bf64 Merge remote-tracking branch 'facebook/master' into 500pxgram 2016-04-04 20:33:14 -07:00
Hannah Troisi
caf2e43d57 ASDKgram Refactoring
- replace ASTableView's nodeForRowAtIndexPath: with nodeBlockForRowAtIndexPath:  (performance gain because nodeBlock can be called concurrently)
- replace scrollViewDidScroll: method for determining when to loadPage for ASTableView’s data model with ASBatchContext
2016-04-04 18:46:50 -07:00
Hannah Troisi
dbad1c38e5 [ASEnvironment - Layout] Fixes to upward propagation of ASLayoutable properties. 2016-04-02 15:03:43 -07:00
Hannah Troisi
d40444ed02 Merge remote-tracking branch 'facebook/master' into ASLayoutPlayground 2016-04-01 20:49:26 -07:00
Hannah Troisi
883f2b2b99 added screenshots/gifs and descriptions to examples/README.md 2016-03-30 12:34:35 -07:00
Hannah Troisi
02509fa225 Testing adding screenshot to README.md 2016-03-30 10:10:39 -07:00
Hannah Troisi
55efc4cfb3 Final code cleanup 2016-03-29 14:53:42 -07:00
Hannah Troisi
f1dbc45cef Move NavigationController and statusBarOpaqueUnderlayView to AppDelegate 2016-03-29 13:13:20 -07:00
Hannah Troisi
53741a4e0a cleaned up model, view files 2016-03-29 13:00:44 -07:00
Hannah Troisi
0f4481718c Changed UITableViewController to UIViewController 2016-03-29 00:50:52 -07:00
Huy Nguyen
0e7edd184a Fix ASLayoutSpecPlayground:ViewController:toggleVisualization 2016-03-29 00:04:32 -07:00
Hannah Troisi
112bfa8e71 Switched ASDKViewController from UIViewController to ASViewController, renamed files. 2016-03-29 00:04:08 -07:00
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
3b7d88c471 Refactored layout inspector code for extensibility. 2016-03-28 08:18:40 -07:00
Hannah Troisi
1173e1a46b Huy debugging 2016-03-27 20:52:27 -07:00
Hannah Troisi
22d3828092 [ASLayoutableInspector] Transition to an ASTableNode-based architecture to support larger numbers of buttons / customizable types. 2016-03-27 15:55:10 -07:00
Hannah Troisi
b97a3a3410 Merge remote-tracking branch 'facebook/master' into ASLayoutPlayground 2016-03-27 15:34:39 -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
Hannah Troisi
a7bd6ce97d Cleaned up examples code. 2016-03-26 09:57:40 -07:00
Hannah Troisi
2d4ec243ae added new ASLayoutableInspectorNode features 2016-03-25 15:47:12 -07:00
Hannah Troisi
6c4af53434 Revert project changes for Social App Example 2016-03-23 23:25:26 -07:00
Hannah Troisi
c2e5db85ae [SocialAppLayout example] update to use ASTextNode's passthroughNonlinkTouches property 2016-03-23 21:32:05 -07:00
Hannah Troisi
9f8d7e952c Resizing the playground works in the shrink direction, not for grow. 2016-03-23 20:27:54 -07:00
Hannah Troisi
753a06ebb1 Layout Inspector Work in Progress 2016-03-23 15:07:34 -07:00
Hannah Troisi
c4b61e20f2 continued development 2016-03-22 20:24:06 -07:00
Hannah Troisi
4b9bfc11dd Merge remote-tracking branch 'facebook/master' into ASLayoutPlayground 2016-03-22 20:21:36 -07:00
Hannah Troisi
531c0fa718 Workaround for ensuring creation of visualizerNode for ALL layoutspecs 2016-03-21 21:01:14 -07:00
Hannah Troisi
fa7d6aa120 [ASLayoutSpecPlayground] Created new Inspector node, cleaning up internal implementation to start formalizing support for layout spec visualization. 2016-03-21 19:12:35 -07:00
appleguy
ebd3567f1b Merge pull request #1262 from ekurutepe/carthage-example
[Carthage] Build Test project to ensure framework is never left behind by file additions.
2016-03-19 21:14:46 -07:00
Hannah Troisi
2dae2d1c09 [CustomCollectionView Example]
Issue (#1366):
CustomColelctionView example app always returns YES from shouldInvalidateLayoutForBoundsChange: which triggers a re-layout.

Fix:
Comparing CGSize rather than CGRect is enough to  handle rotation support without always triggering a re-layout. .
2016-03-19 18:14:19 -07:00
Hannah Troisi
8d7871fe9a Initial exploratory stab at the main challenge of the app - visualizing ASLayoutSpecs 2016-03-19 17:05:15 -07:00
Hannah Troisi
afdb3f9a8a Initial ASLayoutSpecPlayground commit 2016-03-19 14:52:53 -07:00
Engin Kurutepe
2a978054f2 remove Cartfile.resolved 2016-03-17 20:27:03 +01:00
Engin Kurutepe
ad09d83f19 make the sample scheme shared 2016-03-17 15:22:00 +01:00
Engin Kurutepe
618febd29b Merge pull request #2 from ekurutepe/master
pull changes from master
2016-03-17 14:15:55 +01:00
Michael Schneider
788cdbd326 Improve ASViewController example 2016-03-16 09:36:35 -07:00
Engin Kurutepe
0223893315 generate Cartfile using the local path 2016-03-15 18:13:49 +01:00
Gareth Reese
a95300e145 Merged master into AVPlayerItem-construction 2016-03-14 13:21:42 +00:00