Search Engine App

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

  1. ljg93 macrumors member

    Mar 13, 2011

    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)

  2. ArtOfWarfare macrumors G3


    Nov 26, 2007
    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 68040


    Sep 2, 2008
    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

    Mar 13, 2011
  5. jnoxx macrumors 65816


    Dec 29, 2010
    Aartselaar // Antwerp // Belgium
    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