We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
ShinehahGnolaum
8 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?
- I 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.
1 Reply
- Greg-DB8 years ago
Dropbox Community Moderator
I 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.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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!