diff --git a/platform/osx/app/AppDelegate.m b/platform/osx/app/AppDelegate.m index b7860cf13..ce5abcae2 100644 --- a/platform/osx/app/AppDelegate.m +++ b/platform/osx/app/AppDelegate.m @@ -53,6 +53,22 @@ NSString * const MGLLastMapDebugMaskDefaultsKey = @"MGLLastMapDebugMask"; return self.progress.countOfBytesCompleted; } ++ (NS_SET_OF(NSString *) *)keyPathsForValuesAffectingCountOfTilesCompleted { + return [NSSet setWithObjects:@"progress", nil]; +} + +- (uint64_t)countOfTilesCompleted { + return self.progress.countOfTilesCompleted; +} + ++ (NS_SET_OF(NSString *) *)keyPathsForValuesAffectingCountOfTileBytesCompleted { + return [NSSet setWithObjects:@"progress", nil]; +} + +- (uint64_t)countOfTileBytesCompleted { + return self.progress.countOfTileBytesCompleted; +} + @end @interface AppDelegate () diff --git a/platform/osx/app/Base.lproj/MainMenu.xib b/platform/osx/app/Base.lproj/MainMenu.xib index c80428ff0..72a97aa8c 100644 --- a/platform/osx/app/Base.lproj/MainMenu.xib +++ b/platform/osx/app/Base.lproj/MainMenu.xib @@ -672,7 +672,7 @@ - + @@ -711,13 +711,13 @@ - + - + @@ -728,13 +728,13 @@ - + - + @@ -744,14 +744,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + @@ -769,8 +811,8 @@ -