Skip to content

Instantly share code, notes, and snippets.

@2bits
Created April 17, 2012 09:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 2bits/2404839 to your computer and use it in GitHub Desktop.
Save 2bits/2404839 to your computer and use it in GitHub Desktop.
Learn why NSQuickDrawView won't compile into a Lion app
/*
NSQuickDrawView.h
Application Kit
Copyright (c) 1999-2011, Apple Inc.
All rights reserved.
*/
/* QuickDraw is deprecated for 32-bit apps, and doesn't exist in 64-bit. */
#if !__LP64__
#import <AppKit/NSView.h>
@interface NSQuickDrawView : NSView
{
@private
void* _qdPort;
void* _savePort;
BOOL _synchToView;
}
- (void*) qdPort NS_DEPRECATED_MAC(10_0, 10_4);
@end
#endif /* !__LP64__ */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment