<p>I am developing iPhone application and In that application I've one <code>TableViewController</code>,
and that <code>TableViewController</code> made up of Custom table cell.<br>
into those cell I am loading image from URL, but the <code>scrolling</code> is not that smooth, (because each cell load images every time when scrolling happen).</p>

<p>So I decided to store those images into application document folder, but I don't know how to use document folder in iPhone when application is in running state.</p>

<p>Any suggestion?</p>

<p>And on other forums I found that SQLITE has blob datatype to store binary data,</p>

<p>Which method is efficient, document folder or sqlite to store image?</p>

You could use
```
NSFileManager
```
's
```
createFileAtPath
```
to save any
```
NSData
```
into a file.
To get the Documents directory, use this:
```
```
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentsDirectory = [paths objectAtIndex:0];
```
```