Kaynağa Gözat

Update XcodeTricks.md

Fix warning level constant name
ghashi 9 yıl önce
ebeveyn
işleme
29548164cf
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      Documentation/XcodeTricks.md

+ 2 - 2
Documentation/XcodeTricks.md

@@ -8,7 +8,7 @@ Starting with Xcode 4, the `DEBUG` preprocessor macro is automatically set when
 #ifdef DEBUG
   static const DDLogLevel ddLogLevel = DDLogLevelVerbose;
 #else
-  static const DDLogLevel ddLogLevel = DDLogLevelWarn;
+  static const DDLogLevel ddLogLevel = DDLogLevelWarning;
 #endif
 ```
 
@@ -24,7 +24,7 @@ When we're done we'll be able to have code like this:
 #ifdef CONFIGURATION_DEBUG
   static const DDLogLevel ddLogLevel = DDLogLevelVerbose;
 #else
-  static const DDLogLevel ddLogLevel = DDLogLevelWarn;
+  static const DDLogLevel ddLogLevel = DDLogLevelWarning;
 #endif
 ```