newbie questions

Discussion in 'iOS Programming' started by ali.m.habib, Jan 13, 2011.

  1. macrumors newbie

    Joined:
    Jan 12, 2011
    #1
    1. I need to do the following
    Hi all

    I need to design application that consist of

    Welcome screen ->log in screen -> list -> details

    list -> details are navigation based


    I get stuck in that

    any sample code , tutorial is highly appreciated

    2. I have button I want when click on it a subview open that read doc file which wanna be located at the resources folder

    your fast reply is highly appreciated

    best regards
     
  2. Moderator

    balamw

    Staff Member

    Joined:
    Aug 16, 2005
    Location:
    New England
    #2
    You'll get more help if you post specific questions about where you are stuck, and provide some of our own code that is not working.

    Does any of it work yet or are you just unable to start on the project?

    What is your background with iOS programming? What resources have you used to get to this point?

    B
     
  3. thread starter macrumors newbie

    Joined:
    Jan 12, 2011
    #3
    I solved all the problem, but I have certain issue

    I need the user when open the program be redirected to the RootViewController ,not the last screen I leaved

    any suggestion regarding that
     
  4. Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #4
    You application delegate will receive a message when your app is reopened. The specific message received will depend on whether you app is launched, re-activated or whatever. If you supply methods to receive these messages you can do whatever you want.

    This is all described, as would be expected, in the documentation
     
  5. thread starter macrumors newbie

    Joined:
    Jan 12, 2011
    #5
    could you give me an example for that please
     
  6. Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #6
    No. A core programming skill is the ability to read the documentation and use that to write code. Copy and pasting "examples" or "samples" teaches you nothing and is not programming in any sense of the word.
     
  7. macrumors 603

    Joined:
    Aug 9, 2009
    #7
    At the top of the UIApplicationDelegate documentation webpage is a list of Related Sample Code, showing 5 items. Start with those.
     

Share This Page