From 5186a4317e2f4f011bdb15543e22c2d17adefef4 Mon Sep 17 00:00:00 2001 From: Adlai Holler Date: Wed, 27 Sep 2017 20:12:18 -0700 Subject: [PATCH] Use Nil for class instead of nil (#589) --- Source/Private/ASInternalHelpers.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Private/ASInternalHelpers.m b/Source/Private/ASInternalHelpers.m index 088ddccea7..7727967c4f 100644 --- a/Source/Private/ASInternalHelpers.m +++ b/Source/Private/ASInternalHelpers.m @@ -113,14 +113,14 @@ Class _Nullable ASGetClassFromType(const char * _Nullable type) { // Class types all start with @" if (type == NULL || strncmp(type, "@\"", 2) != 0) { - return nil; + return Nil; } // Ensure length >= 3 size_t typeLength = strlen(type); if (typeLength < 3) { ASDisplayNodeCFailAssert(@"Got invalid type-encoding: %s", type); - return nil; + return Nil; } // Copy type[2..(end-1)]. So @"UIImage" -> UIImage