ABOUT
[Mark]

Hi, Mark Damon Hughes here.

I write neat little strategy and role-playing games for the iPhone.

I also help other people write their apps for the iPhone; if you need a contractor, I can solve any problem for you.

You can reach me by email at
mark@markdamonhughes.com

Visit my software gallery at
http://markdamonhughes.com/

ARCHIVE
By Category:
By Author:
By Date:

Mark Damon Hughes

MDH's Software Blog

UIView Frames in GDB 2010-03-28 01:07:00 GMT
in cocoa
by Mark Damon Hughes
Problem

When debugging display code, you want to see the frame of a component.

Solution

You can't directly display a CGRect in gdb, but you can use the NSStringFromCGRect() function:

See also the UIKit Function Reference for many more useful functions.


Pages: 0 1 2
METADATA
Copyright © 2008 by Mark Damon Hughes | Email Feedback | [RSS 2.0]