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
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ @interface DKBasicUpdateChecker ()
@property (nonatomic, readwrite) BOOL shouldShowFailureUI;
@property (nonatomic, readwrite, strong) NSMutableData *downloadedData;

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

@end

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

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

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

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

#pragma mark - OAuth Access Token store/retrieve

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

#pragma mark - Properties

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

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

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];
NSInteger sizeMode = [[preset valueForKey:@"ExportSizeStyle"] integerValue];
Expand Down Expand Up @@ -222,7 +227,7 @@ - (IBAction)logCurrentExportPreset:(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 {
Expand Down

0 comments on commit ee648f6

Please sign in to comment.