#define PSPDF_KEYPATH(object, property) (^{ \
_Pragma("clang diagnostic push") \
_Pragma("clang diagnostic ignored \"-Wunreachable-code\"") \
_Pragma("clang diagnostic ignored \"-Wimplicit-retain-self\"") \
return ((void)(NO && ((void), NO)), @#property); \
_Pragma("clang diagnostic pop") \
View gist:06d101d41c93763f7d5e394dea3c56fe
const NSUInteger test = 10u - 20u;
const NSInteger test2 = 10u - 20u;
const NSInteger test2_U = (NSUInteger)10 - (NSUInteger)20;
const NSUInteger test3 = 10 - 20;
const NSInteger test4 = 10 - 20;
const NSInteger test5 = 10u - 20;
test NSUInteger 4294967286
test2 NSInteger 4294967286
View gist:28849365e603dc2015c7107d85142e7b
Applications/ --version
Apple LLVM version 8.1.0 (clang-802.0.30.5)
Target: x86_64-apple-darwin16.5.0
Thread model: posix
InstalledDir: /Applications/
clang -cc1 -analyzer-checker-help
OVERVIEW: Clang Static Analyzer Checkers List
View gist:cdb0e9d62e18ab1de058e9c97dadc3f5
Incident Identifier: 45E2C1B6-A9E4-4A66-845F-9FD0CC4093A5
CrashReporter Key: 7B7C5ED8-8653-4CE2-96EA-269439F5D927
Hardware Model: iPad6,7
Process: Viewer [1583]
Path: /var/mobile/Containers/Bundle/Application/5CA518F4-8699-45FC-A706-CA4930EE3286/
Identifier: com.pspdfkit.viewer
Version: 1.5.1 (1675)
Code Type: ARM-64
Parent Process: ??? [1]
View gist:c94e261ea107f76430e5c9286558b736
Incident Identifier: 19F77574-1A33-4357-91D2-777B579B2627
CrashReporter Key: 3DF5987A-DF10-41B3-B77A-03821D015B7B
Hardware Model: iPhone7,1
Process: Viewer [7455]
Path: /var/containers/Bundle/Application/AB688A6C-7BE0-4B6C-B079-B7BFDE56FD63/
Identifier: com.pspdfkit.viewer
Version: 1.2.0 (1285)
Code Type: ARM-64
Parent Process: ??? [1]

Thank you all for the great feedback so far! This release brings automatic pasteboard monitoring to make it even simpler to import documents. We also made many small improvements that enhance the general experience while using the app as well as improve the performance of the renderer for certain types of PDFs. As with every release, we continue the ongoing battle with the bugs.

Here’s the full changelog:

  • Adds the ability to share, export, and print PDF files from the file browser without opening them first.
  • Adds automatic pasteboard monitoring. If a link to a PDF document is found in the system pasteboard, the application now automatically offers to import the linked document.
  • Greatly improves the action extension.
  • Improves the annotation editing experience in night mode.
  • Improves support for read-only annotations.
  • Improves rendering performance of PDF files with a lot of images.
View gist:717b63d47e9a6d911a609c9f50bbdf01
Incident Identifier: 46D153F6-E9B3-46A3-92DE-719AFB8E5A7C
CrashReporter Key: 6CECAE10-4F1E-4EEF-A320-2628FA410B89
Hardware Model: iPhone7,1
Process: Viewer [720]
Path: /var/containers/Bundle/Application/DC893E74-BEE4-449E-A19B-0F510BDA7085/
Identifier: com.pspdfkit.viewer
Version: 1.0.3 (834)
Code Type: ARM-64
Parent Process: ??? [1]
View gist:fbdd4885b8cb37aea3e0433dcac32544
_viewControllerFlags (struct ?): {
appearState (b2): 0
isEditing (b1): NO
isPerformingModalTransition (b1): NO
hidesBottomBarWhenPushed (b1): NO
autoresizesArchivedViewToFullSize (b1): NO
viewLoadedFromControllerNib (b1): NO
isRootViewController (b1): NO
customizesForPresentationInPopover (b1): NO
isSuspended (b1): NO
View gist:010c77746335d90a390eeba3524fdfda
Hardware Model: iPad5,3
Process: Viewer [930]
Path: /var/containers/Bundle/Application/2B3A8673-1168-45BD-A28D-E112F48CF749/
Identifier: com.pspdfkit.viewer
Version: 1.0.1 (744)
Code Type: ARM-64
Parent Process: ??? [1]
Date/Time: 2016-11-10T04:20:08Z
Launch Time: 2016-11-10T04:19:12Z
# CoreText.framework is missing for the watchOS Simulator (but is available on the device platform SDK)
# This script is a quick patch to solve this issue, so we are all capable of running CoreText APIs on the Watch simulator too,
# by copying the WatchOS SDK's CoreText header files into the WatchSimulator's. This works great, although since editing the SDK files
# is protected, it needs to be run with sudo.