Skip to content

Commit

Permalink
Fix build on 10.7.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Kennett committed Mar 12, 2012
1 parent 76b1766 commit ee648f6
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
2 changes: 2 additions & 0 deletions 500px Aperture Uploader/DKBasicUpdateChecker.m
Expand Up @@ -16,6 +16,8 @@ @interface DKBasicUpdateChecker ()
@property (nonatomic, readwrite) BOOL shouldShowFailureUI; @property (nonatomic, readwrite) BOOL shouldShowFailureUI;
@property (nonatomic, readwrite, strong) NSMutableData *downloadedData; @property (nonatomic, readwrite, strong) NSMutableData *downloadedData;


-(void)presentError:(NSError *)error;

@end @end


@implementation DKBasicUpdateChecker @implementation DKBasicUpdateChecker
Expand Down
1 change: 1 addition & 0 deletions 500px Aperture Uploader/FiveHundredPxExportLogger.m
Expand Up @@ -13,6 +13,7 @@ @interface FiveHundredPxExportLogger ()


@property (nonatomic, readwrite, strong) NSArray *logEntries; @property (nonatomic, readwrite, strong) NSArray *logEntries;


-(NSString *)fileNameForLogAtDate:(NSDate *)date;
-(NSString *)outputForLogEntry:(NSDictionary *)entry; -(NSString *)outputForLogEntry:(NSDictionary *)entry;
-(NSString *)stringByReplacingKeysInSource:(NSString *)string withEntries:(NSDictionary *)entries; -(NSString *)stringByReplacingKeysInSource:(NSString *)string withEntries:(NSDictionary *)entries;


Expand Down
1 change: 1 addition & 0 deletions 500px Aperture Uploader/FiveHundredPxOAuthEngine.m
Expand Up @@ -70,6 +70,7 @@ - (id)initWithDelegate:(id <FiveHundredPxEngineDelegate>)del
@synthesize screenName; @synthesize screenName;
@synthesize delegate; @synthesize delegate;
@synthesize fileUploadEngine; @synthesize fileUploadEngine;
@synthesize working;


#pragma mark - OAuth Access Token store/retrieve #pragma mark - OAuth Access Token store/retrieve


Expand Down
9 changes: 7 additions & 2 deletions 500px Aperture Uploader/FiveHundredPxViewController.m
Expand Up @@ -60,6 +60,9 @@ -(void)dealloc {


#pragma mark - Properties #pragma mark - Properties


@synthesize firstView;
@synthesize lastView;
@synthesize selectedImageIsBigEnoughForStore;
@synthesize loginSheetUsernameField; @synthesize loginSheetUsernameField;
@synthesize loginSheetPasswordField; @synthesize loginSheetPasswordField;
@synthesize loginSheet; @synthesize loginSheet;
Expand All @@ -73,6 +76,8 @@ -(void)dealloc {
@synthesize preferencesWindow; @synthesize preferencesWindow;
@synthesize logImagePropertiesButton; @synthesize logImagePropertiesButton;
@synthesize logCurrentPresetButton; @synthesize logCurrentPresetButton;
@synthesize engine;
@synthesize exporter;


+(NSSet *)keyPathsForValuesAffectingLoginStatusText { +(NSSet *)keyPathsForValuesAffectingLoginStatusText {
return [NSSet setWithObjects:@"engine.working", @"engine.isAuthenticated", nil]; return [NSSet setWithObjects:@"engine.working", @"engine.isAuthenticated", nil];
Expand Down Expand Up @@ -144,7 +149,7 @@ -(void)awakeFromNib {
-(BOOL)imageAtIndexIsBigEnoughForStore:(NSUInteger)index { -(BOOL)imageAtIndexIsBigEnoughForStore:(NSUInteger)index {


NSDictionary *preset = self.exporter.exportManager.selectedExportPresetDictionary; NSDictionary *preset = self.exporter.exportManager.selectedExportPresetDictionary;
NSDictionary *image = [self.exporter.exportManager propertiesWithoutThumbnailForImageAtIndex:index]; NSDictionary *image = [self.exporter.exportManager propertiesWithoutThumbnailForImageAtIndex:(unsigned)index];


NSSize nativeSize = [[image valueForKey:kExportKeyImageSize] sizeValue]; NSSize nativeSize = [[image valueForKey:kExportKeyImageSize] sizeValue];
NSInteger sizeMode = [[preset valueForKey:@"ExportSizeStyle"] integerValue]; NSInteger sizeMode = [[preset valueForKey:@"ExportSizeStyle"] integerValue];
Expand Down Expand Up @@ -222,7 +227,7 @@ - (IBAction)logCurrentExportPreset:(id)sender {
} }


- (IBAction)logCurrentImageProperties:(id)sender { - (IBAction)logCurrentImageProperties:(id)sender {
NSLog(@"%@", [self.exporter.exportManager propertiesWithoutThumbnailForImageAtIndex:self.metadataArrayController.selectionIndex]); NSLog(@"%@", [self.exporter.exportManager propertiesWithoutThumbnailForImageAtIndex:(unsigned)self.metadataArrayController.selectionIndex]);
} }


- (IBAction)openLogsDirectory:(id)sender { - (IBAction)openLogsDirectory:(id)sender {
Expand Down

0 comments on commit ee648f6

Please sign in to comment.