Groups | Search | Server Info | Keyboard shortcuts | Login | Register
Groups > comp.lang.objective-c > #13
| From | Tom Harrington <tph@pcisys.no.spam.dammit.net> |
|---|---|
| Newsgroups | comp.lang.objective-c |
| Subject | Re: <newbie> IPAD saving a file |
| Organization | Atomic Bird |
| References | <c8e849e2-2c8f-4e80-ba39-12aa21ecebe9@q36g2000yqn.googlegroups.com> |
| Date | 2011-04-12 14:41 -0600 |
| Message-ID | <tph-5B7CD8.14413112042011@localhost> (permalink) |
In article <c8e849e2-2c8f-4e80-ba39-12aa21ecebe9@q36g2000yqn.googlegroups.com>, Suresh Kumar Narayanasamy <n.sureshkumar@gmail.com> wrote: > Hi, > I am creating a sample application where it downloads 100 images from > server and stores it in IPAD. > In XCOde, i am using the NSURL to retrieve the image file and using > NSdata to save it into my local folder. Your shift key appears to be broken, you might want to look into that. > I am able to save the images in my mac air desktop folder. But i want > my application to be deployed in IPAD. > So here is my question. > * Where do i store the file in my IPAD, so that my application can > retrieve the iamges when needed. Every iOS application has its own documents folder, which it can use to save whatever data it needs to save. > * If possible can someone give me the code for saving the images in > your IPAD resource directory (or whatever directory needed). Just the > code where you build the path will do good. Apple provides this many times, look for sample code that calls the NSSearchPathForDirectoriesInDomains() function. -- Tom "Tom" Harrington Independent Mac OS X developer since 2002 http://www.atomicbird.com/
Back to comp.lang.objective-c | Previous | Next — Previous in thread | Find similar
<newbie> IPAD saving a file Suresh Kumar Narayanasamy <n.sureshkumar@gmail.com> - 2011-04-08 07:15 -0700 Re: <newbie> IPAD saving a file Tom Harrington <tph@pcisys.no.spam.dammit.net> - 2011-04-12 14:41 -0600
csiph-web