Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6832115
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T22:49:10+00:00 2026-05-26T22:49:10+00:00

Apple’s Documentation mentions that threading the quartzcore rendering of PDF’s must be manually handled.

  • 0

Apple’s Documentation mentions that threading the quartzcore rendering of PDF’s must be manually handled. Has anyone Implemented multi-core PDF rendering or have any idea how one could offload the rendering work to separate threads or separate a document into page chunks and distribute it to separate cores as the documentation suggests? Currently my app loads large PDF’s in about 1.5 seconds, but multi threading could cut that time hugely (haha).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T22:49:11+00:00Added an answer on May 26, 2026 at 10:49 pm

    As you note, the documentation explicitly says “Distributing individual pages of a PDF document to separate threads is not supported. If you want to use threads, consider creating a separate document for each thread and operating on a block of pages per thread.” Though to adapt this guidance to GCD, what you would do instead is create a serial queue for each “block of pages” (where block size can, of course, be “one page”) and then create and manipulate the individual CGPDFDocumentRef by submitting blocks to the respective queues. Protect your data structures by also making your getter for a given CGPDFDocumentRef use the same queue with a dispatch_sync to get the value, and then it’s just a siple matter of wiring up your UI to render any given page of your document (or the entire document) by striding through the individual chunks such that it still appears to be one large document to the rest of your code.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Apple's documentation for UIDocumentInteractionController presentOpenInMenuFromBarButtonItem:animated: method states that If there are no registered apps
Apple has many big colored buttons, that are not standard. One of them is
Apple has extremely comprehensive documentation, but I can't find any documentation for the function
Apple's documentation here doesn't provide specifics, unfortunately. Anyone know of a good list of
Apple does say in the documentation about the fact that they do not want
Apple documentation says that scrollViewWillScrollToTop: will be called as part of the UIScrollViewDelegate protoco.
Apple developer document has the QTKit examples. I have noticed that it is only
Apple's Threading Programming Guide states that: Although good for occasional communication between threads, you
Apple really had bad documentation about how the provider connects and communicates to their
Apple has included HTTP Adaptive Bitrate Streaming in the iPhone OS 3.0, in particular

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.