nswrap/examples/app/nswrap.yaml
Greg 90166a4379 Bug fixes. Read availability attributes when adding interfaces and
categories. Memory leak fixes. Add "autorelease" confiruation directive.
Fix parameter types for subclass method overriding.
2019-06-06 00:22:07 -04:00

48 lines
1003 B
YAML

# nswrap.yaml
inputfiles:
- /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h
- /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h
classes:
- NSAutoreleasePool
- NSString
- NSApplication
- NSWindow
- NSView
- NSMenu
- NSMenuItem
- NSButton
- NSControl
- NSNotification
- NSLayoutConstraint
- NSDictionary
- NSArray
- NSObject
functions: [ NSMakeRect ]
enums:
- NSApplication.*
- NSBackingStore.*
- NSWindowStyleMask.*
- NSWindowButton
- NSWindowOrderingMode
- NSLayout.*
delegates:
AppDelegate:
NSApplicationDelegate:
- applicationWillTerminate
- applicationDidFinishLaunching
- applicationShouldTerminateAfterLastWindowClosed
- applicationDidBecomeActive
subclasses:
GButton:
NSButton:
- -(void)pressed
frameworks: [ Foundation, AppKit ]
pragma: [ clang diagnostic ignored "-Wformat-security" ]
autorelease: true