[AsyncDisplayKit] Fix a few comment typos and minor compiler strictness warnings. (#2932)

This commit is contained in:
appleguy
2017-01-25 12:53:13 -08:00
committed by GitHub
parent 38f1efd448
commit b8872c24db
9 changed files with 17 additions and 17 deletions

View File

@@ -185,7 +185,7 @@ __weak static ASLayoutElementInspectorCell *__currentlyOpenedCell = nil;
switch (_propertyType) {
case ASLayoutElementPropertyAlignSelf:
_layoutElementToEdit.style.alignSelf = index;
_layoutElementToEdit.style.alignSelf = (ASStackLayoutAlignSelf)index;
_textNode.attributedText = [ASLayoutElementInspectorCell attributedStringFromString:[ASLayoutElementInspectorCell alignSelfEnumValueString:index]];
break;