This repository was archived by the owner on Feb 2, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,15 +20,15 @@ NS_ASSUME_NONNULL_BEGIN
2020/* *
2121 * Background layoutElement for this layout spec
2222 */
23- @property (nullable , nonatomic , strong ) id <ASLayoutElement> background;
23+ @property (nonatomic , strong ) id <ASLayoutElement> background;
2424
2525/* *
2626 * Creates and returns an ASBackgroundLayoutSpec object
2727 *
2828 * @param child A child that is laid out to determine the size of this spec.
29- * @param background A layoutElement object that is laid out behind the child. If this is nil, the background is omitted.
29+ * @param background A layoutElement object that is laid out behind the child.
3030 */
31- + (instancetype )backgroundLayoutSpecWithChild : (id <ASLayoutElement>)child background : (nullable id <ASLayoutElement>)background AS_WARN_UNUSED_RESULT;
31+ + (instancetype )backgroundLayoutSpecWithChild : (id <ASLayoutElement>)child background : (id <ASLayoutElement>)background AS_WARN_UNUSED_RESULT;
3232
3333@end
3434
Original file line number Diff line number Diff line change @@ -20,15 +20,15 @@ NS_ASSUME_NONNULL_BEGIN
2020/* *
2121 * Overlay layoutElement of this layout spec
2222 */
23- @property (nullable , nonatomic , strong ) id <ASLayoutElement> overlay;
23+ @property (nonatomic , strong ) id <ASLayoutElement> overlay;
2424
2525/* *
2626 * Creates and returns an ASOverlayLayoutSpec object with a given child and an layoutElement that act as overlay.
2727 *
2828 * @param child A child that is laid out to determine the size of this spec.
29- * @param overlay A layoutElement object that is laid out over the child. If this is nil, the overlay is omitted.
29+ * @param overlay A layoutElement object that is laid out over the child.
3030 */
31- + (instancetype )overlayLayoutSpecWithChild : (id <ASLayoutElement>)child overlay : (nullable id <ASLayoutElement>)overlay AS_WARN_UNUSED_RESULT;
31+ + (instancetype )overlayLayoutSpecWithChild : (id <ASLayoutElement>)child overlay : (id <ASLayoutElement>)overlay AS_WARN_UNUSED_RESULT;
3232
3333@end
3434
You can’t perform that action at this time.
0 commit comments