From 03eaa0ec3c6aaa1fd3f5d5290e26ebecf8521573 Mon Sep 17 00:00:00 2001 From: Archimboldi Mao Date: Tue, 13 Jun 2017 14:25:15 +0800 Subject: [PATCH 1/4] Texture 2.0 has been released. The document should be removed the expected. --- docs/_docs/corner-rounding.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/_docs/corner-rounding.md b/docs/_docs/corner-rounding.md index 27601c8c3..976748717 100755 --- a/docs/_docs/corner-rounding.md +++ b/docs/_docs/corner-rounding.md @@ -64,7 +64,7 @@ A key limitation of precomposited corners is that the corners must only touch on Note that Texture nodes have a special optimization of `.cornerRadius` that automatically implements precomposited corners **only when using** `.shouldRasterizeDescendants`. It's important to think carefully before you enable rasterization, so don't use this option without first reading all about the concept.
-If you're looking for a simple, flat-color rounded rectangle or circle, Texture offers a variety of conveniences to provide this. See `UIImage+ASConveniences.h` for methods to create flat-colored, rounded-corner resizable images using precomposited corners (both alpha and opaque are supported). These are great for use as placeholders for image nodes or backgrounds for ASButtonNode. More precomposited corner methods will be released with Texture 2.0 release. +If you're looking for a simple, flat-color rounded rectangle or circle, Texture offers a variety of conveniences to provide this. See `UIImage+ASConveniences.h` for methods to create flat-colored, rounded-corner resizable images using precomposited corners (both alpha and opaque are supported). These are great for use as placeholders for image nodes or backgrounds for ASButtonNode.
### Clip Corner @@ -80,10 +80,6 @@ Clip corners applies to two main types of corner rounding situations:
  • Rounded corners on top of a stationary texture or photo background. The photo clip corner method is tricky, but useful!
  • -
    -Check back soon! Clip corner methods may be released in Texture 2.0 release. -
    - ## Is it ever okay to use CALayer's .cornerRadius property? There are a few, quite rare cases in which it is appropriate to use `.cornerRadius.` These include when there is dynamic content moving _both_ through the inside and underneath the corner. For certain animations, this is impossible to avoid. However, in many cases, it is easy to adjust your design to eliminate one of the sources of movement. One such case was discussed in the section on corner movement. From a9aacd02cee81d6edf8f9aedbd7c6ea24d6aa956 Mon Sep 17 00:00:00 2001 From: Archimboldi Mao Date: Tue, 13 Jun 2017 14:35:12 +0800 Subject: [PATCH 2/4] Remove duplicate words. --- docs/_docs/corner-rounding.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_docs/corner-rounding.md b/docs/_docs/corner-rounding.md index 976748717..d0fff0237 100755 --- a/docs/_docs/corner-rounding.md +++ b/docs/_docs/corner-rounding.md @@ -33,7 +33,7 @@ There are only three things to consider when picking a corner rounding strategy: Movement **underneath the corner** is any movement behind the corner. For example, as a rounded-corner collection cell scrolls over a background, the background will move underneath and out from under the corners. -To describe movement **through the corner,** imagine a small rounded-corner scroll view containing a much larger photo. As you zoom and pan the photo inside of the scroll view, the photo will move through the corners of the of the scroll view. +To describe movement **through the corner,** imagine a small rounded-corner scroll view containing a much larger photo. As you zoom and pan the photo inside of the scroll view, the photo will move through the corners of the scroll view. From fda6d04869cc091e0e09f93471287edc54dc8213 Mon Sep 17 00:00:00 2001 From: Archimboldi Mao Date: Tue, 13 Jun 2017 14:41:36 +0800 Subject: [PATCH 3/4] Texture 2.0 has been released. The document should be removed the expected. --- docs/_docs/corner-rounding.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/_docs/corner-rounding.md b/docs/_docs/corner-rounding.md index 27601c8c3..976748717 100755 --- a/docs/_docs/corner-rounding.md +++ b/docs/_docs/corner-rounding.md @@ -64,7 +64,7 @@ A key limitation of precomposited corners is that the corners must only touch on Note that Texture nodes have a special optimization of `.cornerRadius` that automatically implements precomposited corners **only when using** `.shouldRasterizeDescendants`. It's important to think carefully before you enable rasterization, so don't use this option without first reading all about the concept.
    -If you're looking for a simple, flat-color rounded rectangle or circle, Texture offers a variety of conveniences to provide this. See `UIImage+ASConveniences.h` for methods to create flat-colored, rounded-corner resizable images using precomposited corners (both alpha and opaque are supported). These are great for use as placeholders for image nodes or backgrounds for ASButtonNode. More precomposited corner methods will be released with Texture 2.0 release. +If you're looking for a simple, flat-color rounded rectangle or circle, Texture offers a variety of conveniences to provide this. See `UIImage+ASConveniences.h` for methods to create flat-colored, rounded-corner resizable images using precomposited corners (both alpha and opaque are supported). These are great for use as placeholders for image nodes or backgrounds for ASButtonNode.
    ### Clip Corner @@ -80,10 +80,6 @@ Clip corners applies to two main types of corner rounding situations:
  • Rounded corners on top of a stationary texture or photo background. The photo clip corner method is tricky, but useful!
  • -
    -Check back soon! Clip corner methods may be released in Texture 2.0 release. -
    - ## Is it ever okay to use CALayer's .cornerRadius property? There are a few, quite rare cases in which it is appropriate to use `.cornerRadius.` These include when there is dynamic content moving _both_ through the inside and underneath the corner. For certain animations, this is impossible to avoid. However, in many cases, it is easy to adjust your design to eliminate one of the sources of movement. One such case was discussed in the section on corner movement. From d96e94a184bbe43a8afc31d0cc9a06fd10aff650 Mon Sep 17 00:00:00 2001 From: Archimboldi Mao Date: Tue, 13 Jun 2017 14:42:48 +0800 Subject: [PATCH 4/4] Remove duplicate words. --- docs/_docs/corner-rounding.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_docs/corner-rounding.md b/docs/_docs/corner-rounding.md index 976748717..d0fff0237 100755 --- a/docs/_docs/corner-rounding.md +++ b/docs/_docs/corner-rounding.md @@ -33,7 +33,7 @@ There are only three things to consider when picking a corner rounding strategy: Movement **underneath the corner** is any movement behind the corner. For example, as a rounded-corner collection cell scrolls over a background, the background will move underneath and out from under the corners. -To describe movement **through the corner,** imagine a small rounded-corner scroll view containing a much larger photo. As you zoom and pan the photo inside of the scroll view, the photo will move through the corners of the of the scroll view. +To describe movement **through the corner,** imagine a small rounded-corner scroll view containing a much larger photo. As you zoom and pan the photo inside of the scroll view, the photo will move through the corners of the scroll view.