• 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
iOS Rendering PDFs on a Background Thread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

iOS Rendering PDFs on a Background Thread


  • Subject: iOS Rendering PDFs on a Background Thread
  • From: Dave <email@hidden>
  • Date: Thu, 26 Jul 2012 22:09:35 +0100

Hi All,

I like to be able to fire off a Background thread that Renders PDF pages to UIImage's.

I've got the code working on the Main Thread, but now the tricky bit because since I am using UIGraphicsBeginImageContextWithOptions and UIGraphicsEndImageContext in order to capture the Image, and, as far as I know these methods can only be called on the Main Thread. Is this correct?

I can re-code this using CF/CG etc. but I'd like to know if:

1.  The CF/CG functions are thread safe.

2.  The CGPDF functions are also thread safe.

Any help appreciated.

All the Best
Dave

_______________________________________________

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

  • Follow-Ups:
    • Re: iOS Rendering PDFs on a Background Thread
      • From: Conrad Shultz <email@hidden>
    • Re: iOS Rendering PDFs on a Background Thread
      • From: David Duncan <email@hidden>
  • Prev by Date: Re: Forcing Core Data to save attribute changed behind its back?
  • Next by Date: Re: iOS Rendering PDFs on a Background Thread
  • Previous by thread: Re: Using NSTerminateLater with a Status Item
  • Next by thread: Re: iOS Rendering PDFs on a Background Thread
  • Index(es):
    • Date
    • Thread