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
// Creating a class at runtime can be accomplished using the objc_allocateClassPair function in objc/runtime.h. | |
/** | |
* objc_allocateClassPair | |
* | |
* (Class superclass, const char *name, size_t extraBytes) | |
**/ | |
Class runtimeClass = objc_allocateClassPair([NSObject class], "ThisRuntimeClass", 0); |
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 | |
{ | |
Method original, swizzled; | |
original = class_getInstanceMethod(self, @selector(original_method)); | |
swizzled = class_getInstanceMethod(self, @selector(swizzled_method)); | |
method_exchangeImplementations(original, swizzled); | |
} |
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/local/bin/appledoc \ | |
--project-name "${PROJECT_NAME}" \ | |
--project-company "HCRUB" \ | |
--company-id "com.hcrub" \ | |
--output "${PROJECT_DIR}/Documentation" \ | |
--install-docset \ | |
--logformat xcode \ | |
--keep-undocumented-objects \ | |
--keep-undocumented-members \ | |
--keep-intermediate-files \ |
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
################################################### | |
# Neil Burchfield | |
# Nov 6, 2013 | |
# Imports and Sorts Github issues into CSV File | |
################################################### | |
require 'octokit' | |
require 'csv' | |
require 'date' |
NewerOlder