Peter
824de23a0d
Merge commit '5b8e0ef220b304006b9590a5d7acd7a9f12d95b9'
...
# Conflicts:
# AsyncDisplayKit/ASImageNode.mm
2016-10-18 13:29:32 +02:00
Garrett Moon
5cd8f28ad5
@return is recognized by the syntax highlighter. ( #2313 )
2016-09-28 14:40:05 -07:00
Adlai Holler
f421787cd3
Add some nullability specifiers to our public headers ( #2291 )
2016-09-27 18:15:04 -04:00
Garrett Moon
dfe4585cec
Add ability to force the size which an image node is rendered. ( #2107 )
...
* Add ability to force the size which an image node is rendered.
* Add unit tests for forced scaling.
* Whoops, need results!
* Round forced scaling.
* Check size of contents too.
* Remove unnecessary container node.
2016-08-23 16:01:43 -07:00
Peter
18d6518f70
Merge commit '8edc9fe08febed871eab512a24917764c37ddbb0'
...
# Conflicts:
# AsyncDisplayKit.xcodeproj/project.pbxproj
# AsyncDisplayKit/Private/ASImageNode+CGExtras.m
2016-08-23 16:18:35 +03:00
Adlai Holler
eb9f86cfdb
Replace "percent" with "fraction" where appropriate
2016-08-10 10:26:21 -07:00
Peter
88bb8b3f6e
Merge commit 'f40f08753d432cdaa7a799a7875bfc2a1f21c973'
...
# Conflicts:
# AsyncDisplayKit/ASDisplayNode.mm
2016-08-09 00:22:26 +03:00
David Rodrigues
70574243f7
Prevent API misuse at compile time ( #2035 )
...
Using Objective-C attributes, in this case `unavailable`, we can hide
unsupported APIs at compile time instead of detecting and warn about it
at runtime with a set of asserts.
2016-08-04 19:00:46 -07:00
Hannah Troisi
abf8d5b9aa
[Infer] change atomic properties to nonatomic ( #1932 )
2016-07-16 10:46:55 -07:00
Peter
127f2beeb6
Merge commit 'f0bfa24fa3ab29c68794ab429023892bde200def'
2016-06-24 01:34:47 +03:00
Ethan Nagel
ead9590d36
Default animation run loop -> CommonModes
2016-06-19 18:52:32 -07:00
Hannah Troisi
c857e809f4
Clean up header comments (for consistent Facebook licensing info) ( #1741 )
...
[Licensing] Clean up header comments (for consistent Facebook licensing info)
2016-06-11 23:31:39 -07:00
Eric Jensen
370e5f1006
Allow configuration of ASImageNode's animation runloop
2016-06-08 10:38:43 -07:00
Eric
4ac2d52a06
Allow nil borderColor when using ASImageNodeRoundBorderModificationBlock ( #1686 )
2016-05-21 11:12:40 +08:00
Aaron Schubert
c3ec99af1e
Fix merge conflicts
2016-04-22 09:28:23 +01:00
Scott Goodson
fe30e3f5da
[ASImageNode] Adjust category naming for AnimatedImage properties to fix compiler warnings.
2016-04-21 12:32:59 -07:00
Aaron Schubert
b586b9f34b
Fix merge conflicts
2016-04-21 09:26:40 +01:00
Aaron Schubert
e2fa2f8192
[tvOS] Address comments on previous PR.
2016-04-21 09:23:47 +01:00
Garrett Moon
0fc39d1ccd
Follow up to animated GIF PR
2016-04-19 13:43:41 -07:00
Peter
d9269d5c78
Merge commit 'cd493358cc802d878101a618676bea23de07e7fc'
...
Conflicts:
AsyncDisplayKit/ASImageNode.mm
2016-03-28 17:28:13 +03:00
appleguy
d9ef0922d8
Merge pull request #1354 from ejensen/cleanup
...
[Refactoring] Objective-C 2.0 / Modern syntax for arrays, dictionaries, numbers; logic simplification
2016-03-17 01:06:33 -07:00
Peter
2a0ce4ac86
Merge commit '192e9398e53685be52e0eab26501a1f2a2926cdd'
2016-03-16 14:57:35 +03:00
Peter
771c71117b
no message
2016-03-16 14:56:50 +03:00
Eric Jensen
33fda7ab49
- Use modern Objective-C syntax.
...
- Simplify comparisons.
- Remove dead stores.
2016-03-15 22:34:29 -07:00
Eric Jensen
6ebb376a4d
Annotate ASImageNode's imageModificationBlock as nullable
2016-03-15 12:58:23 -07:00
Eric Jensen
86ccd33a84
Correct a few documentation comments for method parameters
2016-03-08 11:56:58 -08:00
Garrett Moon
1b08114eca
Allow prevention of downscaling
2016-02-02 19:10:12 -08:00
Scott Goodson
7ecc302e10
[ASImageNode] remove nullability from imageModificationBlock for Swift bridging.
...
https://github.com/facebook/AsyncDisplayKit/issues/1092
2016-01-24 22:26:42 -08:00
Adlai Holler
262d65eea9
More updates
2015-09-16 15:34:24 -07:00
Adlai Holler
814f72535c
Add nullability annotations for public API
2015-09-16 15:21:35 -07:00
Nadine Salter
7344cb98bb
Remove ASImageNode's tint property.
...
ASImageNodeTint is inflexible (your options are "no tint" and "use
`[UIColor grayColor]`") and needlessly complicates the ASImageNode
implementation. Use ASImageNodeTintColorModificationBlock() instead.
Closes #383 .
2015-03-20 12:37:27 -07:00
Ryan Nystrom
ad474fce8e
Make project imports consistent
2015-02-23 14:55:15 -08:00
andyscott
4bd9ef2927
Add image modification block to render template images w/ tint.
2015-02-03 12:54:41 -08:00
Ryan Nystrom
d27c8859c7
Node placeholder API
...
ASDisplayNodes now have an overidable method -placeholderImage that lets you provide a custom UIImage to display while a node is displaying asyncronously. The default implementation of this method returns nil and thus does nothing. A provided example project also demonstrates using the placeholder API.
2014-12-15 17:23:52 -08:00
Nadine Salter
1103f82a5c
.preventOrCancelDisplay -> .displaySuspended.
...
Rename the ASDisplayNode property to match its _ASDisplayLayer
counterpart -- `displaySuspended` is more succinct and is a more
plausible name for a Cocoa BOOL property.
2014-12-02 18:06:11 -08:00
Nadine Salter
964d109be6
ASImageNodeRoundBorderModificationBlock().
2014-11-20 11:38:47 -08:00
Nadine Salter
9225309c9a
[appledoc] Fix all appledoc warnings. ( #65 )
2014-10-17 15:41:25 -07:00
Nadine Salter
b2d4e2c717
Fix ASImageNode docblocks.
...
(#64 , #65 )
2014-10-17 13:43:01 -07:00
Arnaud Coomans
b553678938
Fixes documentation for ASImageNode
2014-10-15 10:33:10 -07:00
Nadine Salter
0053e00a52
Add image-modification support to ASImageNode.
2014-09-08 17:09:14 -07:00
Andrew Toulouse
a35c109a08
Unify boolean flag naming confention, getter spacing, and property attribute naming
...
Summary:
* Fixes #3
* Ordering: atomicity, then [optional] readonly, then value semantics (retain/copy/assign)
* Removed redundant `readwrite`
* No spaces between "getter = name" ("getter=name" instead)
* Property method overrides renamed as well
* self.isBlah, while technically not entirely correct, still resolves to [self blah], so left alone (@kimon had advice on this sort of naming issue last summer), and largely inconsequential
Test Plan:
* Compile and run
2014-07-17 13:18:47 -07:00
Nadine Salter
15565873c9
Initial commit.
2014-06-26 22:32:55 -07:00