Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3596358
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T19:58:39+00:00 2026-05-18T19:58:39+00:00

is there some new framework additions for doing something like this in iOS 4

  • 0

is there some new framework additions for doing something like this in iOS 4 now? I kow I could use http://allseeing-i.com/ but that would require a big change of my code and would rather use what is available to me.

EDIT SOLUTION:
Here is the solution I ended up with and it is working like a charm for 3000+ images:

int j = 0;
        do{
            NSLog(@"x = %i, items count: %i", j, [items count]);

            if ((int)[[self networkQueue] requestsCount] < 100) {

                NSString *url =[NSString stringWithFormat:@"http://images.myurl.com/skus/%@/%@_tn.jpg",[[[manufacturers objectAtIndex:i] ManufacturerID] stringValue], [[items objectAtIndex:j]  valueForKey:@"PhotoName"]];
                NSString *url2 =[NSString stringWithFormat:@"http://images.myurl.com/skus/%@/%@_lg.jpg",[[[manufacturers objectAtIndex:i] ManufacturerID] stringValue], [[items objectAtIndex:j]  valueForKey:@"PhotoName"]];

                ASIHTTPRequest *request = [ASIHTTPRequest requestWithURL:[NSURL URLWithString:url]];
                [[self networkQueue] addOperation:request];

                ASIHTTPRequest *request2 = [ASIHTTPRequest requestWithURL:[NSURL URLWithString:url2]];
                [[self networkQueue] addOperation:request2];

                if (j==0) {
                    [[self networkQueue] go];
                }
                j++;
            }
        }
        while(j < [items count]);

Just queueing up 100 at a time and as they fall off I add more, looks like my memory consumption starts to creep up a bit as it goes so I am working on that, it goes down after the queue is complete though.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T19:58:40+00:00Added an answer on May 18, 2026 at 7:58 pm

    It may take some reworking of your network interface code, but switching to ASI will SO pay off in the long run.

    (That’s ASIHttpRequest, at http://allseeing-i.com/Tags/ASIHTTPRequest )

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

is there some new framework additions for doing something like this in iOS 4
Is there some way I can use URLs like: http://www.blog.com/team-spirit/ instead of http://www.blog.com/?p=122 in
I'm new to Python and would like to know of some good framework /
Is there some rare language construct I haven't encountered (like the few I've learned
With the new additions to the OS and the hardware, iPhone apps can now
Have a project compiled to use (TargetFrameworkVersion) framework version 3.0 however it looks like
Imagine such situation. You get some legacy code or get some new framework. You
Is there some means of querying the system tables to establish which tables are
Is there some built-in way to share files between Xen guests? I don't currently
Is there some way to block access from a referrer using a .htaccess file

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.