Printing UIView's bounds

Discussion in 'Mac Programming' started by rand0m3r, Apr 17, 2008.

  1. macrumors regular

    Joined:
    Jun 30, 2006
    #1
    hi. i'm a mac cocoa developer now trying my hand on the iphone. but it seems like some simple things that i did on the mac are hard to do on the iphone.

    for example, how do i NSLog the bounds of my UIView?

    in fact, i tried a simple NSLog(@"Hello world"); and in the debug window nothing came out.

    thanks.
     
  2. macrumors regular

    Joined:
    Feb 18, 2007
    Location:
    Canada
    #2
    Yeah, I believe everyone is having this issue with the debugger console. Fire up "Console" from your utility applications folder. You'll see all your NSLogs in there.
     

Share This Page