<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SwiftyDropbox.LoadingViewController error : not key value coding-compliant for the key cancelBut in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/SwiftyDropbox-LoadingViewController-error-not-key-value-coding/m-p/561510#M26463</link>
    <description>&lt;P&gt;The &lt;A href="https://github.com/dropbox/SwiftyDropbox/search?q=cancelButton" target="_self"&gt;SwiftyDropbox SDK doesn't contain a reference to something called "cancelButton"&lt;/A&gt;. Is that something from your project? Did you make any modifications to the SDK?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In any case, I can't reproduce the issue you're seeing with the code you supplied. Also, "canHandleUrl" isn't defined; I had to add a "let". Is there additional relevant code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're still running in to this, please share the full steps and code necessary to reproduce this issue, as well as the version numbers of SwiftyDropbox, Xcode, and iOS where you're seeing this, so we can look into it. Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 30 Nov 2021 17:37:38 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2021-11-30T17:37:38Z</dc:date>
    <item>
      <title>SwiftyDropbox.LoadingViewController error : not key value coding-compliant for the key cancelButton</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/SwiftyDropbox-LoadingViewController-error-not-key-value-coding/m-p/561279#M26454</link>
      <description>&lt;P class=""&gt;&lt;STRONG&gt;&amp;nbsp; After authorizing DropBox from iOS code in Swift I get this error :&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&lt;STRONG&gt;*** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[&amp;lt;SwiftyDropbox.LoadingViewController 0x10a91c250&amp;gt; setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key cancelButton.'&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&lt;STRONG&gt;AppDelegate&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;let&lt;/STRONG&gt;&lt;/SPAN&gt; oauthCompletion: &lt;SPAN class=""&gt;DropboxOAuthCompletion&lt;/SPAN&gt; = {&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;if&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;STRONG&gt;let&lt;/STRONG&gt;&lt;/SPAN&gt; authResult = $0 {&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;switch&lt;/STRONG&gt;&lt;/SPAN&gt; authResult {&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;case&lt;/STRONG&gt;&lt;/SPAN&gt; .&lt;SPAN class=""&gt;success&lt;/SPAN&gt;:&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;print&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;"Success! User is logged into DropboxClientsManager."&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;case&lt;/STRONG&gt;&lt;/SPAN&gt; .&lt;SPAN class=""&gt;cancel&lt;/SPAN&gt;:&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;print&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;"Authorization flow was manually canceled by user!"&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;case&lt;/STRONG&gt;&lt;/SPAN&gt; .&lt;SPAN class=""&gt;error&lt;/SPAN&gt;(_, &lt;SPAN class=""&gt;&lt;STRONG&gt;let&lt;/STRONG&gt;&lt;/SPAN&gt; description):&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class=""&gt;print&lt;/SPAN&gt;(&lt;SPAN class=""&gt;"Error: &lt;/SPAN&gt;\(&lt;SPAN class=""&gt;String&lt;/SPAN&gt;(&lt;SPAN class=""&gt;describing&lt;/SPAN&gt;: description))&lt;SPAN class=""&gt;"&lt;/SPAN&gt;)&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;}&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;}&lt;/P&gt;
&lt;P class=""&gt;}&lt;/P&gt;
&lt;P class=""&gt;canHandleUrl = &lt;SPAN class=""&gt;DropboxClientsManager&lt;/SPAN&gt;.&lt;SPAN class=""&gt;handleRedirectURL&lt;/SPAN&gt;(url, &lt;SPAN class=""&gt;completion&lt;/SPAN&gt;: oauthCompletion)&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;return&lt;/STRONG&gt;&lt;/SPAN&gt; canHandleUrl&lt;/P&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;DropBox auth button:&lt;/P&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;DropboxClientsManager&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;authorizeFromControllerV2&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;UIApplication&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;shared&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;controller&lt;/SPAN&gt;: &lt;SPAN class=""&gt;&lt;STRONG&gt;self&lt;/STRONG&gt;&lt;/SPAN&gt;,&lt;/P&gt;
&lt;P class=""&gt;loadingStatusDelegate&lt;SPAN class=""&gt;: &lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;nil&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;openURL&lt;/SPAN&gt;: { (url: &lt;SPAN class=""&gt;URL&lt;/SPAN&gt;) -&amp;gt; &lt;SPAN class=""&gt;Void&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;STRONG&gt;in&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;UIApplication&lt;/SPAN&gt;.&lt;SPAN class=""&gt;shared&lt;/SPAN&gt;.&lt;SPAN class=""&gt;open&lt;/SPAN&gt;( url, &lt;SPAN class=""&gt;options&lt;/SPAN&gt;: [:], &lt;SPAN class=""&gt;completionHandler&lt;/SPAN&gt;: &lt;SPAN class=""&gt;&lt;STRONG&gt;nil&lt;/STRONG&gt;&lt;/SPAN&gt;)},&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;scopeRequest&lt;/SPAN&gt;: &lt;SPAN class=""&gt;&lt;STRONG&gt;nil&lt;/STRONG&gt;&lt;/SPAN&gt;)&lt;/P&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 19:52:05 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/SwiftyDropbox-LoadingViewController-error-not-key-value-coding/m-p/561279#M26454</guid>
      <dc:creator>brizzly</dc:creator>
      <dc:date>2021-12-14T19:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: SwiftyDropbox.LoadingViewController error : not key value coding-compliant for the key cancelBut</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/SwiftyDropbox-LoadingViewController-error-not-key-value-coding/m-p/561510#M26463</link>
      <description>&lt;P&gt;The &lt;A href="https://github.com/dropbox/SwiftyDropbox/search?q=cancelButton" target="_self"&gt;SwiftyDropbox SDK doesn't contain a reference to something called "cancelButton"&lt;/A&gt;. Is that something from your project? Did you make any modifications to the SDK?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In any case, I can't reproduce the issue you're seeing with the code you supplied. Also, "canHandleUrl" isn't defined; I had to add a "let". Is there additional relevant code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're still running in to this, please share the full steps and code necessary to reproduce this issue, as well as the version numbers of SwiftyDropbox, Xcode, and iOS where you're seeing this, so we can look into it. Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 17:37:38 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/SwiftyDropbox-LoadingViewController-error-not-key-value-coding/m-p/561510#M26463</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-11-30T17:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: SwiftyDropbox.LoadingViewController error : not key value coding-compliant for the key cancelBut</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/SwiftyDropbox-LoadingViewController-error-not-key-value-coding/m-p/561529#M26465</link>
      <description>&lt;P&gt;I found it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used a xib file named LoadViewController.xib , and DB's SDK is using the same class name. I did renamed my xib and now its alright:)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much&lt;/P&gt;&lt;P&gt;Julien&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 18:54:45 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/SwiftyDropbox-LoadingViewController-error-not-key-value-coding/m-p/561529#M26465</guid>
      <dc:creator>brizzly</dc:creator>
      <dc:date>2021-11-30T18:54:45Z</dc:date>
    </item>
  </channel>
</rss>

