• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: -dataWithPDFInsideRect: unsafe within -drawRect:?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -dataWithPDFInsideRect: unsafe within -drawRect:?


  • Subject: Re: -dataWithPDFInsideRect: unsafe within -drawRect:?
  • From: Graham Cox <email@hidden>
  • Date: Sat, 30 Aug 2008 15:31:13 +1000


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 (email@hidden)

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:
This email sent to email@hidden


References: 
 >-dataWithPDFInsideRect: unsafe within -drawRect:? (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Undocumented Leopard support for overlapping sibling views
  • Next by Date: Re: -dataWithPDFInsideRect: unsafe within -drawRect:?
  • Previous by thread: -dataWithPDFInsideRect: unsafe within -drawRect:?
  • Next by thread: Re: -dataWithPDFInsideRect: unsafe within -drawRect:?
  • Index(es):
    • Date
    • Thread