cocoa 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Gemfile +1 -0
- data/VERSION +1 -1
- data/cocoa.gemspec +11 -5
- data/examples/table_view.rb +72 -0
- data/lib/cocoa/bindings/CAConstraint.rb +2 -2
- data/lib/cocoa/bindings/CALayer.rb +6 -6
- data/lib/cocoa/bindings/CAMediaTimingFunction.rb +1 -1
- data/lib/cocoa/bindings/CAOpenGLLayer.rb +2 -2
- data/lib/cocoa/bindings/CARenderer.rb +2 -2
- data/lib/cocoa/bindings/CATransaction.rb +1 -1
- data/lib/cocoa/bindings/CIImage.rb +2 -2
- data/lib/cocoa/bindings/NSATSTypesetter.rb +21 -21
- data/lib/cocoa/bindings/NSAffineTransform.rb +2 -2
- data/lib/cocoa/bindings/NSAlert.rb +2 -2
- data/lib/cocoa/bindings/NSAnimation.rb +3 -3
- data/lib/cocoa/bindings/NSAnimationContext.rb +1 -1
- data/lib/cocoa/bindings/NSAppleEventDescriptor.rb +8 -8
- data/lib/cocoa/bindings/NSAppleEventManager.rb +3 -3
- data/lib/cocoa/bindings/NSAppleScript.rb +2 -2
- data/lib/cocoa/bindings/NSApplication.rb +19 -19
- data/lib/cocoa/bindings/NSArchiver.rb +3 -3
- data/lib/cocoa/bindings/NSArray.rb +21 -21
- data/lib/cocoa/bindings/NSArrayController.rb +2 -2
- data/lib/cocoa/bindings/NSAssertionHandler.rb +2 -2
- data/lib/cocoa/bindings/NSAttributedString.rb +29 -29
- data/lib/cocoa/bindings/NSBezierPath.rb +15 -15
- data/lib/cocoa/bindings/NSBitmapImageRep.rb +16 -16
- data/lib/cocoa/bindings/NSBrowser.rb +16 -16
- data/lib/cocoa/bindings/NSBundle.rb +14 -14
- data/lib/cocoa/bindings/NSButton.rb +2 -2
- data/lib/cocoa/bindings/NSButtonCell.rb +6 -6
- data/lib/cocoa/bindings/NSByteCountFormatter.rb +1 -1
- data/lib/cocoa/bindings/NSCache.rb +1 -1
- data/lib/cocoa/bindings/NSCachedImageRep.rb +2 -2
- data/lib/cocoa/bindings/NSCachedURLResponse.rb +1 -1
- data/lib/cocoa/bindings/NSCalendar.rb +4 -4
- data/lib/cocoa/bindings/NSCalendarDate.rb +7 -7
- data/lib/cocoa/bindings/NSCell.rb +21 -21
- data/lib/cocoa/bindings/NSClassDescription.rb +1 -1
- data/lib/cocoa/bindings/NSCoder.rb +20 -20
- data/lib/cocoa/bindings/NSCollectionView.rb +3 -3
- data/lib/cocoa/bindings/NSColor.rb +17 -17
- data/lib/cocoa/bindings/NSColorList.rb +3 -3
- data/lib/cocoa/bindings/NSColorPanel.rb +1 -1
- data/lib/cocoa/bindings/NSColorPicker.rb +2 -2
- data/lib/cocoa/bindings/NSComboBox.rb +1 -1
- data/lib/cocoa/bindings/NSComboBoxCell.rb +1 -1
- data/lib/cocoa/bindings/NSComparisonPredicate.rb +2 -2
- data/lib/cocoa/bindings/NSCompoundPredicate.rb +1 -1
- data/lib/cocoa/bindings/NSConditionLock.rb +1 -1
- data/lib/cocoa/bindings/NSConnection.rb +6 -6
- data/lib/cocoa/bindings/NSControl.rb +2 -2
- data/lib/cocoa/bindings/NSController.rb +1 -1
- data/lib/cocoa/bindings/NSCursor.rb +1 -1
- data/lib/cocoa/bindings/NSCustomImageRep.rb +2 -2
- data/lib/cocoa/bindings/NSData.rb +12 -12
- data/lib/cocoa/bindings/NSDataDetector.rb +2 -2
- data/lib/cocoa/bindings/NSDate.rb +5 -5
- data/lib/cocoa/bindings/NSDateFormatter.rb +4 -4
- data/lib/cocoa/bindings/NSDecimalNumber.rb +10 -10
- data/lib/cocoa/bindings/NSDecimalNumberHandler.rb +2 -2
- data/lib/cocoa/bindings/NSDictionary.rb +12 -12
- data/lib/cocoa/bindings/NSDistantObject.rb +4 -4
- data/lib/cocoa/bindings/NSDistributedNotificationCenter.rb +3 -3
- data/lib/cocoa/bindings/NSDocument.rb +41 -41
- data/lib/cocoa/bindings/NSDocumentController.rb +16 -16
- data/lib/cocoa/bindings/NSDraggingItem.rb +1 -1
- data/lib/cocoa/bindings/NSDraggingSession.rb +1 -1
- data/lib/cocoa/bindings/NSDrawer.rb +1 -1
- data/lib/cocoa/bindings/NSError.rb +2 -2
- data/lib/cocoa/bindings/NSEvent.rb +9 -9
- data/lib/cocoa/bindings/NSException.rb +3 -3
- data/lib/cocoa/bindings/NSExpression.rb +8 -8
- data/lib/cocoa/bindings/NSFileCoordinator.rb +4 -4
- data/lib/cocoa/bindings/NSFileHandle.rb +4 -4
- data/lib/cocoa/bindings/NSFileManager.rb +39 -39
- data/lib/cocoa/bindings/NSFileVersion.rb +4 -4
- data/lib/cocoa/bindings/NSFileWrapper.rb +6 -6
- data/lib/cocoa/bindings/NSFont.rb +4 -4
- data/lib/cocoa/bindings/NSFontCollection.rb +5 -5
- data/lib/cocoa/bindings/NSFontDescriptor.rb +1 -1
- data/lib/cocoa/bindings/NSFontManager.rb +10 -10
- data/lib/cocoa/bindings/NSFontPanel.rb +1 -1
- data/lib/cocoa/bindings/NSForm.rb +1 -1
- data/lib/cocoa/bindings/NSFormatter.rb +3 -3
- data/lib/cocoa/bindings/NSGlyphGenerator.rb +1 -1
- data/lib/cocoa/bindings/NSGlyphInfo.rb +3 -3
- data/lib/cocoa/bindings/NSGradient.rb +7 -7
- data/lib/cocoa/bindings/NSGraphicsContext.rb +1 -1
- data/lib/cocoa/bindings/NSHTTPCookie.rb +1 -1
- data/lib/cocoa/bindings/NSHTTPCookieStorage.rb +1 -1
- data/lib/cocoa/bindings/NSHTTPURLResponse.rb +1 -1
- data/lib/cocoa/bindings/NSHashTable.rb +2 -2
- data/lib/cocoa/bindings/NSHelpManager.rb +4 -4
- data/lib/cocoa/bindings/NSImage.rb +11 -11
- data/lib/cocoa/bindings/NSImageRep.rb +2 -2
- data/lib/cocoa/bindings/NSIndexPath.rb +2 -2
- data/lib/cocoa/bindings/NSIndexSet.rb +9 -9
- data/lib/cocoa/bindings/NSIndexSpecifier.rb +1 -1
- data/lib/cocoa/bindings/NSInputManager.rb +2 -2
- data/lib/cocoa/bindings/NSInputServer.rb +1 -1
- data/lib/cocoa/bindings/NSInputStream.rb +2 -2
- data/lib/cocoa/bindings/NSInvocation.rb +2 -2
- data/lib/cocoa/bindings/NSInvocationOperation.rb +1 -1
- data/lib/cocoa/bindings/NSJSONSerialization.rb +4 -4
- data/lib/cocoa/bindings/NSKeyedArchiver.rb +12 -12
- data/lib/cocoa/bindings/NSKeyedUnarchiver.rb +3 -3
- data/lib/cocoa/bindings/NSLayoutConstraint.rb +2 -2
- data/lib/cocoa/bindings/NSLayoutManager.rb +59 -59
- data/lib/cocoa/bindings/NSLinguisticTagger.rb +8 -8
- data/lib/cocoa/bindings/NSLocale.rb +1 -1
- data/lib/cocoa/bindings/NSMachBootstrapServer.rb +2 -2
- data/lib/cocoa/bindings/NSMachPort.rb +4 -4
- data/lib/cocoa/bindings/NSMapTable.rb +4 -4
- data/lib/cocoa/bindings/NSMatrix.rb +20 -20
- data/lib/cocoa/bindings/NSMenu.rb +7 -7
- data/lib/cocoa/bindings/NSMenuItem.rb +1 -1
- data/lib/cocoa/bindings/NSMenuItemCell.rb +6 -6
- data/lib/cocoa/bindings/NSMessagePortNameServer.rb +1 -1
- data/lib/cocoa/bindings/NSMetadataQuery.rb +1 -1
- data/lib/cocoa/bindings/NSMutableArray.rb +12 -12
- data/lib/cocoa/bindings/NSMutableAttributedString.rb +11 -11
- data/lib/cocoa/bindings/NSMutableData.rb +2 -2
- data/lib/cocoa/bindings/NSMutableDictionary.rb +2 -2
- data/lib/cocoa/bindings/NSMutableIndexSet.rb +1 -1
- data/lib/cocoa/bindings/NSMutableOrderedSet.rb +11 -11
- data/lib/cocoa/bindings/NSMutableString.rb +3 -3
- data/lib/cocoa/bindings/NSMutableURLRequest.rb +2 -2
- data/lib/cocoa/bindings/NSNameSpecifier.rb +1 -1
- data/lib/cocoa/bindings/NSNetService.rb +4 -4
- data/lib/cocoa/bindings/NSNetServiceBrowser.rb +3 -3
- data/lib/cocoa/bindings/NSNib.rb +4 -4
- data/lib/cocoa/bindings/NSNibConnector.rb +1 -1
- data/lib/cocoa/bindings/NSNotification.rb +1 -1
- data/lib/cocoa/bindings/NSNotificationCenter.rb +4 -4
- data/lib/cocoa/bindings/NSNotificationQueue.rb +2 -2
- data/lib/cocoa/bindings/NSNumberFormatter.rb +2 -2
- data/lib/cocoa/bindings/NSObject.rb +142 -142
- data/lib/cocoa/bindings/NSObjectController.rb +1 -1
- data/lib/cocoa/bindings/NSOpenGLContext.rb +8 -8
- data/lib/cocoa/bindings/NSOpenGLLayer.rb +2 -2
- data/lib/cocoa/bindings/NSOpenGLPixelBuffer.rb +1 -1
- data/lib/cocoa/bindings/NSOpenGLPixelFormat.rb +1 -1
- data/lib/cocoa/bindings/NSOpenGLView.rb +1 -1
- data/lib/cocoa/bindings/NSOpenPanel.rb +3 -3
- data/lib/cocoa/bindings/NSOperationQueue.rb +1 -1
- data/lib/cocoa/bindings/NSOrderedSet.rb +21 -21
- data/lib/cocoa/bindings/NSOrthography.rb +2 -2
- data/lib/cocoa/bindings/NSOutlineView.rb +7 -7
- data/lib/cocoa/bindings/NSOutputStream.rb +7 -7
- data/lib/cocoa/bindings/NSPageLayout.rb +1 -1
- data/lib/cocoa/bindings/NSPasteboard.rb +9 -9
- data/lib/cocoa/bindings/NSPasteboardItem.rb +4 -4
- data/lib/cocoa/bindings/NSPathCell.rb +4 -4
- data/lib/cocoa/bindings/NSPathControl.rb +1 -1
- data/lib/cocoa/bindings/NSPersistentDocument.rb +4 -4
- data/lib/cocoa/bindings/NSPointerArray.rb +2 -2
- data/lib/cocoa/bindings/NSPopUpButton.rb +3 -3
- data/lib/cocoa/bindings/NSPopUpButtonCell.rb +5 -5
- data/lib/cocoa/bindings/NSPopover.rb +1 -1
- data/lib/cocoa/bindings/NSPort.rb +5 -5
- data/lib/cocoa/bindings/NSPortCoder.rb +2 -2
- data/lib/cocoa/bindings/NSPortMessage.rb +1 -1
- data/lib/cocoa/bindings/NSPortNameServer.rb +2 -2
- data/lib/cocoa/bindings/NSPositionalSpecifier.rb +1 -1
- data/lib/cocoa/bindings/NSPredicate.rb +2 -2
- data/lib/cocoa/bindings/NSPredicateEditorRowTemplate.rb +2 -2
- data/lib/cocoa/bindings/NSPrintOperation.rb +4 -4
- data/lib/cocoa/bindings/NSPrintPanel.rb +1 -1
- data/lib/cocoa/bindings/NSPrinter.rb +9 -9
- data/lib/cocoa/bindings/NSPropertyListSerialization.rb +7 -7
- data/lib/cocoa/bindings/NSProtocolChecker.rb +2 -2
- data/lib/cocoa/bindings/NSRangeSpecifier.rb +1 -1
- data/lib/cocoa/bindings/NSRegularExpression.rb +10 -10
- data/lib/cocoa/bindings/NSRelativeSpecifier.rb +1 -1
- data/lib/cocoa/bindings/NSResponder.rb +5 -5
- data/lib/cocoa/bindings/NSRuleEditor.rb +4 -4
- data/lib/cocoa/bindings/NSRulerMarker.rb +2 -2
- data/lib/cocoa/bindings/NSRulerView.rb +4 -4
- data/lib/cocoa/bindings/NSRunLoop.rb +7 -7
- data/lib/cocoa/bindings/NSSavePanel.rb +3 -3
- data/lib/cocoa/bindings/NSScanner.rb +4 -4
- data/lib/cocoa/bindings/NSScreen.rb +1 -1
- data/lib/cocoa/bindings/NSScriptClassDescription.rb +1 -1
- data/lib/cocoa/bindings/NSScriptCoercionHandler.rb +2 -2
- data/lib/cocoa/bindings/NSScriptCommandDescription.rb +1 -1
- data/lib/cocoa/bindings/NSScriptObjectSpecifier.rb +3 -3
- data/lib/cocoa/bindings/NSScriptSuiteRegistry.rb +2 -2
- data/lib/cocoa/bindings/NSScrollView.rb +3 -3
- data/lib/cocoa/bindings/NSScroller.rb +4 -4
- data/lib/cocoa/bindings/NSSegmentedCell.rb +10 -10
- data/lib/cocoa/bindings/NSSegmentedControl.rb +7 -7
- data/lib/cocoa/bindings/NSSet.rb +9 -9
- data/lib/cocoa/bindings/NSSharingService.rb +1 -1
- data/lib/cocoa/bindings/NSSharingServicePicker.rb +1 -1
- data/lib/cocoa/bindings/NSSliderCell.rb +1 -1
- data/lib/cocoa/bindings/NSSocketPort.rb +3 -3
- data/lib/cocoa/bindings/NSSocketPortNameServer.rb +2 -2
- data/lib/cocoa/bindings/NSSortDescriptor.rb +3 -3
- data/lib/cocoa/bindings/NSSound.rb +2 -2
- data/lib/cocoa/bindings/NSSpecifierTest.rb +1 -1
- data/lib/cocoa/bindings/NSSpeechSynthesizer.rb +3 -3
- data/lib/cocoa/bindings/NSSpellChecker.rb +15 -15
- data/lib/cocoa/bindings/NSSpellServer.rb +2 -2
- data/lib/cocoa/bindings/NSSplitView.rb +2 -2
- data/lib/cocoa/bindings/NSStatusItem.rb +1 -1
- data/lib/cocoa/bindings/NSStream.rb +4 -4
- data/lib/cocoa/bindings/NSString.rb +39 -39
- data/lib/cocoa/bindings/NSTabView.rb +1 -1
- data/lib/cocoa/bindings/NSTabViewItem.rb +1 -1
- data/lib/cocoa/bindings/NSTableHeaderCell.rb +1 -1
- data/lib/cocoa/bindings/NSTableView.rb +25 -25
- data/lib/cocoa/bindings/NSTask.rb +1 -1
- data/lib/cocoa/bindings/NSText.rb +4 -4
- data/lib/cocoa/bindings/NSTextAlternatives.rb +1 -1
- data/lib/cocoa/bindings/NSTextBlock.rb +9 -9
- data/lib/cocoa/bindings/NSTextCheckingResult.rb +12 -12
- data/lib/cocoa/bindings/NSTextContainer.rb +1 -1
- data/lib/cocoa/bindings/NSTextList.rb +1 -1
- data/lib/cocoa/bindings/NSTextStorage.rb +1 -1
- data/lib/cocoa/bindings/NSTextTab.rb +2 -2
- data/lib/cocoa/bindings/NSTextTable.rb +3 -3
- data/lib/cocoa/bindings/NSTextTableBlock.rb +1 -1
- data/lib/cocoa/bindings/NSTextView.rb +27 -27
- data/lib/cocoa/bindings/NSThread.rb +2 -2
- data/lib/cocoa/bindings/NSTimeZone.rb +3 -3
- data/lib/cocoa/bindings/NSTimer.rb +3 -3
- data/lib/cocoa/bindings/NSToolbar.rb +1 -1
- data/lib/cocoa/bindings/NSTrackingArea.rb +1 -1
- data/lib/cocoa/bindings/NSTreeController.rb +4 -4
- data/lib/cocoa/bindings/NSTreeNode.rb +1 -1
- data/lib/cocoa/bindings/NSTypesetter.rb +24 -24
- data/lib/cocoa/bindings/NSURL.rb +18 -18
- data/lib/cocoa/bindings/NSURLAuthenticationChallenge.rb +2 -2
- data/lib/cocoa/bindings/NSURLCache.rb +2 -2
- data/lib/cocoa/bindings/NSURLConnection.rb +6 -6
- data/lib/cocoa/bindings/NSURLCredential.rb +4 -4
- data/lib/cocoa/bindings/NSURLCredentialStorage.rb +3 -3
- data/lib/cocoa/bindings/NSURLDownload.rb +3 -3
- data/lib/cocoa/bindings/NSURLHandle.rb +3 -3
- data/lib/cocoa/bindings/NSURLProtectionSpace.rb +2 -2
- data/lib/cocoa/bindings/NSURLProtocol.rb +5 -5
- data/lib/cocoa/bindings/NSURLRequest.rb +2 -2
- data/lib/cocoa/bindings/NSURLResponse.rb +1 -1
- data/lib/cocoa/bindings/NSUbiquitousKeyValueStore.rb +8 -8
- data/lib/cocoa/bindings/NSUnarchiver.rb +3 -3
- data/lib/cocoa/bindings/NSUndoManager.rb +1 -1
- data/lib/cocoa/bindings/NSUniqueIDSpecifier.rb +1 -1
- data/lib/cocoa/bindings/NSUserAppleScriptTask.rb +1 -1
- data/lib/cocoa/bindings/NSUserAutomatorTask.rb +1 -1
- data/lib/cocoa/bindings/NSUserDefaults.rb +9 -9
- data/lib/cocoa/bindings/NSUserDefaultsController.rb +1 -1
- data/lib/cocoa/bindings/NSUserScriptTask.rb +1 -1
- data/lib/cocoa/bindings/NSUserUnixTask.rb +1 -1
- data/lib/cocoa/bindings/NSValue.rb +3 -3
- data/lib/cocoa/bindings/NSValueTransformer.rb +1 -1
- data/lib/cocoa/bindings/NSView.rb +34 -34
- data/lib/cocoa/bindings/NSViewController.rb +2 -2
- data/lib/cocoa/bindings/NSWhoseSpecifier.rb +1 -1
- data/lib/cocoa/bindings/NSWindow.rb +22 -22
- data/lib/cocoa/bindings/NSWindowController.rb +2 -2
- data/lib/cocoa/bindings/NSWorkspace.rb +18 -18
- data/lib/cocoa/bindings/NSXMLDTD.rb +6 -6
- data/lib/cocoa/bindings/NSXMLDocument.rb +9 -9
- data/lib/cocoa/bindings/NSXMLElement.rb +7 -7
- data/lib/cocoa/bindings/NSXMLNode.rb +8 -8
- data/lib/cocoa/bindings/NSXPCConnection.rb +1 -1
- data/lib/cocoa/bindings/NSXPCInterface.rb +4 -4
- data/lib/cocoa/extensions.rb +7 -4
- data/lib/cocoa/helpers.rb +99 -179
- data/lib/cocoa/objc.rb +63 -217
- data/lib/cocoa/objc/method_def.rb +314 -0
- data/lib/cocoa/structs/NSRange.rb +3 -0
- data/lib/cocoa/structs/NSRect.rb +3 -0
- data/spec/cocoa/cocoa_spec.rb +99 -0
- data/spec/spec_helper.rb +1 -0
- data/tasks/generate.rake +6 -4
- metadata +37 -37
|
@@ -4,12 +4,12 @@ module Cocoa
|
|
|
4
4
|
class NSUnarchiver < Cocoa::NSCoder
|
|
5
5
|
attach_singular_method :classNameDecodedForArchiveClassName, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
|
|
6
6
|
attach_method :classNameDecodedForArchiveClassName, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
|
|
7
|
-
attach_singular_method :decodeClassName, :args=>2, :names=>[
|
|
8
|
-
attach_method :decodeClassName, :args=>2, :names=>[
|
|
7
|
+
attach_singular_method :decodeClassName, :args=>2, :names=>[:asClassName], :types=>["@", "@"], :retval=>"v"
|
|
8
|
+
attach_method :decodeClassName, :args=>2, :names=>[:asClassName], :types=>["@", "@"], :retval=>"v"
|
|
9
9
|
attach_method :initForReadingWithData, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
|
|
10
10
|
attach_method :isAtEnd, :args=>0, :names=>[], :types=>[], :retval=>"B"
|
|
11
11
|
attach_method :objectZone, :args=>0, :names=>[], :types=>[], :retval=>"^{_NSZone=}"
|
|
12
|
-
attach_method :replaceObject, :args=>2, :names=>[
|
|
12
|
+
attach_method :replaceObject, :args=>2, :names=>[:withObject], :types=>["@", "@"], :retval=>"v"
|
|
13
13
|
attach_method :setObjectZone, :args=>1, :names=>[], :types=>["^{_NSZone=}"], :retval=>"v"
|
|
14
14
|
attach_method :systemVersion, :args=>0, :names=>[], :types=>[], :retval=>"I"
|
|
15
15
|
attach_singular_method :unarchiveObjectWithData, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
|
|
@@ -20,7 +20,7 @@ module Cocoa
|
|
|
20
20
|
attach_method :redoActionName, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
21
21
|
attach_method :redoMenuItemTitle, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
22
22
|
attach_method :redoMenuTitleForUndoActionName, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
|
|
23
|
-
attach_method :registerUndoWithTarget, :args=>3, :names=>[
|
|
23
|
+
attach_method :registerUndoWithTarget, :args=>3, :names=>[:selector, :object], :types=>["@", ":", "@"], :retval=>"v"
|
|
24
24
|
attach_method :removeAllActions, :args=>0, :names=>[], :types=>[], :retval=>"v"
|
|
25
25
|
attach_method :removeAllActionsWithTarget, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
26
26
|
attach_method :runLoopModes, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
require 'cocoa/bindings/NSScriptObjectSpecifier'
|
|
3
3
|
module Cocoa
|
|
4
4
|
class NSUniqueIDSpecifier < Cocoa::NSScriptObjectSpecifier
|
|
5
|
-
attach_method :initWithContainerClassDescription, :args=>4, :names=>[
|
|
5
|
+
attach_method :initWithContainerClassDescription, :args=>4, :names=>[:containerSpecifier, :key, :uniqueID], :types=>["@", "@", "@", "@"], :retval=>"@"
|
|
6
6
|
attach_method :setUniqueID, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
7
7
|
attach_method :uniqueID, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
8
8
|
end
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
require 'cocoa/bindings/NSUserScriptTask'
|
|
3
3
|
module Cocoa
|
|
4
4
|
class NSUserAppleScriptTask < Cocoa::NSUserScriptTask
|
|
5
|
-
attach_method :executeWithAppleEvent, :args=>2, :names=>[
|
|
5
|
+
attach_method :executeWithAppleEvent, :args=>2, :names=>[:completionHandler], :types=>["@", "@?"], :retval=>"v"
|
|
6
6
|
end
|
|
7
7
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
require 'cocoa/bindings/NSUserScriptTask'
|
|
3
3
|
module Cocoa
|
|
4
4
|
class NSUserAutomatorTask < Cocoa::NSUserScriptTask
|
|
5
|
-
attach_method :executeWithInput, :args=>2, :names=>[
|
|
5
|
+
attach_method :executeWithInput, :args=>2, :names=>[:completionHandler], :types=>["@", "@?"], :retval=>"v"
|
|
6
6
|
attach_method :setVariables, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
7
7
|
attach_method :variables, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
8
8
|
end
|
|
@@ -15,7 +15,7 @@ module Cocoa
|
|
|
15
15
|
attach_method :initWithUser, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
|
|
16
16
|
attach_method :integerForKey, :args=>1, :names=>[], :types=>["@"], :retval=>"q"
|
|
17
17
|
attach_method :objectForKey, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
|
|
18
|
-
attach_method :objectIsForcedForKey, [{:args=>1, :names=>[], :types=>["@"], :retval=>"B"}, {:args=>2, :names=>[
|
|
18
|
+
attach_method :objectIsForcedForKey, [{:args=>1, :names=>[], :types=>["@"], :retval=>"B"}, {:args=>2, :names=>[:inDomain], :types=>["@", "@"], :retval=>"B"}]
|
|
19
19
|
attach_method :persistentDomainForName, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
|
|
20
20
|
attach_method :persistentDomainNames, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
21
21
|
attach_method :registerDefaults, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
@@ -24,14 +24,14 @@ module Cocoa
|
|
|
24
24
|
attach_method :removeSuiteNamed, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
25
25
|
attach_method :removeVolatileDomainForName, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
26
26
|
attach_singular_method :resetStandardUserDefaults, :args=>0, :names=>[], :types=>[], :retval=>"v"
|
|
27
|
-
attach_method :setBool, :args=>2, :names=>[
|
|
28
|
-
attach_method :setDouble, :args=>2, :names=>[
|
|
29
|
-
attach_method :setFloat, :args=>2, :names=>[
|
|
30
|
-
attach_method :setInteger, :args=>2, :names=>[
|
|
31
|
-
attach_method :setObject, :args=>2, :names=>[
|
|
32
|
-
attach_method :setPersistentDomain, :args=>2, :names=>[
|
|
33
|
-
attach_method :setURL, :args=>2, :names=>[
|
|
34
|
-
attach_method :setVolatileDomain, :args=>2, :names=>[
|
|
27
|
+
attach_method :setBool, :args=>2, :names=>[:forKey], :types=>["B", "@"], :retval=>"v"
|
|
28
|
+
attach_method :setDouble, :args=>2, :names=>[:forKey], :types=>["d", "@"], :retval=>"v"
|
|
29
|
+
attach_method :setFloat, :args=>2, :names=>[:forKey], :types=>["f", "@"], :retval=>"v"
|
|
30
|
+
attach_method :setInteger, :args=>2, :names=>[:forKey], :types=>["q", "@"], :retval=>"v"
|
|
31
|
+
attach_method :setObject, :args=>2, :names=>[:forKey], :types=>["@", "@"], :retval=>"v"
|
|
32
|
+
attach_method :setPersistentDomain, :args=>2, :names=>[:forName], :types=>["@", "@"], :retval=>"v"
|
|
33
|
+
attach_method :setURL, :args=>2, :names=>[:forKey], :types=>["@", "@"], :retval=>"v"
|
|
34
|
+
attach_method :setVolatileDomain, :args=>2, :names=>[:forName], :types=>["@", "@"], :retval=>"v"
|
|
35
35
|
attach_singular_method :standardUserDefaults, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
36
36
|
attach_method :stringArrayForKey, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
|
|
37
37
|
attach_method :stringForKey, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
|
|
@@ -5,7 +5,7 @@ module Cocoa
|
|
|
5
5
|
attach_method :appliesImmediately, :args=>0, :names=>[], :types=>[], :retval=>"B"
|
|
6
6
|
attach_method :defaults, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
7
7
|
attach_method :hasUnappliedChanges, :args=>0, :names=>[], :types=>[], :retval=>"B"
|
|
8
|
-
attach_method :initWithDefaults, :args=>2, :names=>[
|
|
8
|
+
attach_method :initWithDefaults, :args=>2, :names=>[:initialValues], :types=>["@", "@"], :retval=>"@"
|
|
9
9
|
attach_method :initialValues, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
10
10
|
attach_method :revert, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
11
11
|
attach_method :revertToInitialValues, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
@@ -3,7 +3,7 @@ require 'cocoa/bindings/NSObject'
|
|
|
3
3
|
module Cocoa
|
|
4
4
|
class NSUserScriptTask < Cocoa::NSObject
|
|
5
5
|
attach_method :executeWithCompletionHandler, :args=>1, :names=>[], :types=>["@?"], :retval=>"v"
|
|
6
|
-
attach_method :initWithURL, :args=>2, :names=>[
|
|
6
|
+
attach_method :initWithURL, :args=>2, :names=>[:error], :types=>["@", "^@"], :retval=>"@"
|
|
7
7
|
attach_method :scriptURL, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
8
8
|
end
|
|
9
9
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
require 'cocoa/bindings/NSUserScriptTask'
|
|
3
3
|
module Cocoa
|
|
4
4
|
class NSUserUnixTask < Cocoa::NSUserScriptTask
|
|
5
|
-
attach_method :executeWithArguments, :args=>2, :names=>[
|
|
5
|
+
attach_method :executeWithArguments, :args=>2, :names=>[:completionHandler], :types=>["@", "@?"], :retval=>"v"
|
|
6
6
|
attach_method :setStandardError, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
7
7
|
attach_method :setStandardInput, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
8
8
|
attach_method :setStandardOutput, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
@@ -4,7 +4,7 @@ module Cocoa
|
|
|
4
4
|
class NSValue < Cocoa::NSObject
|
|
5
5
|
attach_method :CATransform3DValue, :args=>0, :names=>[], :types=>[], :retval=>"{CATransform3D=dddddddddddddddd}"
|
|
6
6
|
attach_method :getValue, :args=>1, :names=>[], :types=>["^v"], :retval=>"v"
|
|
7
|
-
attach_method :initWithBytes, :args=>2, :names=>[
|
|
7
|
+
attach_method :initWithBytes, :args=>2, :names=>[:objCType], :types=>["^v", "*"], :retval=>"@"
|
|
8
8
|
attach_method :isEqualToValue, :args=>1, :names=>[], :types=>["@"], :retval=>"B"
|
|
9
9
|
attach_method :nonretainedObjectValue, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
10
10
|
attach_method :objCType, :args=>0, :names=>[], :types=>[], :retval=>"*"
|
|
@@ -13,8 +13,8 @@ module Cocoa
|
|
|
13
13
|
attach_method :rangeValue, :args=>0, :names=>[], :types=>[], :retval=>"{_NSRange=QQ}"
|
|
14
14
|
attach_method :rectValue, :args=>0, :names=>[], :types=>[], :retval=>"{CGRect={CGPoint=dd}{CGSize=dd}}"
|
|
15
15
|
attach_method :sizeValue, :args=>0, :names=>[], :types=>[], :retval=>"{CGSize=dd}"
|
|
16
|
-
attach_singular_method :value, :args=>2, :names=>[
|
|
17
|
-
attach_singular_method :valueWithBytes, :args=>2, :names=>[
|
|
16
|
+
attach_singular_method :value, :args=>2, :names=>[:withObjCType], :types=>["^v", "*"], :retval=>"@"
|
|
17
|
+
attach_singular_method :valueWithBytes, :args=>2, :names=>[:objCType], :types=>["^v", "*"], :retval=>"@"
|
|
18
18
|
attach_singular_method :valueWithCATransform3D, :args=>1, :names=>[], :types=>["{CATransform3D=dddddddddddddddd}"], :retval=>"@"
|
|
19
19
|
attach_singular_method :valueWithNonretainedObject, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
|
|
20
20
|
attach_singular_method :valueWithPoint, :args=>1, :names=>[], :types=>["{CGPoint=dd}"], :retval=>"@"
|
|
@@ -4,7 +4,7 @@ module Cocoa
|
|
|
4
4
|
class NSValueTransformer < Cocoa::NSObject
|
|
5
5
|
attach_singular_method :allowsReverseTransformation, :args=>0, :names=>[], :types=>[], :retval=>"B"
|
|
6
6
|
attach_method :reverseTransformedValue, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
|
|
7
|
-
attach_singular_method :setValueTransformer, :args=>2, :names=>[
|
|
7
|
+
attach_singular_method :setValueTransformer, :args=>2, :names=>[:forName], :types=>["@", "@"], :retval=>"v"
|
|
8
8
|
attach_method :transformedValue, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
|
|
9
9
|
attach_singular_method :transformedValueClass, :args=>0, :names=>[], :types=>[], :retval=>"#"
|
|
10
10
|
attach_singular_method :valueTransformerForName, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
|
|
@@ -6,13 +6,13 @@ module Cocoa
|
|
|
6
6
|
attach_method :acceptsTouchEvents, :args=>0, :names=>[], :types=>[], :retval=>"B"
|
|
7
7
|
attach_method :addConstraint, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
8
8
|
attach_method :addConstraints, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
9
|
-
attach_method :addCursorRect, :args=>2, :names=>[
|
|
10
|
-
attach_method :addSubview, [{:args=>1, :names=>[], :types=>["@"], :retval=>"v"}, {:args=>3, :names=>[
|
|
11
|
-
attach_method :addToolTipRect, :args=>3, :names=>[
|
|
9
|
+
attach_method :addCursorRect, :args=>2, :names=>[:cursor], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}", "@"], :retval=>"v"
|
|
10
|
+
attach_method :addSubview, [{:args=>1, :names=>[], :types=>["@"], :retval=>"v"}, {:args=>3, :names=>[:positioned, :relativeTo], :types=>["@", "q", "@"], :retval=>"v"}]
|
|
11
|
+
attach_method :addToolTipRect, :args=>3, :names=>[:owner, :userData], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}", "@", "^v"], :retval=>"q"
|
|
12
12
|
attach_method :addTrackingArea, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
13
|
-
attach_method :addTrackingRect, :args=>4, :names=>[
|
|
14
|
-
attach_method :adjustPageHeightNew, :args=>4, :names=>[
|
|
15
|
-
attach_method :adjustPageWidthNew, :args=>4, :names=>[
|
|
13
|
+
attach_method :addTrackingRect, :args=>4, :names=>[:owner, :userData, :assumeInside], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}", "@", "^v", "B"], :retval=>"q"
|
|
14
|
+
attach_method :adjustPageHeightNew, :args=>4, :names=>[:top, :bottom, :limit], :types=>["^d", "d", "d", "d"], :retval=>"v"
|
|
15
|
+
attach_method :adjustPageWidthNew, :args=>4, :names=>[:left, :right, :limit], :types=>["^d", "d", "d", "d"], :retval=>"v"
|
|
16
16
|
attach_method :adjustScroll, :args=>1, :names=>[], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}"], :retval=>"{CGRect={CGPoint=dd}{CGSize=dd}}"
|
|
17
17
|
attach_method :alignmentRectForFrame, :args=>1, :names=>[], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}"], :retval=>"{CGRect={CGPoint=dd}{CGSize=dd}}"
|
|
18
18
|
attach_method :alignmentRectInsets, :args=>0, :names=>[], :types=>[], :retval=>"{_NSEdgeInsets=dddd}"
|
|
@@ -23,15 +23,15 @@ module Cocoa
|
|
|
23
23
|
attach_method :autoresizingMask, :args=>0, :names=>[], :types=>[], :retval=>"Q"
|
|
24
24
|
attach_method :autoscroll, :args=>1, :names=>[], :types=>["@"], :retval=>"B"
|
|
25
25
|
attach_method :backgroundFilters, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
26
|
-
attach_method :backingAlignedRect, :args=>2, :names=>[
|
|
26
|
+
attach_method :backingAlignedRect, :args=>2, :names=>[:options], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}", "Q"], :retval=>"{CGRect={CGPoint=dd}{CGSize=dd}}"
|
|
27
27
|
attach_method :baselineOffsetFromBottom, :args=>0, :names=>[], :types=>[], :retval=>"d"
|
|
28
28
|
attach_method :beginDocument, :args=>0, :names=>[], :types=>[], :retval=>"v"
|
|
29
|
-
attach_method :beginDraggingSessionWithItems, :args=>3, :names=>[
|
|
30
|
-
attach_method :beginPageInRect, :args=>2, :names=>[
|
|
29
|
+
attach_method :beginDraggingSessionWithItems, :args=>3, :names=>[:event, :source], :types=>["@", "@", "@"], :retval=>"@"
|
|
30
|
+
attach_method :beginPageInRect, :args=>2, :names=>[:atPlacement], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}", "{CGPoint=dd}"], :retval=>"v"
|
|
31
31
|
attach_method :bitmapImageRepForCachingDisplayInRect, :args=>1, :names=>[], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}"], :retval=>"@"
|
|
32
32
|
attach_method :bounds, :args=>0, :names=>[], :types=>[], :retval=>"{CGRect={CGPoint=dd}{CGSize=dd}}"
|
|
33
33
|
attach_method :boundsRotation, :args=>0, :names=>[], :types=>[], :retval=>"d"
|
|
34
|
-
attach_method :cacheDisplayInRect, :args=>2, :names=>[
|
|
34
|
+
attach_method :cacheDisplayInRect, :args=>2, :names=>[:toBitmapImageRep], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}", "@"], :retval=>"v"
|
|
35
35
|
attach_method :canBecomeKeyView, :args=>0, :names=>[], :types=>[], :retval=>"B"
|
|
36
36
|
attach_method :canDraw, :args=>0, :names=>[], :types=>[], :retval=>"B"
|
|
37
37
|
attach_method :canDrawConcurrently, :args=>0, :names=>[], :types=>[], :retval=>"B"
|
|
@@ -42,21 +42,21 @@ module Cocoa
|
|
|
42
42
|
attach_method :contentCompressionResistancePriorityForOrientation, :args=>1, :names=>[], :types=>["q"], :retval=>"f"
|
|
43
43
|
attach_method :contentFilters, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
44
44
|
attach_method :contentHuggingPriorityForOrientation, :args=>1, :names=>[], :types=>["q"], :retval=>"f"
|
|
45
|
-
attach_method :convertPoint, [{:args=>2, :names=>[
|
|
45
|
+
attach_method :convertPoint, [{:args=>2, :names=>[:fromView], :types=>["{CGPoint=dd}", "@"], :retval=>"{CGPoint=dd}"}, {:args=>2, :names=>[:toView], :types=>["{CGPoint=dd}", "@"], :retval=>"{CGPoint=dd}"}]
|
|
46
46
|
attach_method :convertPointFromBacking, :args=>1, :names=>[], :types=>["{CGPoint=dd}"], :retval=>"{CGPoint=dd}"
|
|
47
47
|
attach_method :convertPointFromBase, :args=>1, :names=>[], :types=>["{CGPoint=dd}"], :retval=>"{CGPoint=dd}"
|
|
48
48
|
attach_method :convertPointFromLayer, :args=>1, :names=>[], :types=>["{CGPoint=dd}"], :retval=>"{CGPoint=dd}"
|
|
49
49
|
attach_method :convertPointToBacking, :args=>1, :names=>[], :types=>["{CGPoint=dd}"], :retval=>"{CGPoint=dd}"
|
|
50
50
|
attach_method :convertPointToBase, :args=>1, :names=>[], :types=>["{CGPoint=dd}"], :retval=>"{CGPoint=dd}"
|
|
51
51
|
attach_method :convertPointToLayer, :args=>1, :names=>[], :types=>["{CGPoint=dd}"], :retval=>"{CGPoint=dd}"
|
|
52
|
-
attach_method :convertRect, [{:args=>2, :names=>[
|
|
52
|
+
attach_method :convertRect, [{:args=>2, :names=>[:fromView], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}", "@"], :retval=>"{CGRect={CGPoint=dd}{CGSize=dd}}"}, {:args=>2, :names=>[:toView], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}", "@"], :retval=>"{CGRect={CGPoint=dd}{CGSize=dd}}"}]
|
|
53
53
|
attach_method :convertRectFromBacking, :args=>1, :names=>[], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}"], :retval=>"{CGRect={CGPoint=dd}{CGSize=dd}}"
|
|
54
54
|
attach_method :convertRectFromBase, :args=>1, :names=>[], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}"], :retval=>"{CGRect={CGPoint=dd}{CGSize=dd}}"
|
|
55
55
|
attach_method :convertRectFromLayer, :args=>1, :names=>[], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}"], :retval=>"{CGRect={CGPoint=dd}{CGSize=dd}}"
|
|
56
56
|
attach_method :convertRectToBacking, :args=>1, :names=>[], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}"], :retval=>"{CGRect={CGPoint=dd}{CGSize=dd}}"
|
|
57
57
|
attach_method :convertRectToBase, :args=>1, :names=>[], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}"], :retval=>"{CGRect={CGPoint=dd}{CGSize=dd}}"
|
|
58
58
|
attach_method :convertRectToLayer, :args=>1, :names=>[], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}"], :retval=>"{CGRect={CGPoint=dd}{CGSize=dd}}"
|
|
59
|
-
attach_method :convertSize, [{:args=>2, :names=>[
|
|
59
|
+
attach_method :convertSize, [{:args=>2, :names=>[:fromView], :types=>["{CGSize=dd}", "@"], :retval=>"{CGSize=dd}"}, {:args=>2, :names=>[:toView], :types=>["{CGSize=dd}", "@"], :retval=>"{CGSize=dd}"}]
|
|
60
60
|
attach_method :convertSizeFromBacking, :args=>1, :names=>[], :types=>["{CGSize=dd}"], :retval=>"{CGSize=dd}"
|
|
61
61
|
attach_method :convertSizeFromBase, :args=>1, :names=>[], :types=>["{CGSize=dd}"], :retval=>"{CGSize=dd}"
|
|
62
62
|
attach_method :convertSizeFromLayer, :args=>1, :names=>[], :types=>["{CGSize=dd}"], :retval=>"{CGSize=dd}"
|
|
@@ -75,10 +75,10 @@ module Cocoa
|
|
|
75
75
|
attach_method :displayIfNeededInRect, :args=>1, :names=>[], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}"], :retval=>"v"
|
|
76
76
|
attach_method :displayIfNeededInRectIgnoringOpacity, :args=>1, :names=>[], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}"], :retval=>"v"
|
|
77
77
|
attach_method :displayRect, :args=>1, :names=>[], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}"], :retval=>"v"
|
|
78
|
-
attach_method :displayRectIgnoringOpacity, [{:args=>1, :names=>[], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}"], :retval=>"v"}, {:args=>2, :names=>[
|
|
79
|
-
attach_method :dragFile, :args=>4, :names=>[
|
|
80
|
-
attach_method :dragImage, :args=>7, :names=>[
|
|
81
|
-
attach_method :dragPromisedFilesOfTypes, :args=>5, :names=>[
|
|
78
|
+
attach_method :displayRectIgnoringOpacity, [{:args=>1, :names=>[], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}"], :retval=>"v"}, {:args=>2, :names=>[:inContext], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}", "@"], :retval=>"v"}]
|
|
79
|
+
attach_method :dragFile, :args=>4, :names=>[:fromRect, :slideBack, :event], :types=>["@", "{CGRect={CGPoint=dd}{CGSize=dd}}", "B", "@"], :retval=>"B"
|
|
80
|
+
attach_method :dragImage, :args=>7, :names=>[:at, :offset, :event, :pasteboard, :source, :slideBack], :types=>["@", "{CGPoint=dd}", "{CGSize=dd}", "@", "@", "@", "B"], :retval=>"v"
|
|
81
|
+
attach_method :dragPromisedFilesOfTypes, :args=>5, :names=>[:fromRect, :source, :slideBack, :event], :types=>["@", "{CGRect={CGPoint=dd}{CGSize=dd}}", "@", "B", "@"], :retval=>"B"
|
|
82
82
|
attach_method :drawFocusRingMask, :args=>0, :names=>[], :types=>[], :retval=>"v"
|
|
83
83
|
attach_method :drawPageBorderWithSize, :args=>1, :names=>[], :types=>["{CGSize=dd}"], :retval=>"v"
|
|
84
84
|
attach_method :drawRect, :args=>1, :names=>[], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}"], :retval=>"v"
|
|
@@ -87,7 +87,7 @@ module Cocoa
|
|
|
87
87
|
attach_method :enclosingScrollView, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
88
88
|
attach_method :endDocument, :args=>0, :names=>[], :types=>[], :retval=>"v"
|
|
89
89
|
attach_method :endPage, :args=>0, :names=>[], :types=>[], :retval=>"v"
|
|
90
|
-
attach_method :enterFullScreenMode, :args=>2, :names=>[
|
|
90
|
+
attach_method :enterFullScreenMode, :args=>2, :names=>[:withOptions], :types=>["@", "@"], :retval=>"B"
|
|
91
91
|
attach_method :exerciseAmbiguityInLayout, :args=>0, :names=>[], :types=>[], :retval=>"v"
|
|
92
92
|
attach_method :exitFullScreenModeWithOptions, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
93
93
|
attach_method :fittingSize, :args=>0, :names=>[], :types=>[], :retval=>"{CGSize=dd}"
|
|
@@ -99,8 +99,8 @@ module Cocoa
|
|
|
99
99
|
attach_method :frameForAlignmentRect, :args=>1, :names=>[], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}"], :retval=>"{CGRect={CGPoint=dd}{CGSize=dd}}"
|
|
100
100
|
attach_method :frameRotation, :args=>0, :names=>[], :types=>[], :retval=>"d"
|
|
101
101
|
attach_method :gState, :args=>0, :names=>[], :types=>[], :retval=>"q"
|
|
102
|
-
attach_method :getRectsBeingDrawn, :args=>2, :names=>[
|
|
103
|
-
attach_method :getRectsExposedDuringLiveResize, :args=>2, :names=>[
|
|
102
|
+
attach_method :getRectsBeingDrawn, :args=>2, :names=>[:count], :types=>["^^{CGRect}", "^q"], :retval=>"v"
|
|
103
|
+
attach_method :getRectsExposedDuringLiveResize, :args=>2, :names=>[:count], :types=>["^{CGRect={CGPoint=dd}{CGSize=dd}}", "^q"], :retval=>"v"
|
|
104
104
|
attach_method :hasAmbiguousLayout, :args=>0, :names=>[], :types=>[], :retval=>"B"
|
|
105
105
|
attach_method :heightAdjustLimit, :args=>0, :names=>[], :types=>[], :retval=>"d"
|
|
106
106
|
attach_method :hitTest, :args=>1, :names=>[], :types=>["{CGPoint=dd}"], :retval=>"@"
|
|
@@ -130,7 +130,7 @@ module Cocoa
|
|
|
130
130
|
attach_method :lockFocusIfCanDrawInContext, :args=>1, :names=>[], :types=>["@"], :retval=>"B"
|
|
131
131
|
attach_method :makeBackingLayer, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
132
132
|
attach_method :menuForEvent, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
|
|
133
|
-
attach_method :mouse, :args=>2, :names=>[
|
|
133
|
+
attach_method :mouse, :args=>2, :names=>[:inRect], :types=>["{CGPoint=dd}", "{CGRect={CGPoint=dd}{CGSize=dd}}"], :retval=>"B"
|
|
134
134
|
attach_method :mouseDownCanMoveWindow, :args=>0, :names=>[], :types=>[], :retval=>"B"
|
|
135
135
|
attach_method :needsDisplay, :args=>0, :names=>[], :types=>[], :retval=>"B"
|
|
136
136
|
attach_method :needsLayout, :args=>0, :names=>[], :types=>[], :retval=>"B"
|
|
@@ -153,7 +153,7 @@ module Cocoa
|
|
|
153
153
|
attach_method :print, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
154
154
|
attach_method :printJobTitle, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
155
155
|
attach_method :rectForPage, :args=>1, :names=>[], :types=>["q"], :retval=>"{CGRect={CGPoint=dd}{CGSize=dd}}"
|
|
156
|
-
attach_method :rectForSmartMagnificationAtPoint, :args=>2, :names=>[
|
|
156
|
+
attach_method :rectForSmartMagnificationAtPoint, :args=>2, :names=>[:inRect], :types=>["{CGPoint=dd}", "{CGRect={CGPoint=dd}{CGSize=dd}}"], :retval=>"{CGRect={CGPoint=dd}{CGSize=dd}}"
|
|
157
157
|
attach_method :rectPreservedDuringLiveResize, :args=>0, :names=>[], :types=>[], :retval=>"{CGRect={CGPoint=dd}{CGSize=dd}}"
|
|
158
158
|
attach_method :reflectScrolledClipView, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
159
159
|
attach_method :registerForDraggedTypes, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
@@ -162,24 +162,24 @@ module Cocoa
|
|
|
162
162
|
attach_method :removeAllToolTips, :args=>0, :names=>[], :types=>[], :retval=>"v"
|
|
163
163
|
attach_method :removeConstraint, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
164
164
|
attach_method :removeConstraints, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
165
|
-
attach_method :removeCursorRect, :args=>2, :names=>[
|
|
165
|
+
attach_method :removeCursorRect, :args=>2, :names=>[:cursor], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}", "@"], :retval=>"v"
|
|
166
166
|
attach_method :removeFromSuperview, :args=>0, :names=>[], :types=>[], :retval=>"v"
|
|
167
167
|
attach_method :removeFromSuperviewWithoutNeedingDisplay, :args=>0, :names=>[], :types=>[], :retval=>"v"
|
|
168
168
|
attach_method :removeToolTip, :args=>1, :names=>[], :types=>["q"], :retval=>"v"
|
|
169
169
|
attach_method :removeTrackingArea, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
170
170
|
attach_method :removeTrackingRect, :args=>1, :names=>[], :types=>["q"], :retval=>"v"
|
|
171
171
|
attach_method :renewGState, :args=>0, :names=>[], :types=>[], :retval=>"v"
|
|
172
|
-
attach_method :replaceSubview, :args=>2, :names=>[
|
|
172
|
+
attach_method :replaceSubview, :args=>2, :names=>[:with], :types=>["@", "@"], :retval=>"v"
|
|
173
173
|
attach_singular_method :requiresConstraintBasedLayout, :args=>0, :names=>[], :types=>[], :retval=>"B"
|
|
174
174
|
attach_method :resetCursorRects, :args=>0, :names=>[], :types=>[], :retval=>"v"
|
|
175
175
|
attach_method :resizeSubviewsWithOldSize, :args=>1, :names=>[], :types=>["{CGSize=dd}"], :retval=>"v"
|
|
176
176
|
attach_method :resizeWithOldSuperviewSize, :args=>1, :names=>[], :types=>["{CGSize=dd}"], :retval=>"v"
|
|
177
177
|
attach_method :rotateByAngle, :args=>1, :names=>[], :types=>["d"], :retval=>"v"
|
|
178
|
-
attach_method :rulerView, [{:args=>2, :names=>[
|
|
178
|
+
attach_method :rulerView, [{:args=>2, :names=>[:didAddMarker], :types=>["@", "@"], :retval=>"v"}, {:args=>2, :names=>[:didMoveMarker], :types=>["@", "@"], :retval=>"v"}, {:args=>2, :names=>[:didRemoveMarker], :types=>["@", "@"], :retval=>"v"}, {:args=>2, :names=>[:handleMouseDown], :types=>["@", "@"], :retval=>"v"}, {:args=>2, :names=>[:locationForPoint], :types=>["@", "{CGPoint=dd}"], :retval=>"d"}, {:args=>2, :names=>[:pointForLocation], :types=>["@", "d"], :retval=>"{CGPoint=dd}"}, {:args=>2, :names=>[:shouldAddMarker], :types=>["@", "@"], :retval=>"B"}, {:args=>2, :names=>[:shouldMoveMarker], :types=>["@", "@"], :retval=>"B"}, {:args=>2, :names=>[:shouldRemoveMarker], :types=>["@", "@"], :retval=>"B"}, {:args=>3, :names=>[:willAddMarker, :atLocation], :types=>["@", "@", "d"], :retval=>"d"}, {:args=>3, :names=>[:willMoveMarker, :toLocation], :types=>["@", "@", "d"], :retval=>"d"}, {:args=>2, :names=>[:willSetClientView], :types=>["@", "@"], :retval=>"v"}]
|
|
179
179
|
attach_method :scaleUnitSquareToSize, :args=>1, :names=>[], :types=>["{CGSize=dd}"], :retval=>"v"
|
|
180
|
-
attach_method :scrollClipView, :args=>2, :names=>[
|
|
180
|
+
attach_method :scrollClipView, :args=>2, :names=>[:toPoint], :types=>["@", "{CGPoint=dd}"], :retval=>"v"
|
|
181
181
|
attach_method :scrollPoint, :args=>1, :names=>[], :types=>["{CGPoint=dd}"], :retval=>"v"
|
|
182
|
-
attach_method :scrollRect, :args=>2, :names=>[
|
|
182
|
+
attach_method :scrollRect, :args=>2, :names=>[:by], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}", "{CGSize=dd}"], :retval=>"v"
|
|
183
183
|
attach_method :scrollRectToVisible, :args=>1, :names=>[], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}"], :retval=>"B"
|
|
184
184
|
attach_method :setAcceptsTouchEvents, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
|
|
185
185
|
attach_method :setAlphaValue, :args=>1, :names=>[], :types=>["d"], :retval=>"v"
|
|
@@ -192,9 +192,9 @@ module Cocoa
|
|
|
192
192
|
attach_method :setBoundsSize, :args=>1, :names=>[], :types=>["{CGSize=dd}"], :retval=>"v"
|
|
193
193
|
attach_method :setCanDrawConcurrently, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
|
|
194
194
|
attach_method :setCompositingFilter, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
195
|
-
attach_method :setContentCompressionResistancePriority, :args=>2, :names=>[
|
|
195
|
+
attach_method :setContentCompressionResistancePriority, :args=>2, :names=>[:forOrientation], :types=>["f", "q"], :retval=>"v"
|
|
196
196
|
attach_method :setContentFilters, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
197
|
-
attach_method :setContentHuggingPriority, :args=>2, :names=>[
|
|
197
|
+
attach_method :setContentHuggingPriority, :args=>2, :names=>[:forOrientation], :types=>["f", "q"], :retval=>"v"
|
|
198
198
|
attach_method :setFocusRingType, :args=>1, :names=>[], :types=>["Q"], :retval=>"v"
|
|
199
199
|
attach_method :setFrame, :args=>1, :names=>[], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}"], :retval=>"v"
|
|
200
200
|
attach_method :setFrameCenterRotation, :args=>1, :names=>[], :types=>["d"], :retval=>"v"
|
|
@@ -224,15 +224,15 @@ module Cocoa
|
|
|
224
224
|
attach_method :shadow, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
225
225
|
attach_method :shouldDelayWindowOrderingForEvent, :args=>1, :names=>[], :types=>["@"], :retval=>"B"
|
|
226
226
|
attach_method :shouldDrawColor, :args=>0, :names=>[], :types=>[], :retval=>"B"
|
|
227
|
-
attach_method :showDefinitionForAttributedString, [{:args=>2, :names=>[
|
|
228
|
-
attach_method :sortSubviewsUsingFunction, :args=>2, :names=>[
|
|
227
|
+
attach_method :showDefinitionForAttributedString, [{:args=>2, :names=>[:atPoint], :types=>["@", "{CGPoint=dd}"], :retval=>"v"}, {:args=>4, :names=>[:range, :options, :baselineOriginProvider], :types=>["@", "{_NSRange=QQ}", "@", "@?"], :retval=>"v"}]
|
|
228
|
+
attach_method :sortSubviewsUsingFunction, :args=>2, :names=>[:context], :types=>["^?", "^v"], :retval=>"v"
|
|
229
229
|
attach_method :subviews, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
230
230
|
attach_method :superview, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
231
231
|
attach_method :tag, :args=>0, :names=>[], :types=>[], :retval=>"q"
|
|
232
232
|
attach_method :toolTip, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
233
233
|
attach_method :trackingAreas, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
234
234
|
attach_method :translateOriginToPoint, :args=>1, :names=>[], :types=>["{CGPoint=dd}"], :retval=>"v"
|
|
235
|
-
attach_method :translateRectsNeedingDisplayInRect, :args=>2, :names=>[
|
|
235
|
+
attach_method :translateRectsNeedingDisplayInRect, :args=>2, :names=>[:by], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}", "{CGSize=dd}"], :retval=>"v"
|
|
236
236
|
attach_method :translatesAutoresizingMaskIntoConstraints, :args=>0, :names=>[], :types=>[], :retval=>"B"
|
|
237
237
|
attach_method :unlockFocus, :args=>0, :names=>[], :types=>[], :retval=>"v"
|
|
238
238
|
attach_method :unregisterDraggedTypes, :args=>0, :names=>[], :types=>[], :retval=>"v"
|
|
@@ -260,7 +260,7 @@ module Cocoa
|
|
|
260
260
|
attach_method :widthAdjustLimit, :args=>0, :names=>[], :types=>[], :retval=>"d"
|
|
261
261
|
attach_method :willRemoveSubview, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
262
262
|
attach_method :window, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
263
|
-
attach_method :writeEPSInsideRect, :args=>2, :names=>[
|
|
264
|
-
attach_method :writePDFInsideRect, :args=>2, :names=>[
|
|
263
|
+
attach_method :writeEPSInsideRect, :args=>2, :names=>[:toPasteboard], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}", "@"], :retval=>"v"
|
|
264
|
+
attach_method :writePDFInsideRect, :args=>2, :names=>[:toPasteboard], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}", "@"], :retval=>"v"
|
|
265
265
|
end
|
|
266
266
|
end
|
|
@@ -3,9 +3,9 @@ require 'cocoa/bindings/NSResponder'
|
|
|
3
3
|
module Cocoa
|
|
4
4
|
class NSViewController < Cocoa::NSResponder
|
|
5
5
|
attach_method :commitEditing, :args=>0, :names=>[], :types=>[], :retval=>"B"
|
|
6
|
-
attach_method :commitEditingWithDelegate, :args=>3, :names=>[
|
|
6
|
+
attach_method :commitEditingWithDelegate, :args=>3, :names=>[:didCommitSelector, :contextInfo], :types=>["@", ":", "^v"], :retval=>"v"
|
|
7
7
|
attach_method :discardEditing, :args=>0, :names=>[], :types=>[], :retval=>"v"
|
|
8
|
-
attach_method :initWithNibName, :args=>2, :names=>[
|
|
8
|
+
attach_method :initWithNibName, :args=>2, :names=>[:bundle], :types=>["@", "@"], :retval=>"@"
|
|
9
9
|
attach_method :loadView, :args=>0, :names=>[], :types=>[], :retval=>"v"
|
|
10
10
|
attach_method :nibBundle, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
11
11
|
attach_method :nibName, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
@@ -4,7 +4,7 @@ module Cocoa
|
|
|
4
4
|
class NSWhoseSpecifier < Cocoa::NSScriptObjectSpecifier
|
|
5
5
|
attach_method :endSubelementIdentifier, :args=>0, :names=>[], :types=>[], :retval=>"Q"
|
|
6
6
|
attach_method :endSubelementIndex, :args=>0, :names=>[], :types=>[], :retval=>"q"
|
|
7
|
-
attach_method :initWithContainerClassDescription, :args=>4, :names=>[
|
|
7
|
+
attach_method :initWithContainerClassDescription, :args=>4, :names=>[:containerSpecifier, :key, :test], :types=>["@", "@", "@", "@"], :retval=>"@"
|
|
8
8
|
attach_method :setEndSubelementIdentifier, :args=>1, :names=>[], :types=>["Q"], :retval=>"v"
|
|
9
9
|
attach_method :setEndSubelementIndex, :args=>1, :names=>[], :types=>["q"], :retval=>"v"
|
|
10
10
|
attach_method :setStartSubelementIdentifier, :args=>1, :names=>[], :types=>["Q"], :retval=>"v"
|
|
@@ -3,7 +3,7 @@ require 'cocoa/bindings/NSResponder'
|
|
|
3
3
|
module Cocoa
|
|
4
4
|
class NSWindow < Cocoa::NSResponder
|
|
5
5
|
attach_method :acceptsMouseMovedEvents, :args=>0, :names=>[], :types=>[], :retval=>"B"
|
|
6
|
-
attach_method :addChildWindow, :args=>2, :names=>[
|
|
6
|
+
attach_method :addChildWindow, :args=>2, :names=>[:ordered], :types=>["@", "q"], :retval=>"v"
|
|
7
7
|
attach_method :allowsConcurrentViewDrawing, :args=>0, :names=>[], :types=>[], :retval=>"B"
|
|
8
8
|
attach_method :allowsToolTipsWhenApplicationIsInactive, :args=>0, :names=>[], :types=>[], :retval=>"B"
|
|
9
9
|
attach_method :alphaValue, :args=>0, :names=>[], :types=>[], :retval=>"d"
|
|
@@ -16,7 +16,7 @@ module Cocoa
|
|
|
16
16
|
attach_method :autorecalculatesContentBorderThicknessForEdge, :args=>1, :names=>[], :types=>["Q"], :retval=>"B"
|
|
17
17
|
attach_method :autorecalculatesKeyViewLoop, :args=>0, :names=>[], :types=>[], :retval=>"B"
|
|
18
18
|
attach_method :backgroundColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
19
|
-
attach_method :backingAlignedRect, :args=>2, :names=>[
|
|
19
|
+
attach_method :backingAlignedRect, :args=>2, :names=>[:options], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}", "Q"], :retval=>"{CGRect={CGPoint=dd}{CGSize=dd}}"
|
|
20
20
|
attach_method :backingLocation, :args=>0, :names=>[], :types=>[], :retval=>"Q"
|
|
21
21
|
attach_method :backingScaleFactor, :args=>0, :names=>[], :types=>[], :retval=>"d"
|
|
22
22
|
attach_method :backingType, :args=>0, :names=>[], :types=>[], :retval=>"Q"
|
|
@@ -35,13 +35,13 @@ module Cocoa
|
|
|
35
35
|
attach_method :close, :args=>0, :names=>[], :types=>[], :retval=>"v"
|
|
36
36
|
attach_method :collectionBehavior, :args=>0, :names=>[], :types=>[], :retval=>"Q"
|
|
37
37
|
attach_method :colorSpace, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
38
|
-
attach_method :constrainFrameRect, :args=>2, :names=>[
|
|
38
|
+
attach_method :constrainFrameRect, :args=>2, :names=>[:toScreen], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}", "@"], :retval=>"{CGRect={CGPoint=dd}{CGSize=dd}}"
|
|
39
39
|
attach_method :contentAspectRatio, :args=>0, :names=>[], :types=>[], :retval=>"{CGSize=dd}"
|
|
40
40
|
attach_method :contentBorderThicknessForEdge, :args=>1, :names=>[], :types=>["Q"], :retval=>"d"
|
|
41
41
|
attach_method :contentMaxSize, :args=>0, :names=>[], :types=>[], :retval=>"{CGSize=dd}"
|
|
42
42
|
attach_method :contentMinSize, :args=>0, :names=>[], :types=>[], :retval=>"{CGSize=dd}"
|
|
43
43
|
attach_method :contentRectForFrameRect, :args=>1, :names=>[], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}"], :retval=>"{CGRect={CGPoint=dd}{CGSize=dd}}"
|
|
44
|
-
attach_singular_method :contentRectForFrameRect, :args=>2, :names=>[
|
|
44
|
+
attach_singular_method :contentRectForFrameRect, :args=>2, :names=>[:styleMask], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}", "Q"], :retval=>"{CGRect={CGPoint=dd}{CGSize=dd}}"
|
|
45
45
|
attach_method :contentResizeIncrements, :args=>0, :names=>[], :types=>[], :retval=>"{CGSize=dd}"
|
|
46
46
|
attach_method :contentView, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
47
47
|
attach_method :convertBaseToScreen, :args=>1, :names=>[], :types=>["{CGPoint=dd}"], :retval=>"{CGPoint=dd}"
|
|
@@ -67,26 +67,26 @@ module Cocoa
|
|
|
67
67
|
attach_method :disableSnapshotRestoration, :args=>0, :names=>[], :types=>[], :retval=>"v"
|
|
68
68
|
attach_method :discardCachedImage, :args=>0, :names=>[], :types=>[], :retval=>"v"
|
|
69
69
|
attach_method :discardCursorRects, :args=>0, :names=>[], :types=>[], :retval=>"v"
|
|
70
|
-
attach_method :discardEventsMatchingMask, :args=>2, :names=>[
|
|
70
|
+
attach_method :discardEventsMatchingMask, :args=>2, :names=>[:beforeEvent], :types=>["Q", "@"], :retval=>"v"
|
|
71
71
|
attach_method :display, :args=>0, :names=>[], :types=>[], :retval=>"v"
|
|
72
72
|
attach_method :displayIfNeeded, :args=>0, :names=>[], :types=>[], :retval=>"v"
|
|
73
73
|
attach_method :displaysWhenScreenProfileChanges, :args=>0, :names=>[], :types=>[], :retval=>"B"
|
|
74
74
|
attach_method :dockTile, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
75
|
-
attach_method :dragImage, :args=>7, :names=>[
|
|
75
|
+
attach_method :dragImage, :args=>7, :names=>[:at, :offset, :event, :pasteboard, :source, :slideBack], :types=>["@", "{CGPoint=dd}", "{CGSize=dd}", "@", "@", "@", "B"], :retval=>"v"
|
|
76
76
|
attach_method :drawers, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
77
77
|
attach_method :enableCursorRects, :args=>0, :names=>[], :types=>[], :retval=>"v"
|
|
78
78
|
attach_method :enableFlushWindow, :args=>0, :names=>[], :types=>[], :retval=>"v"
|
|
79
79
|
attach_method :enableKeyEquivalentForDefaultButtonCell, :args=>0, :names=>[], :types=>[], :retval=>"v"
|
|
80
80
|
attach_method :enableSnapshotRestoration, :args=>0, :names=>[], :types=>[], :retval=>"v"
|
|
81
81
|
attach_method :endEditingFor, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
82
|
-
attach_method :fieldEditor, :args=>2, :names=>[
|
|
82
|
+
attach_method :fieldEditor, :args=>2, :names=>[:forObject], :types=>["B", "@"], :retval=>"@"
|
|
83
83
|
attach_method :firstResponder, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
84
84
|
attach_method :flushWindow, :args=>0, :names=>[], :types=>[], :retval=>"v"
|
|
85
85
|
attach_method :flushWindowIfNeeded, :args=>0, :names=>[], :types=>[], :retval=>"v"
|
|
86
86
|
attach_method :frame, :args=>0, :names=>[], :types=>[], :retval=>"{CGRect={CGPoint=dd}{CGSize=dd}}"
|
|
87
87
|
attach_method :frameAutosaveName, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
88
88
|
attach_method :frameRectForContentRect, :args=>1, :names=>[], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}"], :retval=>"{CGRect={CGPoint=dd}{CGSize=dd}}"
|
|
89
|
-
attach_singular_method :frameRectForContentRect, :args=>2, :names=>[
|
|
89
|
+
attach_singular_method :frameRectForContentRect, :args=>2, :names=>[:styleMask], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}", "Q"], :retval=>"{CGRect={CGPoint=dd}{CGSize=dd}}"
|
|
90
90
|
attach_method :gState, :args=>0, :names=>[], :types=>[], :retval=>"q"
|
|
91
91
|
attach_method :graphicsContext, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
92
92
|
attach_method :handleCloseScriptCommand, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
|
|
@@ -99,7 +99,7 @@ module Cocoa
|
|
|
99
99
|
attach_method :hidesOnDeactivate, :args=>0, :names=>[], :types=>[], :retval=>"B"
|
|
100
100
|
attach_method :ignoresMouseEvents, :args=>0, :names=>[], :types=>[], :retval=>"B"
|
|
101
101
|
attach_method :inLiveResize, :args=>0, :names=>[], :types=>[], :retval=>"B"
|
|
102
|
-
attach_method :initWithContentRect, [{:args=>4, :names=>[
|
|
102
|
+
attach_method :initWithContentRect, [{:args=>4, :names=>[:styleMask, :backing, :defer], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}", "Q", "Q", "B"], :retval=>"@"}, {:args=>5, :names=>[:styleMask, :backing, :defer, :screen], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}", "Q", "Q", "B", "@"], :retval=>"@"}]
|
|
103
103
|
attach_method :initWithWindowRef, :args=>1, :names=>[], :types=>["^v"], :retval=>"@"
|
|
104
104
|
attach_method :initialFirstResponder, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
105
105
|
attach_method :invalidateCursorRectsForView, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
@@ -136,24 +136,24 @@ module Cocoa
|
|
|
136
136
|
attach_method :makeMainWindow, :args=>0, :names=>[], :types=>[], :retval=>"v"
|
|
137
137
|
attach_method :maxSize, :args=>0, :names=>[], :types=>[], :retval=>"{CGSize=dd}"
|
|
138
138
|
attach_singular_method :menuChanged, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
139
|
-
attach_singular_method :minFrameWidthWithTitle, :args=>2, :names=>[
|
|
139
|
+
attach_singular_method :minFrameWidthWithTitle, :args=>2, :names=>[:styleMask], :types=>["@", "Q"], :retval=>"d"
|
|
140
140
|
attach_method :minSize, :args=>0, :names=>[], :types=>[], :retval=>"{CGSize=dd}"
|
|
141
141
|
attach_method :miniaturize, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
142
142
|
attach_method :miniwindowImage, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
143
143
|
attach_method :miniwindowTitle, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
144
144
|
attach_method :mouseLocationOutsideOfEventStream, :args=>0, :names=>[], :types=>[], :retval=>"{CGPoint=dd}"
|
|
145
|
-
attach_method :nextEventMatchingMask, [{:args=>1, :names=>[], :types=>["Q"], :retval=>"@"}, {:args=>4, :names=>[
|
|
145
|
+
attach_method :nextEventMatchingMask, [{:args=>1, :names=>[], :types=>["Q"], :retval=>"@"}, {:args=>4, :names=>[:untilDate, :inMode, :dequeue], :types=>["Q", "@", "@", "B"], :retval=>"@"}]
|
|
146
146
|
attach_method :orderBack, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
147
147
|
attach_method :orderFront, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
148
148
|
attach_method :orderFrontRegardless, :args=>0, :names=>[], :types=>[], :retval=>"v"
|
|
149
149
|
attach_method :orderOut, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
150
|
-
attach_method :orderWindow, :args=>2, :names=>[
|
|
150
|
+
attach_method :orderWindow, :args=>2, :names=>[:relativeTo], :types=>["q", "q"], :retval=>"v"
|
|
151
151
|
attach_method :orderedIndex, :args=>0, :names=>[], :types=>[], :retval=>"q"
|
|
152
152
|
attach_method :parentWindow, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
153
153
|
attach_method :performClose, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
154
154
|
attach_method :performMiniaturize, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
155
155
|
attach_method :performZoom, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
156
|
-
attach_method :postEvent, :args=>2, :names=>[
|
|
156
|
+
attach_method :postEvent, :args=>2, :names=>[:atStart], :types=>["@", "B"], :retval=>"v"
|
|
157
157
|
attach_method :preferredBackingLocation, :args=>0, :names=>[], :types=>[], :retval=>"Q"
|
|
158
158
|
attach_method :preservesContentDuringLiveResize, :args=>0, :names=>[], :types=>[], :retval=>"B"
|
|
159
159
|
attach_method :preventsApplicationTerminationWhenModal, :args=>0, :names=>[], :types=>[], :retval=>"B"
|
|
@@ -183,11 +183,11 @@ module Cocoa
|
|
|
183
183
|
attach_method :setAllowsConcurrentViewDrawing, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
|
|
184
184
|
attach_method :setAllowsToolTipsWhenApplicationIsInactive, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
|
|
185
185
|
attach_method :setAlphaValue, :args=>1, :names=>[], :types=>["d"], :retval=>"v"
|
|
186
|
-
attach_method :setAnchorAttribute, :args=>2, :names=>[
|
|
186
|
+
attach_method :setAnchorAttribute, :args=>2, :names=>[:forOrientation], :types=>["q", "q"], :retval=>"v"
|
|
187
187
|
attach_method :setAnimationBehavior, :args=>1, :names=>[], :types=>["q"], :retval=>"v"
|
|
188
188
|
attach_method :setAspectRatio, :args=>1, :names=>[], :types=>["{CGSize=dd}"], :retval=>"v"
|
|
189
189
|
attach_method :setAutodisplay, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
|
|
190
|
-
attach_method :setAutorecalculatesContentBorderThickness, :args=>2, :names=>[
|
|
190
|
+
attach_method :setAutorecalculatesContentBorderThickness, :args=>2, :names=>[:forEdge], :types=>["B", "Q"], :retval=>"v"
|
|
191
191
|
attach_method :setAutorecalculatesKeyViewLoop, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
|
|
192
192
|
attach_method :setBackgroundColor, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
193
193
|
attach_method :setBackingType, :args=>1, :names=>[], :types=>["Q"], :retval=>"v"
|
|
@@ -197,7 +197,7 @@ module Cocoa
|
|
|
197
197
|
attach_method :setCollectionBehavior, :args=>1, :names=>[], :types=>["Q"], :retval=>"v"
|
|
198
198
|
attach_method :setColorSpace, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
199
199
|
attach_method :setContentAspectRatio, :args=>1, :names=>[], :types=>["{CGSize=dd}"], :retval=>"v"
|
|
200
|
-
attach_method :setContentBorderThickness, :args=>2, :names=>[
|
|
200
|
+
attach_method :setContentBorderThickness, :args=>2, :names=>[:forEdge], :types=>["d", "Q"], :retval=>"v"
|
|
201
201
|
attach_method :setContentMaxSize, :args=>1, :names=>[], :types=>["{CGSize=dd}"], :retval=>"v"
|
|
202
202
|
attach_method :setContentMinSize, :args=>1, :names=>[], :types=>["{CGSize=dd}"], :retval=>"v"
|
|
203
203
|
attach_method :setContentResizeIncrements, :args=>1, :names=>[], :types=>["{CGSize=dd}"], :retval=>"v"
|
|
@@ -210,12 +210,12 @@ module Cocoa
|
|
|
210
210
|
attach_method :setDocumentEdited, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
|
|
211
211
|
attach_method :setDynamicDepthLimit, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
|
|
212
212
|
attach_method :setExcludedFromWindowsMenu, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
|
|
213
|
-
attach_method :setFrame, [{:args=>2, :names=>[
|
|
213
|
+
attach_method :setFrame, [{:args=>2, :names=>[:display], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}", "B"], :retval=>"v"}, {:args=>3, :names=>[:display, :animate], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}", "B", "B"], :retval=>"v"}]
|
|
214
214
|
attach_method :setFrameAutosaveName, :args=>1, :names=>[], :types=>["@"], :retval=>"B"
|
|
215
215
|
attach_method :setFrameFromString, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
216
216
|
attach_method :setFrameOrigin, :args=>1, :names=>[], :types=>["{CGPoint=dd}"], :retval=>"v"
|
|
217
217
|
attach_method :setFrameTopLeftPoint, :args=>1, :names=>[], :types=>["{CGPoint=dd}"], :retval=>"v"
|
|
218
|
-
attach_method :setFrameUsingName, [{:args=>1, :names=>[], :types=>["@"], :retval=>"B"}, {:args=>2, :names=>[
|
|
218
|
+
attach_method :setFrameUsingName, [{:args=>1, :names=>[], :types=>["@"], :retval=>"B"}, {:args=>2, :names=>[:force], :types=>["@", "B"], :retval=>"B"}]
|
|
219
219
|
attach_method :setHasShadow, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
|
|
220
220
|
attach_method :setHidesOnDeactivate, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
|
|
221
221
|
attach_method :setIgnoresMouseEvents, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
|
|
@@ -256,25 +256,25 @@ module Cocoa
|
|
|
256
256
|
attach_method :showsResizeIndicator, :args=>0, :names=>[], :types=>[], :retval=>"B"
|
|
257
257
|
attach_method :showsToolbarButton, :args=>0, :names=>[], :types=>[], :retval=>"B"
|
|
258
258
|
attach_method :standardWindowButton, :args=>1, :names=>[], :types=>["Q"], :retval=>"@"
|
|
259
|
-
attach_singular_method :standardWindowButton, :args=>2, :names=>[
|
|
259
|
+
attach_singular_method :standardWindowButton, :args=>2, :names=>[:forStyleMask], :types=>["Q", "Q"], :retval=>"@"
|
|
260
260
|
attach_method :stringWithSavedFrame, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
261
261
|
attach_method :styleMask, :args=>0, :names=>[], :types=>[], :retval=>"Q"
|
|
262
262
|
attach_method :title, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
263
263
|
attach_method :toggleFullScreen, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
264
264
|
attach_method :toggleToolbarShown, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
265
265
|
attach_method :toolbar, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
266
|
-
attach_method :tryToPerform, :args=>2, :names=>[
|
|
266
|
+
attach_method :tryToPerform, :args=>2, :names=>[:with], :types=>[":", "@"], :retval=>"B"
|
|
267
267
|
attach_method :unregisterDraggedTypes, :args=>0, :names=>[], :types=>[], :retval=>"v"
|
|
268
268
|
attach_method :update, :args=>0, :names=>[], :types=>[], :retval=>"v"
|
|
269
269
|
attach_method :updateConstraintsIfNeeded, :args=>0, :names=>[], :types=>[], :retval=>"v"
|
|
270
270
|
attach_method :useOptimizedDrawing, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
|
|
271
271
|
attach_method :userSpaceScaleFactor, :args=>0, :names=>[], :types=>[], :retval=>"d"
|
|
272
|
-
attach_method :validRequestorForSendType, :args=>2, :names=>[
|
|
272
|
+
attach_method :validRequestorForSendType, :args=>2, :names=>[:returnType], :types=>["@", "@"], :retval=>"@"
|
|
273
273
|
attach_method :viewsNeedDisplay, :args=>0, :names=>[], :types=>[], :retval=>"B"
|
|
274
274
|
attach_method :visualizeConstraints, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
|
|
275
275
|
attach_method :windowController, :args=>0, :names=>[], :types=>[], :retval=>"@"
|
|
276
276
|
attach_method :windowNumber, :args=>0, :names=>[], :types=>[], :retval=>"q"
|
|
277
|
-
attach_singular_method :windowNumberAtPoint, :args=>2, :names=>[
|
|
277
|
+
attach_singular_method :windowNumberAtPoint, :args=>2, :names=>[:belowWindowWithWindowNumber], :types=>["{CGPoint=dd}", "q"], :retval=>"q"
|
|
278
278
|
attach_singular_method :windowNumbersWithOptions, :args=>1, :names=>[], :types=>["Q"], :retval=>"@"
|
|
279
279
|
attach_method :windowRef, :args=>0, :names=>[], :types=>[], :retval=>"^v"
|
|
280
280
|
attach_method :worksWhenModal, :args=>0, :names=>[], :types=>[], :retval=>"B"
|