Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caching an Array? #3

Open
VictorAlexander opened this issue Oct 29, 2010 · 1 comment
Open

Caching an Array? #3

VictorAlexander opened this issue Oct 29, 2010 · 1 comment

Comments

@VictorAlexander
Copy link

Wondering how I could cache an array of a feed's items that I'm pulling in.

This is what I have:

// Cached Information
NSArray *cachedArray = [NSArray arrayWithContentsOfFile:[[EGOCache currentCache] dataForKey:@"newsCacheKey"]];

//If nothing loaded (there was nothing saved)
if (cachedArray == nil) {

    // Begin parsing
    self.view = featuredTableView;
    featuredTableView.hidden = NO;
    [feedParser parse];

}

//Or if something actually did load
else {
    self.itemsToDisplay = cachedArray;
}
@manoelfranklin
Copy link

Hi! How to make EgoCache, EgoImageLoader and EgoImageView load images and scroll smooth in a uitableview? I already have everything set and working but the uitableview is not scrolling smoothly... How can I solve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants