Search Engine App

Discussion in 'iOS Programming' started by ljg93, Aug 27, 2011.

  1. ljg93 macrumors member

    Joined:
    Mar 13, 2011
    #1
    Hello,

    There is a website that I am working with. They have a search engine within their site, I am wondering what is the easiest way to go about making the app work like it does on the website. (where a user enters text on a search bar and results come up that are related to the search term)

    Thanks.
     
  2. ArtOfWarfare macrumors 604

    ArtOfWarfare

    Joined:
    Nov 26, 2007
    #2
    I know next to nothing on the topic, but my non helpful answer that I'll give while you wait for someone else who knows more to answer is this:

    Look into SQLite.

    I'm not totally sure what it is, but I think reading up on it might help you. Maybe not.
     
  3. PhoneyDeveloper macrumors 68030

    PhoneyDeveloper

    Joined:
    Sep 2, 2008
    #3
    This usually works through a web service. Does the web site have a REST api or some other web service to access their search feature?
     
  4. ljg93 thread starter macrumors member

    Joined:
    Mar 13, 2011
  5. jnoxx macrumors 65816

    jnoxx

    Joined:
    Dec 29, 2010
    Location:
    Aartselaar // Antwerp // Belgium
    #5
    Well, then hook up a Rest Call to your UISearchBar?
    It really isn't that hard.
    The first thing you need to do is (in my guess).
    Create object models for your app, like "Object", give it the value's you need it to have, title, url, thumbnail. Whatever.
    Then create an XMLParser that will parse through those whenever you open the app and save them in an array, save them via a Singleton class, so your whole app has acces.
    Then on your searchbar, you just scan your text inside the array.
    Tadaaa :)
     

Share This Page