Questions tagged [nshomedirectory]
6 questions
8
votes
0 answers
Accessing Documents Folder on Apple watch through GUI
According to the App Programming Guide for watchOS it is possible to store data in a Documents folder in the watch app. My code also seems to be doing this sucessfull, as there are no errors.
However, to really debug this, i wonder if there is…

Mirko Fetter
- 186
- 1
- 13
6
votes
3 answers
Application folder name changes every time i run in simulator
Whenever I restart my application it's folder name in finder is changed from
09323D3F-D371-4556-ABA3-BD23AF487F12
to
E771BBEC-ACC6-489C-B7C1-B5FF11004CB2/
NSHomeDirectory() is changing everytime I run the app in simulator.

abh
- 1,189
- 2
- 14
- 30
2
votes
1 answer
Can not clean up the memory after deleting all the files from specified directory
Introduction
in my project, i've to delete folder and it's content(s) so i tried with this accepted answer ClickHere
it works and i thought that the task is over but after deleting a whole folder(Directory)i see that the memory is still allocated…

Vatsal Shukla
- 1,274
- 12
- 25
1
vote
1 answer
Volume opportunistic available capacity differs so much and too low
I'm trying to figure out how much free space is left on my iPhone device but even though it has enough storage(more than 40gb), it returns Volume opportunistic available capacity to zero(0) or sometimes less than 20mb. I don't know how it calculates…

hyo
- 9
- 2
0
votes
2 answers
How to search files with specific extension in home directory of mac?
I want to search for files with doc extension in mac directory same as we are finding from finder using search command.
I'm using below code for doing this search. But it only searching from downloads directory. It is not searching from…

swapnil patel
- 384
- 2
- 17
-1
votes
1 answer
Get NSHomeDirectory() in pure C
I am trying to get the NSHomeDirectory() in pure C
#include
#include
void testFunc() {
printf(NSHomeDirectory());
}

Mohab
- 15
- 6