Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.objective-c > #13
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.pcisys.net!news.pcisys.net.POSTED!not-for-mail |
|---|---|
| NNTP-Posting-Date | Tue, 12 Apr 2011 15:41:31 -0500 |
| 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> |
| User-Agent | MT-NewsWatcher/3.5.1 (Intel Mac OS X) |
| Date | Tue, 12 Apr 2011 14:41:31 -0600 |
| Message-ID | <tph-5B7CD8.14413112042011@localhost> (permalink) |
| Lines | 32 |
| X-Usenet-Provider | http://www.giganews.com |
| X-Trace | sv3-P8Ipuj7+TtuZ19NoVH04f5laqiave2lXFSmY6DTiE47MkHopbLGBNCOKPcBPNq9EovyFDJQ2qqlaUSX!QDV/qeTeUgMvex4GvWaaXKVvaxN8xmjdtM0T7V37YD+u/FtkwzssnBpFD50c2RDDNVeY2Y5IIvoD!VxCZEQ== |
| X-Abuse-and-DMCA-Info | Please be sure to forward a copy of ALL headers |
| X-Abuse-and-DMCA-Info | Otherwise we will be unable to process your complaint properly |
| X-Postfilter | 1.3.40 |
| X-Original-Bytes | 2161 |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.objective-c:13 |
Show key headers only | View raw
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