<?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: iOS Obj-C Getting result.entires to be UItableview Datasource in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/iOS-Obj-C-Getting-result-entires-to-be-UItableview-Datasource/m-p/216052#M11155</link>
    <description>&lt;P&gt;Hi Michael, it looks like the Dropbox part of this is working correctly. The result.entries value is an NSArray of &lt;A href="https://dropbox.github.io/dropbox-sdk-obj-c/api-docs/latest/Classes/DBFILESMetadata.html" target="_self"&gt;DBFILESMetadata&lt;/A&gt;, which you can use however you like in your app.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, you can iterate over that to get the name or pathDisplay of each item, and use those values to construct the UITableViewCells. The use of UITableView and UITableViewCell themselves are outside the scope of Dropbox API support though, so you may be better suited by checking the UITableView documentation or on an Apple forum for information on how to use those.&lt;/P&gt;</description>
    <pubDate>Thu, 13 Apr 2017 20:25:51 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2017-04-13T20:25:51Z</dc:date>
    <item>
      <title>iOS Obj-C Getting result.entires to be UItableview Datasource</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/iOS-Obj-C-Getting-result-entires-to-be-UItableview-Datasource/m-p/216032#M11152</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i'm new to v2 and I'm updating an app using objective-c.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I call a listFolder, I get results.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[[client.filesRoutes listFolder:searchPath]
setResponseBlock:^(DBFILESListFolderResult *result, DBFILESListFolderError *routeError, DBRequestError *error) {
&amp;nbsp;&amp;nbsp; &amp;nbsp; if (result) {
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NSLog(@"result.entries %@.",result.entries);&lt;/PRE&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;result.entries = "{\n&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;id = \"id:TT-P7bAf8VEAAAAAAAC6Xw\";\n&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;name = 7777;\n&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;\"path_display\" = \"/Sites/7777\";\n&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;\"path_lower\" = \"/sites/7777\";\n}",&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;However I need to get this data over to a UItableview controller. Where the results.entries would be placed in:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;NSDictionary *item = [results.entries objectAtIndex:indexPath.row];&lt;/PRE&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;I'm looking for way to get results.entries to a usable format.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;Thanks,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;Michael&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:23:44 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/iOS-Obj-C-Getting-result-entires-to-be-UItableview-Datasource/m-p/216032#M11152</guid>
      <dc:creator>mrobinson</dc:creator>
      <dc:date>2019-05-29T09:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: iOS Obj-C Getting result.entires to be UItableview Datasource</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/iOS-Obj-C-Getting-result-entires-to-be-UItableview-Datasource/m-p/216052#M11155</link>
      <description>&lt;P&gt;Hi Michael, it looks like the Dropbox part of this is working correctly. The result.entries value is an NSArray of &lt;A href="https://dropbox.github.io/dropbox-sdk-obj-c/api-docs/latest/Classes/DBFILESMetadata.html" target="_self"&gt;DBFILESMetadata&lt;/A&gt;, which you can use however you like in your app.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, you can iterate over that to get the name or pathDisplay of each item, and use those values to construct the UITableViewCells. The use of UITableView and UITableViewCell themselves are outside the scope of Dropbox API support though, so you may be better suited by checking the UITableView documentation or on an Apple forum for information on how to use those.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 20:25:51 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/iOS-Obj-C-Getting-result-entires-to-be-UItableview-Datasource/m-p/216052#M11155</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-04-13T20:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: iOS Obj-C Getting result.entires to be UItableview Datasource</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/iOS-Obj-C-Getting-result-entires-to-be-UItableview-Datasource/m-p/216251#M11192</link>
      <description>&lt;P&gt;Thanks for the response, I was able to build&amp;nbsp;without a problem, I was looking to find out if you had a plug and play ready to go.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2017 22:37:34 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/iOS-Obj-C-Getting-result-entires-to-be-UItableview-Datasource/m-p/216251#M11192</guid>
      <dc:creator>mrobinson</dc:creator>
      <dc:date>2017-04-14T22:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: iOS Obj-C Getting result.entires to be UItableview Datasource</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/iOS-Obj-C-Getting-result-entires-to-be-UItableview-Datasource/m-p/216252#M11193</link>
      <description>No, unfortunately we don't have anything pre-built like that.</description>
      <pubDate>Fri, 14 Apr 2017 22:53:43 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/iOS-Obj-C-Getting-result-entires-to-be-UItableview-Datasource/m-p/216252#M11193</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-04-14T22:53:43Z</dc:date>
    </item>
  </channel>
</rss>

