View gist:8c683dd840596e34dcb9159373cea933
Class Methods:
+ (Class) safeCategoryBaseClass; (0x12c470134)
+ (BOOL) _old_unswizzled_automaticallyNotifiesObserversForKey:(id)arg1; (0x1150df5a0)
+ (id) _old_unswizzled_keyPathsForValuesAffectingValueForKey:(id)arg1; (0x1150df620)
+ (id) requiredStoreLibraryPersonalizationProperties; (0x118daaeff)
+ (void) mf_clearLocks; (0x11a41d09e)
+ (void) _accessibilityCalDetailStringForEvent:(id)arg1 inLine1:(id*)arg2 inLine2:(id*)arg3 inLine3:(id*)arg4 inLine4:(id*)arg5; (0x127db7c6e)
+ (void) _accessibilityCalGetHourDesignatorsForAM:(id*)arg1 andPM:(id*)arg2; (0x127d1e7bb)
+ (BOOL) _accessibilityCalSpaceBetweenDesignatorsAndHour; (0x127d1e7cb)
+ (BOOL) _accessibilityCalHourDesignatorsAreBeforeHour; (0x127d1e7ec)
View gist:2ec99bca9dd01e405f9fd7db17472cb5
Process: PSPDFFoundation-TestHost-iOS [95495]
Path: /Users/USER/Library/Developer/CoreSimulator/Devices/1694A397-7C29-4470-A3A0-9A3E350DB19E/data/Containers/Bundle/Application/3A6309AC-3045-4D7C-9E83-006339C933C6/PSPDFFoundation-TestHost-iOS.app/PSPDFFoundation-TestHost-iOS
Identifier: PSPDFFoundation-TestHost-iOS
Version: 1.0 (1)
Code Type: X86-64 (Native)
Parent Process: launchd_sim [93146]
Responsible: PSPDFFoundation-TestHost-iOS [95495]
User ID: 502
Date/Time: 2017-10-30 15:37:04.800 -0400
View gist:6a467947cf0db4eb0be0cd90af1990d5
Process: PSPDFFoundation-TestHost-iOS [15960]
Path: /Users/USER/Library/Developer/CoreSimulator/Devices/0AE503AA-1EFF-4FC4-A1B3-D64B83DD1059/data/Containers/Bundle/Application/774DC2FD-74EF-4F79-B700-EEB70410267F/PSPDFFoundation-TestHost-iOS.app/PSPDFFoundation-TestHost-iOS
Identifier: PSPDFFoundation-TestHost-iOS
Version: 1.0 (1)
Code Type: X86-64 (Native)
Parent Process: launchd_sim [10769]
Responsible: PSPDFFoundation-TestHost-iOS [15960]
User ID: 502
Date/Time: 2017-10-20 00:02:36.697 -0700
View gist:84fa68a373be22ef2737c0b3441ac94e
Process: Xcode [4032]
Path: /Applications/Xcode-beta.app/Contents/MacOS/Xcode
Identifier: Xcode
Version: 9.0 (13238.4)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [4032]
User ID: 501
Date/Time: 2017-08-28 10:28:44.078 +0200
View lldb
// iOS 11 (my iPad + iPhone)
(lldb) po UTTypeCopyDeclaration(kUTTypePDF)
{
UTTypeConformsTo = (
"public.data",
"public.composite-\U200bcontent"
);
UTTypeDescription = PDF;
UTTypeIdentifier = "com.adobe.pdf";
UTTypeTagSpecification = {
View PSPDFDefer.m
// Similar to defer in Swift
#define pspdf_defer_block_name_with_prefix(prefix, suffix) prefix ## suffix
#define pspdf_defer_block_name(suffix) pspdf_defer_block_name_with_prefix(pspdf_defer_, suffix)
#define pspdf_defer __strong void(^pspdf_defer_block_name(__LINE__))(void) __attribute__((cleanup(pspdf_defer_cleanup_block), unused)) = ^
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-function"
static void pspdf_defer_cleanup_block(__strong void(^*block)(void)) {
(*block)();
}
#pragma clang diagnostic pop
View SpringboardDestroyer.swift
let badwork = { (queue: DispatchQueue) in
queue.async {
let app = UIApplication.shared
for index in 0..<100000 {
let name = "Yolo \(index)"
let identifier = app.beginBackgroundTask(withName: name, expirationHandler: {
print("Expired")
});
View PreviewCrash.crash
Process: Preview [25413]
Path: /Applications/Preview.app/Contents/MacOS/Preview
Identifier: com.apple.Preview
Version: 9.0 (909.18)
Build Info: Preview-909018000000000~1
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Preview [25413]
User ID: 501
View PSPDFFastEnumeration.h
//
// PSPDFFastEnumeration.h
// PSPDFFoundation
//
// PSPDFKit is the leading cross-platform solution for integrating PDFs into your apps: https://pspdfkit.com.
// Try it today using our free PDF Viewer app: https://pdfviewer.io/
//
// This file is MIT licensed.
@protocol PSPDFFastEnumeration <NSFastEnumeration>
View PSPDFGenerics.h
//
// PSPDFGenerics.h
// PSPDFFoundation
//
// PSPDFKit is the leading cross-platform solution for integrating PDFs into your apps: https://pspdfkit.com.
// Try it today using our free PDF Viewer app: https://pdfviewer.io/
//
// This file is MIT licensed.
/**