cross platform documents directory

Open
#2,420 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp

Research direction

Start with the existing ofxiPhoneGetDocumentsDirectory entry point and trace its platform-specific implementations. Compare the requested Application Support and My Documents locations across iOS, macOS, and Windows, then verify that the resulting cross-platform API returns the expected directories on each target.

Written by the indexing model from the issue text.

Description

feature

Currently OF supports ofxiPhoneGetDocumentsDirectory which returns the correct documents directory on iOS. However, there is no way to get to Application Support or My Documents without doing platform specific code. This is necessary for deploying either on steam or mac app store.

The code for getting to application support on osx is the same as the iOS code. On windows, it appears that this code works: http://stackoverflow.com/questions/2414828/get-path-to-my-documents (although I haven't tried it).

Dominant language
C++
Stars
10.4k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
9

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openframeworks/openFrameworks

All issues in openframeworks/openFrameworks

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.