title: Default value of NSFileProtectionKey
body: <p>What is the default value of the attribute <code>NSFileProtectionKey</code>?</p>
  
  <p>There are four possible values, but which one is the default one?</p>
  
  <pre><code>NSFileProtectionNone
  NSFileProtectionComplete
  NSFileProtectionCompleteUnlessOpen
  NSFileProtectionCompleteUntilFirstUserAuthentication
  </code></pre>
  
  <p>I did not find the answer in the <a href="https://developer.apple.com/documentation/foundation/nsfilemanager#//apple_ref/c/data/NSFileProtectionKey" rel="nofollow noreferrer">NSFileManager iOS reference doc</a>.</p>