Cannot get the content of a file (in iPhoto Library)
Cannot get the content of a file (in iPhoto Library)
- Subject: Cannot get the content of a file (in iPhoto Library)
- From: Jean Bovet <email@hidden>
- Date: Thu, 18 Sep 2003 15:23:21 +0200
Hello,
I'm trying to read the content of every iPhoto library image with the
[NSFileHandle fileHandleForReadingAtPath:]. Everything works well
except for some file which I cannot get the content (the method returns
a NULL value). I have checked the file permission and I have added some
line of code before reading the file (with the following results):
- +[NSFileManager fileExistsAtPath:] returns YES.
- +[NSFileManager isReadableFileAtPath:] returns YES.
- +[NSFileManager contentsAtPath:] returns NO !!
The last call returns NO. I don't understand why ? Has anybody an idea
about this problem ?
Thanks in advance.
Jean Bovet
----------------------------------------------------
Jean Bovet
Sablons 35 Voice: (++41 32) 725 39 04
2000 Neuchatel
mailto:email@hidden
Switzerland
http://www.curvuspro.ch
Cofounder of Arizona
Software Developper
Curvus Pro - the reference for curves & graphs
http://www.curvuspro.ch
----------------------------------------------------
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.