Commit Graph
4622 Commits
Author SHA1 Message Date
David Beck 4ed2120cfa Added tintColor convenience methods
tintColor is now forwarded to the underlying view, and much more importantly, the node is notified when the tintColor changes on the view.
2014-10-23 19:51:10 -07:00
Nadine Salter bd30f975ab 1.0.1. 1.0.1 2014-10-22 15:59:09 -07:00
Nadine Salter 0a78dfe43c Merge pull request #71 from rainypixels/row-animation
Fix #67
2014-10-22 14:59:58 -07:00
Nadine Salter 66dab5b594 Update landing page. 2014-10-22 14:57:06 -07:00
Nadine Salter 613acb789c Static library support (fixes #54). 2014-10-22 14:55:49 -07:00
Nishant Kothary 1010224007 Fix #67 2014-10-22 13:59:22 -07:00
Nadine Salter d0b7a015e8 Improve ASRangeController dealloc-safety.
(1) We can't size nodes without a delegate, and if our owning controller
has been deallocated, our delegate will be nil.  Handle this more
gracefully.

(2) Our teardown code needs to be executed on the main thread, but it's
conceivable that we might hit refcount 0 on a background queue.  Force
deallocation to occur on the main thread.

Closes #27.
2014-10-22 13:50:24 -07:00
Nadine Salter 72f9cb9d73 Remove ASImageNode thread affinity asserts (#57). 2014-10-22 13:50:02 -07:00
Nadine Salter 367b6da116 Use ASDisplayNodeScreenScale().
ASImageNode and ASHighlightOverlayLayer were both using
[[UIScreen mainScreen] scale] directly.  Bad.  No cookie.  Use
ASDisplayNodeScreenScale() instead.

(Also, regenerate Xcode project with Xcode 6 and current CocoaPods.)
2014-10-22 13:36:40 -07:00
Nadine Salter d01fb5f418 Fix ASDisplayNodeScreenScale() warning. 2014-10-20 14:12:49 -07:00
Nadine Salter 2d26249cb0 Add -didExitHierarchy internal hook. 2014-10-20 13:47:31 -07:00
Nadine Salter 77412a2612 [appledoc] Fix hierarchy / memory docblocks. 2014-10-20 13:27:59 -07:00
Nadine Salter 47d70d39cd Add REQUIRES_SUPER annotations.
Closes #51.
2014-10-20 13:23:23 -07:00
Nadine Salter 4ce6820efb [appledoc] Document ASCellNode. 2014-10-17 15:53:11 -07:00
Nadine Salter 9225309c9a [appledoc] Fix all appledoc warnings. (#65) 2014-10-17 15:41:25 -07:00
Nadine Salter f493b130ef [appledoc] Enable explicit crossrefs.
Fix warnings for existing `@see ...` crossrefs.
2014-10-17 15:41:25 -07:00
Nadine Salter 9e824a3134 [appledoc] Include ASRangeController. 2014-10-17 14:50:42 -07:00
Nadine Salter 673c24946b [appledoc] Include subclassing header.
Use `--no-merge-categories` to prevent subclassing-only documentation
from appearing in the general API reference.  Use consistent category
names.
2014-10-17 14:50:27 -07:00
Nadine Salter b2d4e2c717 Fix ASImageNode docblocks.
(#64, #65)
2014-10-17 13:43:01 -07:00
Nadine Salter db4bbc6c18 Tweak .gitignore. 2014-10-17 13:42:07 -07:00
Nadine Salter 4bc596fd91 Update CONTRIBUTING.md 2014-10-17 13:24:01 -07:00
Nadine Salter 536899afcc Merge pull request #61 from lldong/support-nil-target
ASControlNode not sending action to the responder chain when target is nil
2014-10-17 12:55:12 -07:00
林藍東 faab914a08 Fix issue #61 2014-10-17 19:22:17 +08:00
Nadine Salter 655a55dc85 Merge pull request #55 from l4u/patch-1
Fix documentation typos
2014-10-16 11:42:54 -07:00
Leo Lou ccbbdba53e Fix documentation typos 2014-10-16 15:38:08 +08:00
Nadine Salter 88e9cd0e10 [site] vimeo link 2014-10-15 11:49:14 -07:00
Nadine Salter 7908a60ce0 [site] github.io redirect 2014-10-15 11:30:02 -07:00
Nadine Salter 8e31316a55 Merge pull request #48 from acoomans/more-badges
Badges :D
2014-10-15 11:25:48 -07:00
Nadine Salter db04b41ce1 Tweak .travis.yml. 2014-10-15 11:17:32 -07:00
Nadine Salter 6cfb347355 Shared schemes. 2014-10-15 10:52:13 -07:00
appleguy 7e79a21f3c Merge pull request #52 from acoomans/fix-doc
Fixes documentation for ASImageNode
2014-10-15 10:47:55 -07:00
Nadine Salter d6f150fe81 Update README. 2014-10-15 10:43:56 -07:00
Arnaud Coomans b553678938 Fixes documentation for ASImageNode 2014-10-15 10:33:10 -07:00
Nadine Salter c1f7d9f78d examples/README. 2014-10-15 09:31:34 -07:00
Nadine Salter f5239f894c 1.0. 1.0 2014-10-15 09:26:57 -07:00
Nadine Salter 373b5cc92e [site] Tweak index.md. 2014-10-15 09:24:54 -07:00
Nadine Salter b6c8a44cc6 [site] Add CNAME. 2014-10-15 09:18:01 -07:00
James Pearce 93359f53e0 Update README.md 2014-10-15 00:35:48 -07:00
James Pearce 0c8480b6e6 New base url for new site 2014-10-15 00:20:02 -07:00
appleguy fd9f127fc9 Merge pull request #26 from toulouse/requiresSuper
Annotate -didLoad with an attribute (if supported) that will flag missing didLoad calls
2014-10-14 21:22:44 -07:00
appleguy c81896a54b Merge pull request #41 from RCacheaux/RecursiveSetPreventOrCancelRasterizedSubNodes
Recursive Set Prevent or Cancel for Rasterized SubNodes
2014-10-14 21:14:10 -07:00
Nadine Salter 90b860ee66 Merge pull request #50 from acoomans/fix-defaults
[examples] Added defaults for iPhone 6 and 6+ to avoid scaled mode
2014-10-14 21:02:17 -07:00
Arnaud Coomans 812a15fc2a Added defaults for iPhone 6 and 6+ to avoid scaled mode 2014-10-14 20:55:18 -07:00
Scott Goodson c61b1c294c Several bug fixes for the 1.0 release of AsyncDisplayKit
Fixes:
- Usage of UIScreen in -[ASDisplayNode init]
  (the offending individual will be prosecuted)
- #38: Proper teardown of nodes owned by ASTableView / ASRangeController
- #34: Fix infinite recursion in very rare subclassing scenario
- #30: Avoid animating cell and section additions to ASTableView
- #19: Set a more reasonable default for maximum display concurrency

r=nadi
2014-10-14 20:53:25 -07:00
Arnaud Coomans 60ee1e16ae Added version, platform, license badges in README 2014-10-14 18:46:47 -07:00
Scott Goodson f7d91bb877 Implement -reclaimMemory API and switch to manually controlled content clearing.
ASDisplayNode and several subclasses had previously cleared memory-heavy
objects like the backing store and text layout manager when the node's
view
or layer is removed from a visible heirarchy.  This works great in any
system
that uses a "working range", where exiting the range removes the node
from
the hierarchy and reclaiming memory at that time is important.
However, for
standard UIViewController patterns (unused in Paper), this behavior
causes
highly undesirable thrashing (leading to visible flashes & wasteful
re-rendering of content).

After this change, node subclasses should implement -reclaimMemory if
they
need to perform any other cleanup besides backing store destruction
when they
leave a working range or other scenario where memory reduction is
valuable.

To trigger this behavior, calling code should use
-recursivelyReclaimMemory.

r=nadi
2014-10-14 18:45:56 -07:00
Nadine Salter 6a1854ed6a Merge pull request #47 from acoomans/fix-pods
Added source to Podfiles
2014-10-14 18:45:25 -07:00
Arnaud Coomans 486ea1e7a3 Added source to Podfiles 2014-10-14 18:41:19 -07:00
Arnaud Coomans ad4fd0a738 Added travis build badge in README 2014-10-14 18:09:37 -07:00
Nadine Salter 9a8c2d078d [site] Tweak appledoc script. 2014-10-14 18:08:29 -07:00