On 30 Aug 2008, at 2:23 pm, Graham Cox wrote:

Any ideas? Is it just not safe to try generating a PDF within drawRect?

Clarification: these are in two *different* views - i.e. one is in the middle of -drawRect: and creates a new view and calls its - dataWithPDFInsideRect: method. Obviously calling it on the same view wouldn't be safe because it creates an infinite loop.

Graham
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to