PDA

View Full Version : Printing UIView's bounds




rand0m3r
Apr 17, 2008, 08:35 AM
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.



Spike099
Apr 17, 2008, 08:40 AM
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.