Nigel Timothy Barber
                                            Nigel Timothy Barber
                                        
                                    The crashes are deep in CG PDF code, so I would recommend filing a Radar with Apple with a sample project that reproduces the issue.
It could be a PDF file format issue. Try running the PDF through ShrinkIt: https://panic.com/blog/shrinkit-1-0/ to see if that helps.
Thanks T-Pham. I'm working on a Swift replacement. The WIP is at https://gist.github.com/mindbrix/bb1cb1d6260d024c08a3ae3fd79cf723 Does this suit your needs?
Hi Chris. Here is a beta of a Swift 3 version: https://gist.github.com/mindbrix/c31963faecb1e037a6ee6b85515495b2 Please let me know if this helps you. Best, Nigel