This file contains 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
// | |
// DBNumber.h | |
// Dubrovnik | |
// | |
// Created by Jonathan Mitchell on 24/02/2014. | |
// | |
// | |
#import <Foundation/Foundation.h> | |
#import "DBMonoIncludes.h" |
This file contains 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
@interface BPImageView : NSImageView | |
@property SEL clickAction; | |
@end |
This file contains 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
if [ "${CONFIGURATION}" = "Release" ]; then | |
# HockeyApp support | |
# Set prinicipal class in output info.plist | |
# This improves the crash catchers behaviour for release builds only. | |
# NSApplication is preferred for development builds as it logs to the console. | |
release_plist=${CONFIGURATION_BUILD_DIR}/${INFOPLIST_PATH} | |
echo "${release_plist}" | |
/usr/libexec/PlistBuddy -c "Set :NSPrincipalClass BITCrashExceptionApplication" "${release_plist}" |
This file contains 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
#pragma mark - | |
#pragma mark NSTableViewDataSource | |
- (void)tableView:(NSTableView *)tableView draggingSession:(NSDraggingSession *)session willBeginAtPoint:(NSPoint)screenPoint forRowIndexes:(NSIndexSet *)rowIndexes | |
{ | |
// configure the drag image | |
// we are only dragging one item | |
NSTableCellView *cellView = [self.columnsTableView viewAtColumn:0 row:rowIndexes.firstIndex makeIfNecessary:NO]; | |
if (cellView) { | |
This file contains 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
@interface NSWindow (KVLoop) | |
- (IBAction)logKeyViewLoop:(id)sender; | |
@end |
This file contains 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/sh | |
# make-mono-framework.sh | |
# | |
# Generate ./Mono.framework from /Library/Frameworks/Mono.framework. | |
# The generated framework will be suitable for copying into an app bundle. | |
# | |
# Typical usage would be: | |
# sudo ./make-mono-framework.sh x.x.x | |
# |