title: cannot assign to variable with const-qualified type
body: <p>Im trying to change the value of SWSegueFrontIdentifier dynamically as follows because the the front views are dynamic. Following is my code</p>
  
  <pre><code>if ([prefs boolForKey:@"isDashboardAvailable"])
  {
      SWSegueFrontIdentifier = @"sw_front";          
  } else {
      SWSegueFrontIdentifier = @"sw_second_front";
  }
  </code></pre>
  
  <p>but im getting the following error</p>
  
  <blockquote>
    <p>Cannot assign to variable 'SWSegueFrontIdentifier' with
    const-qualified type 'NSString *const __strong'</p>
  </blockquote>
  
  <p>why am I getting this error? How can I be able to change the SWSegueFrontIdentifier value?</p>