pulling data from a website and storing it into an array - iPhone SDK
I am trying to write an app that searches a website, and takes all of the results and puts them into a customized table. I am an Objective-C and iPhone SDK noob, and am hoping that this logic is what I am trying to accomplish:

1) Searching multiple search engines and pulling all of the data off of each website, storing each into a different array (for example: Searching Google, Yahoo, and Bing for "Shoes", and taking all of the different search results, hyperlinks and all, and storing them into three different arrays)

2) Pulling the data out of each array, and putting into a table (Table view in Interface Builder)

I've also written some pseudo-code that I am hoping that you all can look over to see potential design flaws, and logic errors. I figure if we can get logic and design errors out of the way, throwing some syntax together could be relatively easy?

    Class SearchWebsites:
    
    NSString *websiteURL = "http://www.searchengine.com/keywords=";
    
    UISearchBar SearchButtonClicked{
     NSString *websiteURL = websiteURL+searchBarText.text;
     Go to websiteURL;
     Extract all hyperlink data from websiteURL and store into NSArray *websiteData;
     Load SearchResults.xib;
    
    }
    
    End Class SearchWebsites
    
    
    
    Class SearchResults:
    
    Table data = NSArray *websiteData;
     
    End Class SearchResults

I am assuming that I need to declare global variables, so that they can be called from different classes......right? What's the syntax for doing this? How do I set this up in IB? Did I bite off more than I can chew for this first app?

Thanks for your help!

pulling data from a website and storing it into an array - iPhone SDK
===

I am trying to write an app that searches a website, and takes all of the results and puts them into a customized table. I am an Objective-C and iPhone SDK noob, and am hoping that this logic is what I am trying to accomplish:

1) Searching multiple search engines and pulling all of the data off of each website, storing each into a different array (for example: Searching Google, Yahoo, and Bing for "Shoes", and taking all of the different search results, hyperlinks and all, and storing them into three different arrays)

2) Pulling the data out of each array, and putting into a table (Table view in Interface Builder)

I've also written some pseudo-code that I am hoping that you all can look over to see potential design flaws, and logic errors. I figure if we can get logic and design errors out of the way, throwing some syntax together could be relatively easy?

    Class SearchWebsites:
    
    NSString *websiteURL = "http://www.searchengine.com/keywords=";
    
    UISearchBar SearchButtonClicked{
     NSString *websiteURL = websiteURL+searchBarText.text;
     Go to websiteURL;
     Extract all hyperlink data from websiteURL and store into NSArray *websiteData;
     Load SearchResults.xib;
    
    }
    
    End Class SearchWebsites
    
    
    
    Class SearchResults:
    
    Table data = NSArray *websiteData;
     
    End Class SearchResults

I am assuming that I need to declare global variables, so that they can be called from different classes......right? What's the syntax for doing this? How do I set this up in IB? Did I bite off more than I can chew for this first app?

Thanks for your help!
