UIView =

Discussion in 'iOS Development' started by SkylarEC, Dec 6, 2007.

  1. SkylarEC

    SkylarEC Super Moderator Emeritus Staff Member

    Joined:
    Sep 19, 2007
    Messages:
    6,642
    Likes Received:
    129
    Holy crap. After spending the last week (actually almost two weeks) banging my head against the wall, I finally realised my problem.

    You see, my apps were all launching only from Terminal, and not from SpringBoard. That's why I made Bluetooth.app, just to prove to myself that I could actually make something. Well I finally figured out why that happened. And it's so simply, I had to laugh.

    When you are making your apps, don't forget to set the view in the HeaderFile. Otherwise the app will load, but the view won't (and the iPod will freeze up).

    Code:
    	UIView	*preferencesTable;
    Shizam! Now I can finally get continue working on my little pet project. Although I might start from scratch and recode it the way spicychicken told me to rewrite it.

    I need to sleep on it. Sorry for wasting your time, I just needed to let off some steam.
  2. jmiz9000

    jmiz9000 New Member

    Joined:
    Sep 29, 2007
    Messages:
    2,365
    Likes Received:
    19
    Device:
    iPhone 3GS (Black)
    so when should it be done?
  3. SkylarEC

    SkylarEC Super Moderator Emeritus Staff Member

    Joined:
    Sep 19, 2007
    Messages:
    6,642
    Likes Received:
    129
    Patience, patience. I have to work a 12 hour day tomorrow (3am 'til 3pm), and I'm planning on getting wasted this weekend (as usual). So I don't expect to actually get to work on it until next week.
  4. Scythal

    Scythal New Member

    Joined:
    Nov 27, 2007
    Messages:
    413
    Likes Received:
    4
    Device:
    iPod touch
    Wow, sounds like a job to die for... Happy wasting then

    Please Register or Log in to view images

  5. RazerM

    RazerM New Member

    Joined:
    Oct 4, 2007
    Messages:
    279
    Likes Received:
    5
    What project are you working on Skylar? Glad you got it working.

    I spent ages trying to find out why my views wouldnt change, I kept double checking the headers, and the class definitions. It ended up I had missed this line in applicationDidFinishLaunching:
    Code:
    sharedInstance = self;
    so the other classes (with views I was trying to switch to) could not call members from my main class.
  6. Blake

    Blake Super Moderator Emeritus

    Joined:
    Oct 4, 2007
    Messages:
    2,963
    Likes Received:
    63
    Device:
    iPhone 4S (White)
    Glad you figured out your problem...
    Getting wasted will help get your mind off of it.
  7. rokrboy

    rokrboy Retired Moderator

    Joined:
    Sep 29, 2007
    Messages:
    2,475
    Likes Received:
    29
    Device:
    iPod touch
    thats funny..this uiview thing sounds cool, good luck.

Share This Page