Need Help Writing Very Basic App

Discussion in 'iOS Programming' started by nightcrawler234, Jul 21, 2010.

  1. nightcrawler234 macrumors newbie

    Jul 21, 2010

    I recently registered as an iPhone developer with Apple. New to SDK/objective-c, but I'm learning fast.

    I want to write a basic app that does the following:

    Display some text on a background (say a random fact) - every time the user shakes the iphone or slides right with their finger, it goes to the next random fact. When the user slides left with their finger, it goes to the previous fact.

    How exactly can I create an array of strings, store info in that array, and traverse through the array based on the user's action (shake/slide/etc).

    Appreciate it if anyone could get me started.
  2. firewood macrumors 604

    Jul 29, 2003
    Silicon Valley
    Basic Cocoa Touch stuff. Start reading up on delegate methods, Foundation classes, and Obj C iteration constructs.
  3. tod macrumors regular

    Oct 3, 2009
    Try for answers and code examples.

Share This Page