You must know.

Discussion in 'iOS Development' started by gojohnnyboi, Sep 11, 2008.

  1. gojohnnyboi

    gojohnnyboi Well-Known Member

    Joined:
    Jan 25, 2008
    Messages:
    3,339
    Likes Received:
    55
    Yes, dependant on your compiler, it may or may not accept the new style of headers (objc20_) for compiling, so you may have to patch them. but regardless of patched or unpatched sdk headers with the toolchain, you will not be able to compile the hello world app from apple, or any app for that matter meant for the sdk, with the toolchain. the reason is that the UIApplication class(your app class), is actually in the MainWindow.nib file in most cases from the SDK. this means, that unless you know what you're doing, and can figure out what needs to be added to create a usable application from those source code examples(not hard, just time consuming), then you will NOT be able to compile apples examples.

    so please, no more PM's asking why you cannot compile the hello world app.

    the fix: write your own damn code, ya slackers =p

    -John
  2. ubunix

    ubunix Member

    Joined:
    Aug 6, 2008
    Messages:
    637
    Likes Received:
    1
    Device:
    iPhone 5 (Black)
    Yes, good point johnny, the complier doesn't support "Dot.Syntax"

    example
    Code:
    myTableView.delegate = self; 
    It would be
    Code:
    [myTableView setDelegate:self];
    You would have to follow this procedure to compile the app using the toolchain.
  3. gojohnnyboi

    gojohnnyboi Well-Known Member

    Joined:
    Jan 25, 2008
    Messages:
    3,339
    Likes Received:
    55
    wrong. both those methods will work on both compilers, toolchain and SDK. its the format of the application (the layout, if you will), that changes how it will compile.
  4. ubunix

    ubunix Member

    Joined:
    Aug 6, 2008
    Messages:
    637
    Likes Received:
    1
    Device:
    iPhone 5 (Black)
    I fail....again.

Share This Page