cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Share your feedback on the Document Scanning Experience in the Dropbox App right here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Why does PhotoWatch use Apple App Groups instead of just Dropbox?

Why does PhotoWatch use Apple App Groups instead of just Dropbox?

ShinehahGnolaum
Helpful | Level 7
Go to solution

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?

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution
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/Photo...

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.

View solution in original post

1 Reply 1

Greg-DB
Dropbox Staff
Go to solution
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/Photo...

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.
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?