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
#import <Cocoa/Cocoa.h> | |
@interface DeletableTableView : NSTableView { | |
} | |
@end | |
@protocol DeletableTableViewDelegate | |
- (void)tableViewDelete:(DeletableTableView *)aView; | |
@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
// Export iOS App Icons | |
// by Lucius Kwok | |
// Takes the currently open document and exports it in the standard iOS app icon sizes. | |
// This script is designed for Photoshop CS5. | |
// To install, place this file in the /Applications/Adobe Photoshop CS5/Presets/Scripts/ folder. | |
function resizeDoc(width) { | |
var desc = new ActionDescriptor(); | |
desc.putUnitDouble( charIDToTypeID('Wdth'), charIDToTypeID('#Pxl'), width ); | |
desc.putBoolean( stringIDToTypeID('scaleStyles'), true ); |