title: Expression is not an integer constant expression in iOS
body: <p>I am doing this in my code and it is giving me this error: Expression is not an integer constant expression</p>
  
  <p>Code:</p>
  
  <pre><code>//Tag for Database
  #define kInsertIntoDatabase            @"Insert"
  #define kDeleteFromDatabase            @"Delete"
  #define kUpdateIntoDatabase            @"Update"
  #define kQueryDatabase                 @"Query"
  
  
  -(void)documentIsReady:(NSString *)sqlmethod{
      if(document.documentState == UIDocumentStateNormal)
      {
          context = document.managedObjectContext;
      }
  
      switch (sqlmethod) {
          case kInsertIntoDatabase:
              [self insertCoreDataModel];
              break;
          case kDeleteFromDatabase:
              [self deleteCoreDataModel];
              break;
          case kUpdateIntoDatabase:
              [self updateCoreDataModel];
              break;
          case kDeleteFromDatabase:
              [self deleteCoreDataModel];
              break;
          default:
              break;
      }
  
  }
  </code></pre>
  
  <p>What is wrong? Not sure what is wrong. Need some guidance...</p>