Skip to content

Instantly share code, notes, and snippets.

@saschagehlich
Created April 28, 2012 11:12
Show Gist options
  • Save saschagehlich/2518046 to your computer and use it in GitHub Desktop.
Save saschagehlich/2518046 to your computer and use it in GitHub Desktop.
//
// APAppDelegate.h
//
// Created by Sascha Gehlich on 27.04.12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <Quartz/Quartz.h>
@interface APAppDelegate : NSObject <NSApplicationDelegate>
@property (assign) IBOutlet NSWindow *window;
@property (strong) NSStatusItem *statusItem;
@end
//...
[[self imageView] setImageZoomFactor:0.5f centerPoint:NSMakePoint(0,0)];
//...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment