Use nonnull annotation, instead of sanity check, for node property in ASViewController.

This commit is contained in:
Huy Nguyen
2015-09-16 23:36:19 +03:00
parent 72d108cd98
commit fcd76dbd19
3 changed files with 5 additions and 6 deletions

View File

@@ -18,7 +18,6 @@
return nil;
}
ASDisplayNodeAssertNotNil(node, @"Node must not be nil");
ASDisplayNodeAssertTrue(!node.layerBacked);
_node = node;