# enable internal menu
defaults write com.apple.dt.Xcode ShowDVTDebugMenu -bool YES
alias xcbuild=$(xcode-select -p)/../SharedFrameworks/XCBuild.framework/Versions/A/Support/xcbuild
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| + (void)load { | |
| static dispatch_once_t onceToken; | |
| dispatch_once(&onceToken, ^{ | |
| int imageCount = _dyld_image_count(); | |
| const struct mach_header* UIKitHeader = nil; | |
| for (int i = 0; i < imageCount; i++) { | |
| if (strcmp(basename((char *)_dyld_get_image_name(i)), "UIKit") == 0) { | |
| UIKitHeader = _dyld_get_image_header(i); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # MIT License | |
| # | |
| # Copyright (c) 2018 Derek Selander (@LOLgrep) | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy | |
| # of this software and associated documentation files (the "Software"), to deal | |
| # in the Software without restriction, including without limitation the rights | |
| # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extension UITabBarController { | |
| /** | |
| Show or hide the tab bar. | |
| - Parameter hidden: `true` if the bar should be hidden. | |
| - Parameter animated: `true` if the action should be animated. | |
| - Parameter transitionCoordinator: An optional `UIViewControllerTransitionCoordinator` to perform the animation | |
| along side with. For example during a push on a `UINavigationController`. | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /Applications/Xcode-beta.app/Contents/Frameworks/IDEFoundation.framework/IDEFoundation | |
| IDEManageCertificates | |
| IDEDistributionShouldCleanUpAfterExport | |
| IDEProvisioningErrorDomain | |
| IDEProvisioningError_UserInfoKey_IDEProvisionableName | |
| IDEProvisioningError_UserInfoKey_IDEProvisioningUserAction | |
| IDEProvisioningError_UserInfoKey_IDEProvisioningErrorAction | |
| IDEProvisioningError_UserInfoKey_IDEProvisioningErrorTeam | |
| IDEProvisioningError_UserInfoKey_IDEProvisioningErrorPlatform |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // 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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| require 'yaml' | |
| TYPE_TO_KSY = { | |
| 'uint8_t' => 'u1', | |
| 'uint16_t' => 'u2', | |
| 'uint32_t' => 'u4', | |
| 'uint64_t' => 'u8', |