Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
ShinehahGnolaum
7 years agoHelpful | Level 7
Why does PhotoWatch use Apple App Groups instead of just Dropbox?
Why does the PhotoWatch SwiftyDropbox sample take the design feature to use Apple App Groups instead of just a Dropbox folder? Is there a particular advantage in this design approach?
- 7 years agoI believe the app group was used as a convenient way to cache thumbnails for use across the iOS/watchOS versions of the app, after being retrieved from Dropbox, e.g., here:
https://github.com/dropbox/PhotoWatch/blob/48df3b99b47f4a883703f7a4cd9512eb2a5c0cb2/PhotoWatch/PhotoViewController.swift#L25
It's just an example app for demonstrating some Dropbox API calls though, so I wouldn't recommend taking too much general iOS app design guidance from it. Apple's resources are a better place for general iOS design information.
Greg-DB
Dropbox Community Moderator
7 years agoI believe the app group was used as a convenient way to cache thumbnails for use across the iOS/watchOS versions of the app, after being retrieved from Dropbox, e.g., here:
https://github.com/dropbox/PhotoWatch/blob/48df3b99b47f4a883703f7a4cd9512eb2a5c0cb2/PhotoWatch/PhotoViewController.swift#L25
It's just an example app for demonstrating some Dropbox API calls though, so I wouldn't recommend taking too much general iOS app design guidance from it. Apple's resources are a better place for general iOS design information.
https://github.com/dropbox/PhotoWatch/blob/48df3b99b47f4a883703f7a4cd9512eb2a5c0cb2/PhotoWatch/PhotoViewController.swift#L25
It's just an example app for demonstrating some Dropbox API calls though, so I wouldn't recommend taking too much general iOS app design guidance from it. Apple's resources are a better place for general iOS design information.
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!