title: How i can modernize deprecated FSPathMakeRef, FSIsAliasFile, FSResolveAliasFileWithMountFlags, FSRefMakePath
body: <p>I need help to silent Deprecated: <code>FSPathMakeRef</code>, <code>FSIsAliasFile</code>,
  <code>FSResolveAliasFileWithMountFlags</code>, <code>FSRefMakePath</code>.<br>
  Any help will be greatly appreciated. </p>
  
  <p>// 1)  deprecated FSPathMakeRef **//</p>
  
  <pre><code>    error = FSPathMakeRef((UInt8*)[filename fileSystemRepresentation], &amp;ref, &amp;isFolder);
      if (error) return NO;
  </code></pre>
  
  <p>// 2) here deprecated FSIsAliasFile <em>*</em>//</p>
  
  <pre><code>    error = FSIsAliasFile(&amp;ref, &amp;isAlias, &amp;isFolder);
      if (error) return NO;
  
      if (isAlias)
      {
          if (isFolder) return YES;
  </code></pre>
  
  <p>// 3) here deprecated FSResolveAliasFileWithMountFlags <em>*</em>//</p>
  
  <pre><code>        error = FSResolveAliasFileWithMountFlags(&amp;ref, true, &amp;isFolder, &amp;isAlias,
                                                   kARMMountVol | kARMNoUI | kARMMultVols | kARMSearch);
          if (error) return NO;
          if (isFolder) return YES;
  </code></pre>
  
  <p>// 4) here deprecated CFURLCreateFromFSRef <em>*</em>//</p>
  
  <pre><code>        fileURL = CFURLCreateFromFSRef(kCFAllocatorDefault, &amp;ref);
          filepath = (NSString*)CFBridgingRelease(CFURLCopyFileSystemPath(fileURL, kCFURLPOSIXPathStyle));
          CFRelease(fileURL);
  </code></pre>