Printing UIView's bounds

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

  1. macrumors regular

    Jun 30, 2006
    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.

  2. macrumors regular

    Feb 18, 2007
    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