Beginner Questions

Discussion in 'iOS Development' started by giannaros, Oct 24, 2008.

  1. giannaros

    giannaros New Member

    Joined:
    Sep 1, 2008
    Messages:
    775
    Likes Received:
    0
    Device:
    iPhone 3G (Black)
    Okay, I'm a beginner at developing, so I have some questions. Sorry if they're silly.

    1. Can I make iPhone apps on C and C++, or only on Python and ObjC?
    2. What is the NDA?
    3. Do I have to do memory managing on my iPhone programs?
    4. What files are necessary for an iPhone program? (eg. icon.png, makefile, default.png... etc.)

    Note: I will be away this weekend, I'll return on Monday, so I won't be able to post until then. Again, I'm sorry if my questions are silly.

    Thanks!!!

    Please Register or Log in to view images

  2. Chicken

    Chicken Retired Moderator

    Joined:
    Feb 17, 2008
    Messages:
    2,494
    Likes Received:
    7
    Device:
    iPhone 5S
    1. Only obj-c i think saurik has got something about python on his site u will have to have a look at it
    2.The NDA is a non disclosure agreement that you cannot discuss anything to do with the SDK or frameworks and other things it has been lifted for released software but expect a new NDA very soon
    3.Yes you have to do memory management
    4.to compile main.m yourapp.m yourapp.h makefile
    To run you need an executable made by compiling a info.plist icon.png (not needed but looks better on springboard) default.png (not needed but shown when app is loading gives it that finishing touch

    Hope I helped
  3. giannaros

    giannaros New Member

    Joined:
    Sep 1, 2008
    Messages:
    775
    Likes Received:
    0
    Device:
    iPhone 3G (Black)
    Thanks! Where can I find makefile? And can I PM you if I need something, please???

    Please Register or Log in to view images

  4. Chicken

    Chicken Retired Moderator

    Joined:
    Feb 17, 2008
    Messages:
    2,494
    Likes Received:
    7
    Device:
    iPhone 5S
    right a makefile is a txt document with no extension use the one from gojohnnyboi's sample window app but change the bits that say windowapp to the name of your app
    Sure you can PM me I don't mind helping anyone so ye if you need anymore help just PM me
  5. Nickll9009

    Nickll9009 New Member

    Joined:
    Sep 19, 2007
    Messages:
    1,367
    Likes Received:
    8
    Device:
    iPod touch
    Ok here it goes...

    To compile an Objective-C application you need:

    Main.m (Does NOT need to be named "Main")

    Your application's Objective-C Source Code Files (.m)

    Your applications Header files (.h)

    A makefile (no extension)

    And to answer your other questions:

    Yes, you can make iPhone apps in Objective-C, and Python. As for C, C++ you can use those to make non-gui executables.

    NDA = Non Disclousure Agreement. This is an agreement with Apple + whoever downloads the SDK, and uses the headers, that are located in the .dmg. You cannot share the headers, or modify them, and give out code.

    10000000000x YES!!! Memory managment is extremely important!

    If you have any questions/problems just PM me.
  6. fear_2670

    fear_2670 Banned

    Joined:
    Aug 17, 2008
    Messages:
    3,626
    Likes Received:
    0
    2. NDA = Non-Disclosure Agreement, Apple has already lifted the NDA.
  7. Chicken

    Chicken Retired Moderator

    Joined:
    Feb 17, 2008
    Messages:
    2,494
    Likes Received:
    7
    Device:
    iPhone 5S
    Yes but another is coming soon also nick what you said is right and a bit easier to understand
  8. SkylarEC

    SkylarEC Super Moderator Emeritus Staff Member

    Joined:
    Sep 19, 2007
    Messages:
    6,642
    Likes Received:
    129
  9. Chicken

    Chicken Retired Moderator

    Joined:
    Feb 17, 2008
    Messages:
    2,494
    Likes Received:
    7
    Device:
    iPhone 5S
  10. Nickll9009

    Nickll9009 New Member

    Joined:
    Sep 19, 2007
    Messages:
    1,367
    Likes Received:
    8
    Device:
    iPod touch

Share This Page