Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changing scaleFactor to readonly.

  • Loading branch information...
commit a88ef4341bf44b06b9d18ceb096c9c4a8f6c9109 1 parent 75369d5
Jan Weiß authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 ScrollingAboutWindow/AboutWindowController.m
View
4 ScrollingAboutWindow/AboutWindowController.m
@@ -22,7 +22,7 @@ @interface AboutWindowController ()
@property (nonatomic, readonly) NSString *applicationBuildNumberString;
@property (nonatomic, readonly) NSString *applicationCopyrightString;
@property (nonatomic, assign) BOOL isCreditsAnimationActive;
-@property (nonatomic, readwrite) CGFloat scaleFactor;
+@property (nonatomic, readonly) CGFloat scaleFactor;
@end
#pragma mark -
@@ -76,7 +76,7 @@ - (void)awakeFromNib {
NSString *versionString = [NSString stringWithFormat:versionFormat, self.applicationVersionString, self.applicationBuildNumberString];
self.applicationNameLabel.stringValue = self.applicationNameString;
self.punchLineLabel.stringValue = NSLocalizedString(@"Scrolling about window demonstrator!", nil);
- self.scaleFactor = [[creditsView window] backingScaleFactor];
+ _scaleFactor = [[creditsView window] backingScaleFactor];
self.creditsView.layer = self.creditsRootLayer;
self.creditsView.wantsLayer = YES;
[self.applicationVersionLabel.cell setPlaceholderString:versionString];
Please sign in to comment.
Something went wrong with that request. Please try again.