title: Objective C, declard nsstring by "if statement"
body: <p>New in OBJ-c,
  Im tring to set a varible with some if statement and it's not work.</p>
  
  <pre><code>if (_imageView,image==NULL) { 
       NSString *isFileSet = @"NOFILE";
  }
  else 
  {
       NSString *isFileSet = @"FILESET";
  }
  NSLog(@"%@",isFileSet);
  </code></pre>
  
  <p>and I cant run the project, I get an err: "Use of undeclared identifier "isFileSet".
  what is worng here ?</p>