@interface NSObject (NSAccessibility)
// Instance Members
- (BOOL)accessibilityIsAttributeSettable:(NSString*)attribute;
- (BOOL)accessibilityIsIgnored;
- (NSArray*)accessibilityActionNames;
- (NSArray*)accessibilityAttributeNames;
- (NSArray*)accessibilityParameterizedAttributeNames;
- (NSString*)accessibilityActionDescription:(NSString*)action;
- (id)accessibilityAttributeValue:(NSString*)attribute forParameter:(id)parameter;
- (id)accessibilityAttributeValue:(NSString*)attribute;
- (id)accessibilityFocusedUIElement;
- (id)accessibilityHitTest:(NSPoint)point;
- (void)accessibilityPerformAction:(NSString*)action;
- (void)accessibilitySetValue:(id)value forAttribute:(NSString*)attribute;
@interface NSObject (NSAccessibilityAdditions)
// Instance Members
- (BOOL)accessibilitySetOverrideValue:(id)value forAttribute:(NSString*)attribute;
@interface NSActionCell : NSCell
// Instance Members
- (NSInteger)integerValue;
- (NSInteger)tag;
- (NSString*)stringValue;
- (NSView*)controlView;
- (SEL)action;
- (double)doubleValue;
- (float)floatValue;
- (id)target;
- (int)intValue;
- (void)setAction:(SEL)aSelector;
- (void)setAlignment:(NSTextAlignment)mode;
- (void)setBezeled:(BOOL)flag;
- (void)setBordered:(BOOL)flag;
- (void)setControlView:(NSView*)view;
- (void)setEnabled:(BOOL)flag;
- (void)setFloatingPointFormat:(BOOL)autoRange left:(NSUInteger)leftDigits right:(NSUInteger)rightDigits;
- (void)setFont:(NSFont*)fontObj;
- (void)setImage:(NSImage*)image;
- (void)setObjectValue:(id
- (void)setTag:(NSInteger)anInt;
- (void)setTarget:(id)anObject;
@interface NSAffineTransform (NSAppKitAdditons)
// Instance Members
- (NSBezierPath*)transformBezierPath:(NSBezierPath*)aPath;
- (void)concat;
- (void)set;
@interface NSAlert : NSObject
// Class Members
+ (NSAlert*)alertWithError:(NSError*)error;
+ (NSAlert*)alertWithMessageText:(NSString*)message defaultButton:(NSString*)defaultButton alternateButton:(NSString*)alternateButton otherButton:(NSString*)otherButton informativeTextWithFormat:(NSString*)format, ...;
// Instance Members
- (BOOL)showsHelp;
- (BOOL)showsSuppressionButton;
- (NSAlertStyle)alertStyle;
- (NSArray*)buttons;
- (NSButton*)addButtonWithTitle:(NSString*)title;
- (NSButton*)suppressionButton;
- (NSImage*)icon;
- (NSInteger)runModal;
- (NSString*)helpAnchor;
- (NSString*)informativeText;
- (NSString*)messageText;
- (NSView*)accessoryView;
- (id)delegate;
- (id)window;
- (void)beginSheetModalForWindow:(NSWindow*)window modalDelegate:(id)delegate didEndSelector:(SEL)didEndSelector contextInfo:(void*)contextInfo;
- (void)layout;
- (void)setAccessoryView:(NSView*)view;
- (void)setAlertStyle:(NSAlertStyle)style;
- (void)setDelegate:(id)delegate;
- (void)setHelpAnchor:(NSString*)anchor;
- (void)setIcon:(NSImage*)icon;
- (void)setInformativeText:(NSString*)informativeText;
- (void)setMessageText:(NSString*)messageText;
- (void)setShowsHelp:(BOOL)showsHelp;
- (void)setShowsSuppressionButton:(BOOL)flag;
@interface NSObject (NSAlertDelegate)
// Instance Members
- (BOOL)alertShowHelp:(NSAlert*)alert;
@interface NSAnimation : NSObject
// Instance Members
- (BOOL)isAnimating;
- (NSAnimationBlockingMode)animationBlockingMode;
- (NSAnimationCurve)animationCurve;
- (NSAnimationProgress)currentProgress;
- (NSArray*)progressMarks;
- (NSArray*)runLoopModesForAnimating;
- (NSTimeInterval)duration;
- (float)currentValue;
- (float)frameRate;
- (id)delegate;
- (id)initWithDuration:(NSTimeInterval)duration animationCurve:(NSAnimationCurve)animationCurve;
- (void)addProgressMark:(NSAnimationProgress)progressMark;
- (void)clearStartAnimation;
- (void)clearStopAnimation;
- (void)removeProgressMark:(NSAnimationProgress)progressMark;
- (void)setAnimationBlockingMode:(NSAnimationBlockingMode)animationBlockingMode;
- (void)setAnimationCurve:(NSAnimationCurve)curve;
- (void)setCurrentProgress:(NSAnimationProgress)progress;
- (void)setDelegate:(id)delegate;
- (void)setDuration:(NSTimeInterval)duration;
- (void)setFrameRate:(float)framesPerSecond;
- (void)setProgressMarks:(NSArray*)progressMarks;
- (void)startAnimation;
- (void)startWhenAnimation:(NSAnimation*)animation reachesProgress:(NSAnimationProgress)startProgress;
- (void)stopAnimation;
- (void)stopWhenAnimation:(NSAnimation*)animation reachesProgress:(NSAnimationProgress)stopProgress;
@interface NSObject (NSAnimationDelegate)
// Instance Members
- (BOOL)animationShouldStart:(NSAnimation*)animation;
- (float)animation:(NSAnimation*)animation valueForProgress:(NSAnimationProgress)progress;
- (void)animation:(NSAnimation*)animation didReachProgressMark:(NSAnimationProgress)progress;
- (void)animationDidEnd:(NSAnimation*)animation;
- (void)animationDidStop:(NSAnimation*)animation;
@interface NSViewAnimation : NSAnimation
// Instance Members
- (NSArray*)viewAnimations;
- (id)initWithViewAnimations:(NSArray*)viewAnimations;
- (void)setViewAnimations:(NSArray*)viewAnimations;
@interface NSAnimationContext : NSObject
// Class Members
+ (NSAnimationContext*)currentContext;
+ (void)beginGrouping;
+ (void)endGrouping;
// Instance Members
- (NSTimeInterval)duration;
- (void)setDuration:(NSTimeInterval)duration;
@interface NSAppleScript (NSExtensions)
// Instance Members
- (NSAttributedString*)richTextSource;
@interface NSApplication : NSResponder
// Class Members
+ (NSApplication*)sharedApplication;
+ (void)detachDrawingThread:(SEL)selector toTarget:(id)target withObject:(id)argument;
// Instance Members
- (BOOL)isActive;
- (BOOL)isHidden;
- (BOOL)isRunning;
- (BOOL)sendAction:(SEL)theAction to:(id)theTarget from:(id)sender;
- (BOOL)tryToPerform:(SEL)anAction with:(id)anObject;
- (NSArray*)windows;
- (NSDockTile*)dockTile;
- (NSEvent*)currentEvent;
- (NSEvent*)nextEventMatchingMask:(NSUInteger)mask untilDate:(NSDate*)expiration inMode:(NSString*)mode dequeue:(BOOL)deqFlag;
- (NSGraphicsContext*)context;
- (NSImage*)applicationIconImage;
- (NSInteger)requestUserAttention:(NSRequestUserAttentionType)requestType;
- (NSInteger)runModalForWindow:(NSWindow*)theWindow relativeToWindow:(NSWindow*)docWindow;
- (NSInteger)runModalForWindow:(NSWindow*)theWindow;
- (NSInteger)runModalSession:(NSModalSession)session;
- (NSMenu*)mainMenu;
- (NSModalSession)beginModalSessionForWindow:(NSWindow*)theWindow relativeToWindow:(NSWindow*)docWindow;
- (NSModalSession)beginModalSessionForWindow:(NSWindow*)theWindow;
- (NSWindow*)keyWindow;
- (NSWindow*)mainWindow;
- (NSWindow*)makeWindowsPerform:(SEL)aSelector inOrder:(BOOL)flag;
- (NSWindow*)modalWindow;
- (NSWindow*)windowWithWindowNumber:(NSInteger)windowNum;
- (id)delegate;
- (id)targetForAction:(SEL)theAction to:(id)theTarget from:(id)sender;
- (id)targetForAction:(SEL)theAction;
- (id)validRequestorForSendType:(NSString*)sendType returnType:(NSString*)returnType;
- (void)abortModal;
- (void)activateIgnoringOtherApps:(BOOL)flag;
- (void)beginSheet:(NSWindow*)sheet modalForWindow:(NSWindow*)docWindow modalDelegate:(id)modalDelegate didEndSelector:(SEL)didEndSelector contextInfo:(void*)contextInfo;
- (void)cancelUserAttentionRequest:(NSInteger)request;
- (void)deactivate;
- (void)discardEventsMatchingMask:(NSUInteger)mask beforeEvent:(NSEvent*)lastEvent;
- (void)endModalSession:(NSModalSession)session;
- (void)endSheet:(NSWindow*)sheet returnCode:(NSInteger)returnCode;
- (void)endSheet:(NSWindow*)sheet;
- (void)finishLaunching;
- (void)hide:(id)sender;
- (void)hideOtherApplications:(id)sender;
- (void)orderFrontCharacterPalette:(id)sender;
- (void)postEvent:(NSEvent*)event atStart:(BOOL)flag;
- (void)preventWindowOrdering;
- (void)replyToApplicationShouldTerminate:(BOOL)shouldTerminate;
- (void)replyToOpenOrPrint:(NSApplicationDelegateReply)reply;
- (void)reportException:(NSException*)theException;
- (void)run;
- (void)sendEvent:(NSEvent*)theEvent;
- (void)setApplicationIconImage:(NSImage*)image;
- (void)setDelegate:(id)anObject;
- (void)setMainMenu:(NSMenu*)aMenu;
- (void)setWindowsNeedUpdate:(BOOL)needUpdate;
- (void)stop:(id)sender;
- (void)stopModal;
- (void)stopModalWithCode:(NSInteger)returnCode;
- (void)terminate:(id)sender;
- (void)unhide:(id)sender;
- (void)unhideAllApplications:(id)sender;
- (void)unhideWithoutActivation;
- (void)updateWindows;
@interface NSApplication (NSWindowsMenu)
// Instance Members
- (NSMenu*)windowsMenu;
- (void)addWindowsItem:(NSWindow*)win title:(NSString*)aString filename:(BOOL)isFilename;
- (void)arrangeInFront:(id)sender;
- (void)changeWindowsItem:(NSWindow*)win title:(NSString*)aString filename:(BOOL)isFilename;
- (void)miniaturizeAll:(id)sender;
- (void)removeWindowsItem:(NSWindow*)win;
- (void)setWindowsMenu:(NSMenu*)aMenu;
- (void)updateWindowsItem:(NSWindow*)win;
@interface NSObject (NSApplicationNotifications)
// Instance Members
- (void)applicationDidBecomeActive:(NSNotification*)notification;
- (void)applicationDidChangeScreenParameters:(NSNotification*)notification;
- (void)applicationDidFinishLaunching:(NSNotification*)notification;
- (void)applicationDidHide:(NSNotification*)notification;
- (void)applicationDidResignActive:(NSNotification*)notification;
- (void)applicationDidUnhide:(NSNotification*)notification;
- (void)applicationDidUpdate:(NSNotification*)notification;
- (void)applicationWillBecomeActive:(NSNotification*)notification;
- (void)applicationWillFinishLaunching:(NSNotification*)notification;
- (void)applicationWillHide:(NSNotification*)notification;
- (void)applicationWillResignActive:(NSNotification*)notification;
- (void)applicationWillTerminate:(NSNotification*)notification;
- (void)applicationWillUnhide:(NSNotification*)notification;
- (void)applicationWillUpdate:(NSNotification*)notification;
@interface NSObject (NSApplicationDelegate)
// Instance Members
- (BOOL)application:(NSApplication*)sender printFile:(NSString*)filename;
- (BOOL)application:(NSApplication*)sender openFile:(NSString*)filename;
- (BOOL)application:(id)sender openFileWithoutUI:(NSString*)filename;
- (BOOL)application:(NSApplication*)sender openTempFile:(NSString*)filename;
- (BOOL)applicationOpenUntitledFile:(NSApplication*)sender;
- (BOOL)applicationShouldHandleReopen:(NSApplication*)sender hasVisibleWindows:(BOOL)flag;
- (BOOL)applicationShouldOpenUntitledFile:(NSApplication*)sender;
- (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication*)sender;
- (NSApplicationPrintReply)application:(NSApplication*)application printFiles:(NSArray*)fileNames withSettings:(NSDictionary*)printSettings showPrintPanels:(BOOL)showPrintPanels;
- (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication*)sender;
- (NSError*)application:(NSApplication*)application willPresentError:(NSError*)error;
- (NSMenu*)applicationDockMenu:(NSApplication*)sender;
- (void)application:(NSApplication*)sender openFiles:(NSArray*)filenames;
- (void)application:(NSApplication*)sender printFiles:(NSArray*)filenames;
@interface NSApplication (NSServicesMenu)
// Instance Members
- (NSMenu*)servicesMenu;
- (void)registerServicesMenuSendTypes:(NSArray*)sendTypes returnTypes:(NSArray*)returnTypes;
- (void)setServicesMenu:(NSMenu*)aMenu;
@interface NSObject (NSServicesRequests)
// Instance Members
- (BOOL)readSelectionFromPasteboard:(NSPasteboard*)pboard;
- (BOOL)writeSelectionToPasteboard:(NSPasteboard*)pboard types:(NSArray*)types;
@interface NSApplication (NSServicesHandling)
// Instance Members
- (id)servicesProvider;
- (void)setServicesProvider:(id)provider;
@interface NSApplication (NSStandardAboutPanel)
// Instance Members
- (void)orderFrontStandardAboutPanel:(id)sender;
- (void)orderFrontStandardAboutPanelWithOptions:(NSDictionary*)optionsDictionary;
@interface NSApplication (NSScripting)
// Instance Members
- (NSArray*)orderedDocuments;
- (NSArray*)orderedWindows;
@interface NSObject (NSApplicationScriptingDelegation)
// Instance Members
- (BOOL)application:(NSApplication*)sender delegateHandlesKey:(NSString*)key;
@interface NSArrayController : NSObjectController
// Instance Members
- (BOOL)addSelectedObjects:(NSArray*)objects;
- (BOOL)addSelectionIndexes:(NSIndexSet*)indexes;
- (BOOL)alwaysUsesMultipleValuesMarker;
- (BOOL)automaticallyRearrangesObjects;
- (BOOL)avoidsEmptySelection;
- (BOOL)canInsert;
- (BOOL)canSelectNext;
- (BOOL)canSelectPrevious;
- (BOOL)clearsFilterPredicateOnInsertion;
- (BOOL)preservesSelection;
- (BOOL)removeSelectedObjects:(NSArray*)objects;
- (BOOL)removeSelectionIndexes:(NSIndexSet*)indexes;
- (BOOL)selectsInsertedObjects;
- (BOOL)setSelectedObjects:(NSArray*)objects;
- (BOOL)setSelectionIndex:(NSUInteger)index;
- (BOOL)setSelectionIndexes:(NSIndexSet*)indexes;
- (NSArray*)arrangeObjects:(NSArray*)objects;
- (NSArray*)automaticRearrangementKeyPaths;
- (NSArray*)selectedObjects;
- (NSArray*)sortDescriptors;
- (NSIndexSet*)selectionIndexes;
- (NSPredicate*)filterPredicate;
- (NSUInteger)selectionIndex;
- (id)arrangedObjects;
- (void)add:(id)sender;
- (void)addObject:(id)object;
- (void)addObjects:(NSArray*)objects;
- (void)didChangeArrangementCriteria;
- (void)insert:(id)sender;
- (void)insertObject:(id)object atArrangedObjectIndex:(NSUInteger)index;
- (void)insertObjects:(NSArray*)objects atArrangedObjectIndexes:(NSIndexSet*)indexes;
- (void)rearrangeObjects;
- (void)remove:(id)sender;
- (void)removeObject:(id)object;
- (void)removeObjectAtArrangedObjectIndex:(NSUInteger)index;
- (void)removeObjects:(NSArray*)objects;
- (void)removeObjectsAtArrangedObjectIndexes:(NSIndexSet*)indexes;
- (void)selectNext:(id)sender;
- (void)selectPrevious:(id)sender;
- (void)setAlwaysUsesMultipleValuesMarker:(BOOL)flag;
- (void)setAutomaticallyRearrangesObjects:(BOOL)flag;
- (void)setAvoidsEmptySelection:(BOOL)flag;
- (void)setClearsFilterPredicateOnInsertion:(BOOL)flag;
- (void)setFilterPredicate:(NSPredicate*)filterPredicate;
- (void)setPreservesSelection:(BOOL)flag;
- (void)setSelectsInsertedObjects:(BOOL)flag;
- (void)setSortDescriptors:(NSArray*)sortDescriptors;
@interface NSATSTypesetter : NSTypesetter
// Class Members
+ (id)sharedTypesetter;
@interface NSATSTypesetter (NSPantherCompatibility)
@interface NSATSTypesetter (NSPrimitiveInterface)
// Instance Members
- (BOOL)bidiProcessingEnabled;
- (BOOL)usesFontLeading;
- (CGFloat)lineFragmentPadding;
- (CGFloat)lineSpacingAfterGlyphAtIndex:(NSUInteger)glyphIndex withProposedLineFragmentRect:(NSRect)rect;
- (CGFloat)paragraphSpacingAfterGlyphAtIndex:(NSUInteger)glyphIndex withProposedLineFragmentRect:(NSRect)rect;
- (CGFloat)paragraphSpacingBeforeGlyphAtIndex:(NSUInteger)glyphIndex withProposedLineFragmentRect:(NSRect)rect;
- (NSAttributedString*)attributedString;
- (NSFont*)substituteFontForFont:(NSFont*)originalFont;
- (NSLayoutManager*)layoutManager;
- (NSRange)paragraphGlyphRange;
- (NSRange)paragraphSeparatorGlyphRange;
- (NSTextContainer*)currentTextContainer;
- (NSTextTab*)textTabForGlyphLocation:(CGFloat)glyphLocation writingDirection:(NSWritingDirection)direction maxLocation:(CGFloat)maxLocation;
- (NSTypesetterBehavior)typesetterBehavior;
- (NSUInteger)layoutParagraphAtPoint:(NSPoint*)lineFragmentOrigin;
- (float)hyphenationFactor;
- (void)getLineFragmentRect:(NSRect*)lineFragmentRect usedRect:(NSRect*)lineFragmentUsedRect forParagraphSeparatorGlyphRange:(NSRange)paragraphSeparatorGlyphRange atProposedOrigin:(NSPoint)lineOrigin;
- (void)setAttributedString:(NSAttributedString*)attrString;
- (void)setBidiProcessingEnabled:(BOOL)flag;
- (void)setHardInvalidation:(BOOL)flag forGlyphRange:(NSRange)glyphRange;
- (void)setHyphenationFactor:(float)factor;
- (void)setLineFragmentPadding:(CGFloat)padding;
- (void)setParagraphGlyphRange:(NSRange)paragraphRange separatorGlyphRange:(NSRange)paragraphSeparatorRange;
- (void)setTypesetterBehavior:(NSTypesetterBehavior)behavior;
- (void)setUsesFontLeading:(BOOL)flag;
@interface NSATSTypesetter (NSLayoutPhaseInterface)
// Instance Members
- (BOOL)shouldBreakLineByHyphenatingBeforeCharacterAtIndex:(NSUInteger)charIndex;
- (BOOL)shouldBreakLineByWordBeforeCharacterAtIndex:(NSUInteger)charIndex;
- (NSRect)boundingBoxForControlGlyphAtIndex:(NSUInteger)glyphIndex forTextContainer:(NSTextContainer*)textContainer proposedLineFragment:(NSRect)proposedRect glyphPosition:(NSPoint)glyphPosition characterIndex:(NSUInteger)charIndex;
- (UTF32Char)hyphenCharacterForGlyphAtIndex:(NSUInteger)glyphIndex;
- (float)hyphenationFactorForGlyphAtIndex:(NSUInteger)glyphIndex;
- (void)willSetLineFragmentRect:(NSRect*)lineRect forGlyphRange:(NSRange)glyphRange usedRect:(NSRect*)usedRect baselineOffset:(CGFloat*)baselineOffset;
@interface NSATSTypesetter (NSGlyphStorageInterface)
// Instance Members
- (NSRange)characterRangeForGlyphRange:(NSRange)glyphRange actualGlyphRange:(NSRangePointer)actualGlyphRange;
- (NSRange)glyphRangeForCharacterRange:(NSRange)charRange actualCharacterRange:(NSRangePointer)actualCharRange;
- (NSUInteger)getGlyphsInRange:(NSRange)glyphsRange glyphs:(NSGlyph*)glyphBuffer characterIndexes:(NSUInteger*)charIndexBuffer glyphInscriptions:(NSGlyphInscription*)inscribeBuffer elasticBits:(BOOL*)elasticBuffer;
- (void)deleteGlyphsInRange:(NSRange)glyphRange;
- (void)insertGlyph:(NSGlyph)glyph atGlyphIndex:(NSUInteger)glyphIndex characterIndex:(NSUInteger)characterIndex;
- (void)setAttachmentSize:(NSSize)attachmentSize forGlyphRange:(NSRange)glyphRange;
- (void)setBidiLevels:(const)uint8_t* levels:(forGlyphRange:)NSRange glyphRange;
- (void)setDrawsOutsideLineFragment:(BOOL)flag forGlyphRange:(NSRange)glyphRange;
- (void)setLineFragmentRect:(NSRect)fragmentRect forGlyphRange:(NSRange)glyphRange usedRect:(NSRect)usedRect baselineOffset:(CGFloat)baselineOffset;
- (void)setLocation:(NSPoint)location withAdvancements:(const)CGFloat* advancements:(forStartOfGlyphRange:)NSRange glyphRange;
- (void)setNotShownAttribute:(BOOL)flag forGlyphRange:(NSRange)glyphRange;
- (void)substituteGlyphsInRange:(NSRange)glyphRange withGlyphs:(NSGlyph*)glyphs;
@interface NSAttributedString (NSAttributedStringKitAdditions)
// Class Members
+ (NSArray*)textTypes;
+ (NSArray*)textUnfilteredTypes;
// Instance Members
- (BOOL)containsAttachments;
- (NSData*)RTFDFromRange:(NSRange)range documentAttributes:(NSDictionary*)dict;
- (NSData*)RTFFromRange:(NSRange)range documentAttributes:(NSDictionary*)dict;
- (NSData*)dataFromRange:(NSRange)range documentAttributes:(NSDictionary*)dict error:(NSError**)error;
- (NSData*)docFormatFromRange:(NSRange)range documentAttributes:(NSDictionary*)dict;
- (NSDictionary*)fontAttributesInRange:(NSRange)range;
- (NSDictionary*)rulerAttributesInRange:(NSRange)range;
- (NSFileWrapper*)RTFDFileWrapperFromRange:(NSRange)range documentAttributes:(NSDictionary*)dict;
- (NSFileWrapper*)fileWrapperFromRange:(NSRange)range documentAttributes:(NSDictionary*)dict error:(NSError**)error;
- (NSInteger)itemNumberInTextList:(NSTextList*)list atIndex:(NSUInteger)location;
- (NSRange)doubleClickAtIndex:(NSUInteger)location;
- (NSRange)rangeOfTextBlock:(NSTextBlock*)block atIndex:(NSUInteger)location;
- (NSRange)rangeOfTextList:(NSTextList*)list atIndex:(NSUInteger)location;
- (NSRange)rangeOfTextTable:(NSTextTable*)table atIndex:(NSUInteger)location;
- (NSUInteger)lineBreakBeforeIndex:(NSUInteger)location withinRange:(NSRange)aRange;
- (NSUInteger)lineBreakByHyphenatingBeforeIndex:(NSUInteger)location withinRange:(NSRange)aRange;
- (NSUInteger)nextWordFromIndex:(NSUInteger)location forward:(BOOL)isForward;
- (NSURL*)URLAtIndex:(NSUInteger)location effectiveRange:(NSRangePointer)effectiveRange;
- (id)initWithData:(NSData*)data options:(NSDictionary*)options documentAttributes:(NSDictionary**)dict error:(NSError**)error;
- (id)initWithDocFormat:(NSData*)data documentAttributes:(NSDictionary**)dict;
- (id)initWithHTML:(NSData*)data documentAttributes:(NSDictionary**)dict;
- (id)initWithHTML:(NSData*)data options:(NSDictionary*)options documentAttributes:(NSDictionary**)dict;
- (id)initWithHTML:(NSData*)data baseURL:(NSURL*)base documentAttributes:(NSDictionary**)dict;
- (id)initWithPath:(NSString*)path documentAttributes:(NSDictionary**)dict;
- (id)initWithRTF:(NSData*)data documentAttributes:(NSDictionary**)dict;
- (id)initWithRTFD:(NSData*)data documentAttributes:(NSDictionary**)dict;
- (id)initWithRTFDFileWrapper:(NSFileWrapper*)wrapper documentAttributes:(NSDictionary**)dict;
- (id)initWithURL:(NSURL*)url options:(NSDictionary*)options documentAttributes:(NSDictionary**)dict error:(NSError**)error;
- (id)initWithURL:(NSURL*)url documentAttributes:(NSDictionary**)dict;
@interface NSAttributedString (NSDeprecatedKitAdditions)
// Class Members
+ (NSArray*)textFileTypes;
+ (NSArray*)textPasteboardTypes;
+ (NSArray*)textUnfilteredFileTypes;
+ (NSArray*)textUnfilteredPasteboardTypes;
@interface NSMutableAttributedString (NSMutableAttributedStringKitAdditions)
// Instance Members
- (BOOL)readFromData:(NSData*)data options:(NSDictionary*)options documentAttributes:(NSDictionary**)dict;
- (BOOL)readFromData:(NSData*)data options:(NSDictionary*)opts documentAttributes:(NSDictionary**)dict error:(NSError**)error;
- (BOOL)readFromURL:(NSURL*)url options:(NSDictionary*)options documentAttributes:(NSDictionary**)dict;
- (BOOL)readFromURL:(NSURL*)url options:(NSDictionary*)opts documentAttributes:(NSDictionary**)dict error:(NSError**)error;
- (void)applyFontTraits:(NSFontTraitMask)traitMask range:(NSRange)range;
- (void)fixAttachmentAttributeInRange:(NSRange)range;
- (void)fixAttributesInRange:(NSRange)range;
- (void)fixFontAttributeInRange:(NSRange)range;
- (void)fixParagraphStyleAttributeInRange:(NSRange)range;
- (void)setAlignment:(NSTextAlignment)alignment range:(NSRange)range;
- (void)setBaseWritingDirection:(NSWritingDirection)writingDirection range:(NSRange)range;
- (void)subscriptRange:(NSRange)range;
- (void)superscriptRange:(NSRange)range;
- (void)unscriptRange:(NSRange)range;
@interface NSBezierPath : NSObject
// Class Members
+ (CGFloat)defaultFlatness;
+ (CGFloat)defaultLineWidth;
+ (CGFloat)defaultMiterLimit;
+ (NSBezierPath*)bezierPath;
+ (NSBezierPath*)bezierPathWithOvalInRect:(NSRect)rect;
+ (NSBezierPath*)bezierPathWithRect:(NSRect)rect;
+ (NSBezierPath*)bezierPathWithRoundedRect:(NSRect)rect xRadius:(CGFloat)xRadius yRadius:(CGFloat)yRadius;
+ (NSLineCapStyle)defaultLineCapStyle;
+ (NSLineJoinStyle)defaultLineJoinStyle;
+ (NSWindingRule)defaultWindingRule;
+ (void)clipRect:(NSRect)rect;
+ (void)drawPackedGlyphs:(const)char* packedGlyphs:(atPoint:)NSPoint point;
+ (void)fillRect:(NSRect)rect;
+ (void)setDefaultFlatness:(CGFloat)flatness;
+ (void)setDefaultLineCapStyle:(NSLineCapStyle)lineCapStyle;
+ (void)setDefaultLineJoinStyle:(NSLineJoinStyle)lineJoinStyle;
+ (void)setDefaultLineWidth:(CGFloat)lineWidth;
+ (void)setDefaultMiterLimit:(CGFloat)limit;
+ (void)setDefaultWindingRule:(NSWindingRule)windingRule;
+ (void)strokeLineFromPoint:(NSPoint)point1 toPoint:(NSPoint)point2;
+ (void)strokeRect:(NSRect)rect;
// Instance Members
- (BOOL)cachesBezierPath;
- (BOOL)containsPoint:(NSPoint)point;
- (BOOL)isEmpty;
- (CGFloat)flatness;
- (CGFloat)lineWidth;
- (CGFloat)miterLimit;
- (NSBezierPath*)bezierPathByFlatteningPath;
- (NSBezierPath*)bezierPathByReversingPath;
- (NSBezierPathElement)elementAtIndex:(NSInteger)index;
- (NSBezierPathElement)elementAtIndex:(NSInteger)index :() :(associatedPoints:)NSPointArray points;
- (NSInteger)elementCount;
- (NSLineCapStyle)lineCapStyle;
- (NSLineJoinStyle)lineJoinStyle;
- (NSPoint)currentPoint;
- (NSRect)bounds;
- (NSRect)controlPointBounds;
- (NSWindingRule)windingRule;
- (void)addClip;
- (void)appendBezierPath:(NSBezierPath*)path;
- (void)appendBezierPathWithArcFromPoint:(NSPoint)point1 toPoint:(NSPoint)point2
:(radius:)CGFloat radius;
- (void)appendBezierPathWithArcWithCenter:(NSPoint)center radius:(CGFloat)radius :() :() startAngle:(CGFloat)startAngle
endAngle:(CGFloat)endAngle;
- (void)appendBezierPathWithArcWithCenter:(NSPoint)center radius:(CGFloat)radius :() :() startAngle:(CGFloat)startAngle
endAngle:(CGFloat)endAngle
clockwise: BOOL:(clockwise;)
- (void)appendBezierPathWithGlyph:(NSGlyph)glyph inFont:(NSFont*)font;
- (void)appendBezierPathWithGlyphs:(NSGlyph*)glyphs count:(NSInteger)count :() inFont:(NSFont*)font;
- (void)appendBezierPathWithOvalInRect:(NSRect)rect;
- (void)appendBezierPathWithPackedGlyphs:(const)char* packedGlyphs;
- (void)appendBezierPathWithPoints:(NSPointArray)points count:(NSInteger)count;
- (void)appendBezierPathWithRect:(NSRect)rect;
- (void)appendBezierPathWithRoundedRect:(NSRect)rect xRadius:(CGFloat)xRadius yRadius:(CGFloat)yRadius;
- (void)closePath;
- (void)curveToPoint:(NSPoint)endPoint :() :() controlPoint1:(NSPoint)controlPoint1
:() :() controlPoint2:(NSPoint)controlPoint2;
- (void)fill;
- (void)getLineDash:(CGFloat*)pattern count:(NSInteger*)count phase:(CGFloat*)phase;
- (void)lineToPoint:(NSPoint)point;
- (void)moveToPoint:(NSPoint)point;
- (void)relativeCurveToPoint:(NSPoint)endPoint :() :() controlPoint1:(NSPoint)controlPoint1
:() :() controlPoint2:(NSPoint)controlPoint2;
- (void)relativeLineToPoint:(NSPoint)point;
- (void)relativeMoveToPoint:(NSPoint)point;
- (void)removeAllPoints;
- (void)setAssociatedPoints:(NSPointArray)points atIndex:(NSInteger)index;
- (void)setCachesBezierPath:(BOOL)flag;
- (void)setClip;
- (void)setFlatness:(CGFloat)flatness;
- (void)setLineCapStyle:(NSLineCapStyle)lineCapStyle;
- (void)setLineDash:(const)CGFloat* pattern:(count:)NSInteger count:(phase:)CGFloat phase;
- (void)setLineJoinStyle:(NSLineJoinStyle)lineJoinStyle;
- (void)setLineWidth:(CGFloat)lineWidth;
- (void)setMiterLimit:(CGFloat)miterLimit;
- (void)setWindingRule:(NSWindingRule)windingRule;
- (void)stroke;
- (void)transformUsingAffineTransform:(NSAffineTransform*)transform;
@interface NSBitmapImageRep : NSImageRep
// Class Members
+ (NSArray*)imageRepsWithData:(NSData*)data;
+ (NSData*)TIFFRepresentationOfImageRepsInArray:(NSArray*)array;
+ (NSData*)TIFFRepresentationOfImageRepsInArray:(NSArray*)array usingCompression:(NSTIFFCompression)comp factor:(float)factor;
+ (NSString*)localizedNameForTIFFCompressionType:(NSTIFFCompression)compression;
+ (id)imageRepWithData:(NSData*)data;
+ (void)getTIFFCompressionTypes:(const)NSTIFFCompression** list:(count:)NSInteger* numTypes;
// Instance Members
- (BOOL)canBeCompressedUsing:(NSTIFFCompression)compression;
- (BOOL)isPlanar;
- (CGImageRef)CGImage;
- (NSBitmapFormat)bitmapFormat;
- (NSColor*)colorAtX:(NSInteger)x y:(NSInteger)y;
- (NSData*)TIFFRepresentation;
- (NSData*)TIFFRepresentationUsingCompression:(NSTIFFCompression)comp factor:(float)factor;
- (NSInteger)bitsPerPixel;
- (NSInteger)bytesPerPlane;
- (NSInteger)bytesPerRow;
- (NSInteger)incrementalLoadFromData:(NSData*)data complete:(BOOL)complete;
- (NSInteger)numberOfPlanes;
- (NSInteger)samplesPerPixel;
- (id)initForIncrementalLoad;
- (id)initWithBitmapDataPlanes:(unsigned)char** planes:(pixelsWide:)NSInteger width:(pixelsHigh:)NSInteger height:(bitsPerSample:)NSInteger bps:(samplesPerPixel:)NSInteger spp:(hasAlpha:)BOOL alpha:(isPlanar:)BOOL isPlanar:(colorSpaceName:)NSString* colorSpaceName:(bytesPerRow:)NSInteger rBytes:(bitsPerPixel:)NSInteger pBits;
- (id)initWithBitmapDataPlanes:(unsigned)char** planes:(pixelsWide:)NSInteger width:(pixelsHigh:)NSInteger height:(bitsPerSample:)NSInteger bps:(samplesPerPixel:)NSInteger spp:(hasAlpha:)BOOL alpha:(isPlanar:)BOOL isPlanar:(colorSpaceName:)NSString* colorSpaceName:()bitmapFormat: NSBitmapFormat:(bitmapFormat)bytesPerRow: NSInteger:(rBytes)bitsPerPixel: NSInteger:(pBits;)
- (id)initWithCGImage:(CGImageRef)cgImage;
- (id)initWithCIImage:(CIImage*)ciImage;
- (id)initWithData:(NSData*)data;
- (id)initWithFocusedViewRect:(NSRect)rect;
- (unsigned)char*:(bitmapData;)
- (void)colorizeByMappingGray:(CGFloat)midPoint toColor:(NSColor*)midPointColor blackMapping:(NSColor*)shadowColor whiteMapping:(NSColor*)lightColor;
- (void)getBitmapDataPlanes:(unsigned)char** data;
- (void)getCompression:(NSTIFFCompression*)compression factor:(float*)factor;
- (void)getPixel:(NSUInteger[])p atX:(NSInteger)x y:(NSInteger)y;
- (void)setColor:(NSColor*)color atX:(NSInteger)x y:(NSInteger)y;
- (void)setCompression:(NSTIFFCompression)compression factor:(float)factor;
- (void)setPixel:(NSUInteger[])p atX:(NSInteger)x y:(NSInteger)y;
@interface NSBitmapImageRep (NSBitmapImageFileTypeExtensions)
// Class Members
+ (NSData*)representationOfImageRepsInArray:(NSArray*)imageReps usingType:(NSBitmapImageFileType)storageType properties:(NSDictionary*)properties;
// Instance Members
- (NSData*)representationUsingType:(NSBitmapImageFileType)storageType properties:(NSDictionary*)properties;
- (id)valueForProperty:(NSString*)property;
- (void)setProperty:(NSString*)property withValue:(id)value;
@interface NSBox : NSView
// Instance Members
- (BOOL)isTransparent;
- (NSBorderType)borderType;
- (NSBoxType)boxType;
- (NSFont*)titleFont;
- (NSRect)borderRect;
- (NSRect)titleRect;
- (NSSize)contentViewMargins;
- (NSString*)title;
- (NSTitlePosition)titlePosition;
- (id)contentView;
- (id)titleCell;
- (void)setBorderType:(NSBorderType)aType;
- (void)setBoxType:(NSBoxType)boxType;
- (void)setContentView:(NSView*)aView;
- (void)setContentViewMargins:(NSSize)offsetSize;
- (void)setFrameFromContentFrame:(NSRect)contentFrame;
- (void)setTitle:(NSString*)aString;
- (void)setTitleFont:(NSFont*)fontObj;
- (void)setTitlePosition:(NSTitlePosition)aPosition;
- (void)setTransparent:(BOOL)flag;
- (void)sizeToFit;
@interface NSBox (NSKeyboardUI)
// Instance Members
- (void)setTitleWithMnemonic:(NSString*)stringWithAmpersand;
@interface NSBox (NSCustomBoxTypeProperties)
// Instance Members
- (CGFloat)borderWidth;
- (CGFloat)cornerRadius;
- (NSColor*)borderColor;
- (NSColor*)fillColor;
- (void)setBorderColor:(NSColor*)borderColor;
- (void)setBorderWidth:(CGFloat)borderWidth;
- (void)setCornerRadius:(CGFloat)cornerRadius;
- (void)setFillColor:(NSColor*)fillColor;
@interface NSBrowser : NSControl
// Class Members
+ (Class)cellClass;
+ (void)removeSavedColumnsWithAutosaveName:(NSString*)name;
// Instance Members
- (BOOL)acceptsArrowKeys;
- (BOOL)allowsBranchSelection;
- (BOOL)allowsEmptySelection;
- (BOOL)allowsMultipleSelection;
- (BOOL)allowsTypeSelect;
- (BOOL)canDragRowsWithIndexes:(NSIndexSet*)rowIndexes inColumn:(NSInteger)column withEvent:(NSEvent*)event;
- (BOOL)hasHorizontalScroller;
- (BOOL)isLoaded;
- (BOOL)isTitled;
- (BOOL)prefersAllColumnUserResizing;
- (BOOL)reusesColumns;
- (BOOL)sendAction;
- (BOOL)sendsActionOnArrowKeys;
- (BOOL)separatesColumns;
- (BOOL)setPath:(NSString*)path;
- (BOOL)takesTitleFromPreviousColumn;
- (CGFloat)columnContentWidthForColumnWidth:(CGFloat)columnWidth;
- (CGFloat)columnWidthForColumnContentWidth:(CGFloat)columnContentWidth;
- (CGFloat)minColumnWidth;
- (CGFloat)titleHeight;
- (CGFloat)widthOfColumn:(NSInteger)column;
- (Class)matrixClass;
- (NSArray*)selectedCells;
- (NSBrowserColumnResizingType)columnResizingType;
- (NSColor*)backgroundColor;
- (NSImage*)draggingImageForRowsWithIndexes:(NSIndexSet*)rowIndexes inColumn:(NSInteger)column withEvent:(NSEvent*)event offset:(NSPointPointer)dragImageOffset;
- (NSIndexSet*)selectedRowIndexesInColumn:(NSInteger)column;
- (NSInteger)columnOfMatrix:(NSMatrix*)matrix;
- (NSInteger)firstVisibleColumn;
- (NSInteger)lastColumn;
- (NSInteger)lastVisibleColumn;
- (NSInteger)maxVisibleColumns;
- (NSInteger)numberOfVisibleColumns;
- (NSInteger)selectedColumn;
- (NSInteger)selectedRowInColumn:(NSInteger)column;
- (NSMatrix*)matrixInColumn:(NSInteger)column;
- (NSRect)frameOfColumn:(NSInteger)column;
- (NSRect)frameOfInsideOfColumn:(NSInteger)column;
- (NSRect)titleFrameOfColumn:(NSInteger)column;
- (NSString*)columnsAutosaveName;
- (NSString*)path;
- (NSString*)pathSeparator;
- (NSString*)pathToColumn:(NSInteger)column;
- (NSString*)titleOfColumn:(NSInteger)column;
- (SEL)doubleAction;
- (id)cellPrototype;
- (id)delegate;
- (id)loadedCellAtRow:(NSInteger)row column:(NSInteger)col;
- (id)selectedCell;
- (id)selectedCellInColumn:(NSInteger)column;
- (void)addColumn;
- (void)displayAllColumns;
- (void)displayColumn:(NSInteger)column;
- (void)doClick:(id)sender;
- (void)doDoubleClick:(id)sender;
- (void)drawTitleOfColumn:(NSInteger)column inRect:(NSRect)aRect;
- (void)loadColumnZero;
- (void)reloadColumn:(NSInteger)column;
- (void)scrollColumnToVisible:(NSInteger)column;
- (void)scrollColumnsLeftBy:(NSInteger)shiftAmount;
- (void)scrollColumnsRightBy:(NSInteger)shiftAmount;
- (void)scrollViaScroller:(NSScroller*)sender;
- (void)selectAll:(id)sender;
- (void)selectRow:(NSInteger)row inColumn:(NSInteger)column;
- (void)selectRowIndexes:(NSIndexSet*)indexes inColumn:(NSInteger)column;
- (void)setAcceptsArrowKeys:(BOOL)flag;
- (void)setAllowsBranchSelection:(BOOL)flag;
- (void)setAllowsEmptySelection:(BOOL)flag;
- (void)setAllowsMultipleSelection:(BOOL)flag;
- (void)setAllowsTypeSelect:(BOOL)value;
- (void)setBackgroundColor:(NSColor*)color;
- (void)setCellClass:(Class)factoryId;
- (void)setCellPrototype:(NSCell*)aCell;
- (void)setColumnResizingType:(NSBrowserColumnResizingType)columnResizingType;
- (void)setColumnsAutosaveName:(NSString*)name;
- (void)setDelegate:(id)anObject;
- (void)setDoubleAction:(SEL)aSelector;
- (void)setDraggingSourceOperationMask:(NSDragOperation)mask forLocal:(BOOL)isLocal;
- (void)setHasHorizontalScroller:(BOOL)flag;
- (void)setLastColumn:(NSInteger)column;
- (void)setMatrixClass:(Class)factoryId;
- (void)setMaxVisibleColumns:(NSInteger)columnCount;
- (void)setMinColumnWidth:(CGFloat)columnWidth;
- (void)setPathSeparator:(NSString*)newString;
- (void)setPrefersAllColumnUserResizing:(BOOL)prefersAllColumnResizing;
- (void)setReusesColumns:(BOOL)flag;
- (void)setSendsActionOnArrowKeys:(BOOL)flag;
- (void)setSeparatesColumns:(BOOL)flag;
- (void)setTakesTitleFromPreviousColumn:(BOOL)flag;
- (void)setTitle:(NSString*)aString ofColumn:(NSInteger)column;
- (void)setTitled:(BOOL)flag;
- (void)setWidth:(CGFloat)columnWidth ofColumn:(NSInteger)columnIndex;
- (void)tile;
- (void)updateScroller;
- (void)validateVisibleColumns;
@interface NSObject (NSBrowserDelegate)
// Instance Members
- (BOOL)browser:(NSBrowser*)browser writeRowsWithIndexes:(NSIndexSet*)rowIndexes inColumn:(NSInteger)column toPasteboard:(NSPasteboard*)pasteboard;
- (BOOL)browser:(NSBrowser*)browser shouldTypeSelectForEvent:(NSEvent*)event withCurrentSearchString:(NSString*)searchString;
- (BOOL)browser:(NSBrowser*)browser acceptDrop:(id)
- (BOOL)browser:(NSBrowser*)browser canDragRowsWithIndexes:(NSIndexSet*)rowIndexes inColumn:(NSInteger)column withEvent:(NSEvent*)event;
- (BOOL)browser:(NSBrowser*)sender selectCellWithString:(NSString*)title inColumn:(NSInteger)column;
- (BOOL)browser:(NSBrowser*)sender selectRow:(NSInteger)row inColumn:(NSInteger)column;
- (BOOL)browser:(NSBrowser*)browser shouldShowCellExpansionForRow:(NSInteger)row column:(NSInteger)column;
- (BOOL)browser:(NSBrowser*)sender isColumnValid:(NSInteger)column;
- (CGFloat)browser:(NSBrowser*)browser sizeToFitWidthOfColumn:(NSInteger)columnIndex;
- (CGFloat)browser:(NSBrowser*)browser shouldSizeColumn:(NSInteger)columnIndex forUserResize:(BOOL)forUserResize toWidth:(CGFloat)suggestedWidth;
- (NSArray*)browser:(NSBrowser*)browser namesOfPromisedFilesDroppedAtDestination:(NSURL*)dropDestination forDraggedRowsWithIndexes:(NSIndexSet*)rowIndexes inColumn:(NSInteger)column;
- (NSDragOperation)browser:(NSBrowser*)browser validateDrop:(id)
- (NSImage*)browser:(NSBrowser*)browser draggingImageForRowsWithIndexes:(NSIndexSet*)rowIndexes inColumn:(NSInteger)column withEvent:(NSEvent*)event offset:(NSPointPointer)dragImageOffset;
- (NSInteger)browser:(NSBrowser*)sender numberOfRowsInColumn:(NSInteger)column;
- (NSInteger)browser:(NSBrowser*)browser nextTypeSelectMatchFromRow:(NSInteger)startRow toRow:(NSInteger)endRow inColumn:(NSInteger)column forString:(NSString*)searchString;
- (NSString*)browser:(NSBrowser*)browser typeSelectStringForRow:(NSInteger)row inColumn:(NSInteger)column;
- (NSString*)browser:(NSBrowser*)sender titleOfColumn:(NSInteger)column;
- (void)browser:(NSBrowser*)sender createRowsForColumn:(NSInteger)column inMatrix:(NSMatrix*)matrix;
- (void)browser:(NSBrowser*)sender willDisplayCell:(id)cell atRow:(NSInteger)row column:(NSInteger)column;
- (void)browserColumnConfigurationDidChange:(NSNotification*)notification;
- (void)browserDidScroll:(NSBrowser*)sender;
- (void)browserWillScroll:(NSBrowser*)sender;
@interface NSBrowserCell : NSCell
// Class Members
+ (NSImage*)branchImage;
+ (NSImage*)highlightedBranchImage;
// Instance Members
- (BOOL)isLeaf;
- (BOOL)isLoaded;
- (NSColor*)highlightColorInView:(NSView*)controlView;
- (NSImage*)alternateImage;
- (NSImage*)image;
- (void)reset;
- (void)set;
- (void)setAlternateImage:(NSImage*)newAltImage;
- (void)setImage:(NSImage*)image;
- (void)setLeaf:(BOOL)flag;
- (void)setLoaded:(BOOL)flag;
@interface NSButton : NSControl
// Instance Members
- (BOOL)isBordered;
- (BOOL)isTransparent;
- (BOOL)performKeyEquivalent:(NSEvent*)key;
- (NSCellImagePosition)imagePosition;
- (NSImage*)alternateImage;
- (NSImage*)image;
- (NSInteger)state;
- (NSString*)alternateTitle;
- (NSString*)keyEquivalent;
- (NSString*)title;
- (NSUInteger)keyEquivalentModifierMask;
- (void)getPeriodicDelay:(float*)delay interval:(float*)interval;
- (void)highlight:(BOOL)flag;
- (void)setAlternateImage:(NSImage*)image;
- (void)setAlternateTitle:(NSString*)aString;
- (void)setBordered:(BOOL)flag;
- (void)setButtonType:(NSButtonType)aType;
- (void)setImage:(NSImage*)image;
- (void)setImagePosition:(NSCellImagePosition)aPosition;
- (void)setKeyEquivalent:(NSString*)charCode;
- (void)setKeyEquivalentModifierMask:(NSUInteger)mask;
- (void)setPeriodicDelay:(float)delay interval:(float)interval;
- (void)setState:(NSInteger)value;
- (void)setTitle:(NSString*)aString;
- (void)setTransparent:(BOOL)flag;
@interface NSButton (NSKeyboardUI)
// Instance Members
- (void)setTitleWithMnemonic:(NSString*)stringWithAmpersand;
@interface NSButton (NSButtonAttributedStringMethods)
// Instance Members
- (NSAttributedString*)attributedAlternateTitle;
- (NSAttributedString*)attributedTitle;
- (void)setAttributedAlternateTitle:(NSAttributedString*)obj;
- (void)setAttributedTitle:(NSAttributedString*)aString;
@interface NSButton (NSButtonBezelStyles)
// Instance Members
- (NSBezelStyle)bezelStyle;
- (void)setBezelStyle:(NSBezelStyle)bezelStyle;
@interface NSButton (NSButtonMixedState)
// Instance Members
- (BOOL)allowsMixedState;
- (void)setAllowsMixedState:(BOOL)flag;
- (void)setNextState;
@interface NSButton (NSButtonBorder)
// Instance Members
- (BOOL)showsBorderOnlyWhileMouseInside;
- (void)setShowsBorderOnlyWhileMouseInside:(BOOL)show;
@interface NSButton (NSButtonSoundExtensions)
// Instance Members
- (NSSound*)sound;
- (void)setSound:(NSSound*)aSound;
@interface NSButtonCell : NSActionCell
// Instance Members
- (BOOL)isOpaque;
- (BOOL)isTransparent;
- (NSCellImagePosition)imagePosition;
- (NSFont*)keyEquivalentFont;
- (NSImage*)alternateImage;
- (NSImageScaling)imageScaling;
- (NSInteger)highlightsBy;
- (NSInteger)showsStateBy;
- (NSRect)drawTitle:(NSAttributedString*)title withFrame:(NSRect)frame inView:(NSView*)controlView;
- (NSString*)alternateTitle;
- (NSString*)keyEquivalent;
- (NSString*)title;
- (NSUInteger)keyEquivalentModifierMask;
- (void)drawBezelWithFrame:(NSRect)frame inView:(NSView*)controlView;
- (void)drawImage:(NSImage*)image withFrame:(NSRect)frame inView:(NSView*)controlView;
- (void)getPeriodicDelay:(float*)delay interval:(float*)interval;
- (void)performClick:(id)sender;
- (void)setAlternateImage:(NSImage*)image;
- (void)setAlternateTitle:(NSString*)aString;
- (void)setButtonType:(NSButtonType)aType;
- (void)setFont:(NSFont*)fontObj;
- (void)setHighlightsBy:(NSInteger)aType;
- (void)setImagePosition:(NSCellImagePosition)aPosition;
- (void)setImageScaling:(NSImageScaling)scaling;
- (void)setKeyEquivalent:(NSString*)aKeyEquivalent;
- (void)setKeyEquivalentFont:(NSString*)fontName size:(CGFloat)fontSize;
- (void)setKeyEquivalentFont:(NSFont*)fontObj;
- (void)setKeyEquivalentModifierMask:(NSUInteger)mask;
- (void)setPeriodicDelay:(float)delay interval:(float)interval;
- (void)setShowsStateBy:(NSInteger)aType;
- (void)setTitle:(NSString*)aString;
- (void)setTransparent:(BOOL)flag;
@interface NSButtonCell (NSKeyboardUI)
// Instance Members
- (NSString*)alternateMnemonic;
- (NSUInteger)alternateMnemonicLocation;
- (void)setAlternateMnemonicLocation:(NSUInteger)location;
- (void)setAlternateTitleWithMnemonic:(NSString*)stringWithAmpersand;
- (void)setTitleWithMnemonic:(NSString*)stringWithAmpersand;
@interface NSButtonCell (NSButtonCellExtensions)
// Instance Members
- (BOOL)imageDimsWhenDisabled;
- (BOOL)showsBorderOnlyWhileMouseInside;
- (NSColor*)backgroundColor;
- (NSGradientType)gradientType;
- (void)mouseEntered:(NSEvent*)event;
- (void)mouseExited:(NSEvent*)event;
- (void)setBackgroundColor:(NSColor*)color;
- (void)setGradientType:(NSGradientType)type;
- (void)setImageDimsWhenDisabled:(BOOL)flag;
- (void)setShowsBorderOnlyWhileMouseInside:(BOOL)show;
@interface NSButtonCell (NSButtonCellAttributedStringMethods)
// Instance Members
- (NSAttributedString*)attributedAlternateTitle;
- (NSAttributedString*)attributedTitle;
- (void)setAttributedAlternateTitle:(NSAttributedString*)obj;
- (void)setAttributedTitle:(NSAttributedString*)obj;
@interface NSButtonCell (NSButtonCellBezelStyles)
// Instance Members
- (NSBezelStyle)bezelStyle;
- (void)setBezelStyle:(NSBezelStyle)bezelStyle;
@interface NSButtonCell (NSButtonCellSoundExtensions)
// Instance Members
- (NSSound*)sound;
- (void)setSound:(NSSound*)aSound;
@interface NSCachedImageRep : NSImageRep
// Instance Members
- (NSRect)rect;
- (NSWindow*)window;
- (id)initWithSize:(NSSize)size depth:(NSWindowDepth)depth separate:(BOOL)flag alpha:(BOOL)alpha;
- (id)initWithWindow:(NSWindow*)win rect:(NSRect)rect;
@interface NSCell : NSObject
// Class Members
+ (BOOL)prefersTrackingUntilMouseUp;
+ (NSMenu*)defaultMenu;
// Instance Members
- (BOOL)allowsUndo;
- (BOOL)continueTracking:(NSPoint)lastPoint at:(NSPoint)currentPoint inView:(NSView*)controlView;
- (BOOL)hasValidObjectValue;
- (BOOL)isBezeled;
- (BOOL)isBordered;
- (BOOL)isContinuous;
- (BOOL)isEditable;
- (BOOL)isEnabled;
- (BOOL)isEntryAcceptable:(NSString*)aString;
- (BOOL)isHighlighted;
- (BOOL)isOpaque;
- (BOOL)isScrollable;
- (BOOL)isSelectable;
- (BOOL)sendsActionOnEndEditing;
- (BOOL)startTrackingAt:(NSPoint)startPoint inView:(NSView*)controlView;
- (BOOL)trackMouse:(NSEvent*)theEvent inRect:(NSRect)cellFrame ofView:(NSView*)controlView untilMouseUp:(BOOL)flag;
- (BOOL)truncatesLastVisibleLine:(AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;)
- (BOOL)wraps;
- (NSCellType)type;
- (NSColor*)highlightColorWithFrame:(NSRect)cellFrame inView:(NSView*)controlView;
- (NSComparisonResult)compare:(id)otherCell;
- (NSControlSize)controlSize;
- (NSControlTint)controlTint;
- (NSFont*)font;
- (NSImage*)image;
- (NSInteger)cellAttribute:(NSCellAttribute)aParameter;
- (NSInteger)entryType;
- (NSInteger)integerValue;
- (NSInteger)mouseDownFlags;
- (NSInteger)sendActionOn:(NSInteger)mask;
- (NSInteger)state;
- (NSInteger)tag;
- (NSLineBreakMode)lineBreakMode;
- (NSMenu*)menu;
- (NSMenu*)menuForEvent:(NSEvent*)event inRect:(NSRect)cellFrame ofView:(NSView*)view;
- (NSRect)drawingRectForBounds:(NSRect)theRect;
- (NSRect)imageRectForBounds:(NSRect)theRect;
- (NSRect)titleRectForBounds:(NSRect)theRect;
- (NSSize)cellSize;
- (NSSize)cellSizeForBounds:(NSRect)aRect;
- (NSString*)keyEquivalent;
- (NSString*)stringValue;
- (NSString*)title;
- (NSText*)setUpFieldEditorAttributes:(NSText*)textObj;
- (NSTextAlignment)alignment;
- (NSView*)controlView;
- (NSWritingDirection)baseWritingDirection;
- (SEL)action;
- (double)doubleValue;
- (float)floatValue;
- (id)formatter;
- (id)initImageCell:(NSImage*)image;
- (id)initTextCell:(NSString*)aString;
- (id)objectValue;
- (id)representedObject;
- (id)target;
- (int)intValue;
- (void)calcDrawInfo:(NSRect)aRect;
- (void)drawInteriorWithFrame:(NSRect)cellFrame inView:(NSView*)controlView;
- (void)drawWithFrame:(NSRect)cellFrame inView:(NSView*)controlView;
- (void)editWithFrame:(NSRect)aRect inView:(NSView*)controlView editor:(NSText*)textObj delegate:(id)anObject event:(NSEvent*)theEvent;
- (void)endEditing:(NSText*)textObj;
- (void)getPeriodicDelay:(float*)delay interval:(float*)interval;
- (void)highlight:(BOOL)flag withFrame:(NSRect)cellFrame inView:(NSView*)controlView;
- (void)resetCursorRect:(NSRect)cellFrame inView:(NSView*)controlView;
- (void)selectWithFrame:(NSRect)aRect inView:(NSView*)controlView editor:(NSText*)textObj delegate:(id)anObject start:(NSInteger)selStart length:(NSInteger)selLength;
- (void)setAction:(SEL)aSelector;
- (void)setAlignment:(NSTextAlignment)mode;
- (void)setAllowsUndo:(BOOL)allowsUndo;
- (void)setBaseWritingDirection:(NSWritingDirection)writingDirection;
- (void)setBezeled:(BOOL)flag;
- (void)setBordered:(BOOL)flag;
- (void)setCellAttribute:(NSCellAttribute)aParameter to:(NSInteger)value;
- (void)setContinuous:(BOOL)flag;
- (void)setControlSize:(NSControlSize)size;
- (void)setControlTint:(NSControlTint)controlTint;
- (void)setControlView:(NSView*)view;
- (void)setDoubleValue:(double)aDouble;
- (void)setEditable:(BOOL)flag;
- (void)setEnabled:(BOOL)flag;
- (void)setEntryType:(NSInteger)aType;
- (void)setFloatValue:(float)aFloat;
- (void)setFloatingPointFormat:(BOOL)autoRange left:(NSUInteger)leftDigits right:(NSUInteger)rightDigits;
- (void)setFont:(NSFont*)fontObj;
- (void)setFormatter:(NSFormatter*)newFormatter;
- (void)setHighlighted:(BOOL)flag;
- (void)setImage:(NSImage*)image;
- (void)setIntValue:(int)anInt;
- (void)setIntegerValue:(NSInteger)anInteger;
- (void)setLineBreakMode:(NSLineBreakMode)mode;
- (void)setMenu:(NSMenu*)aMenu;
- (void)setObjectValue:(id)
- (void)setRepresentedObject:(id)anObject;
- (void)setScrollable:(BOOL)flag;
- (void)setSelectable:(BOOL)flag;
- (void)setSendsActionOnEndEditing:(BOOL)flag;
- (void)setState:(NSInteger)value;
- (void)setStringValue:(NSString*)aString;
- (void)setTag:(NSInteger)anInt;
- (void)setTarget:(id)anObject;
- (void)setTitle:(NSString*)aString;
- (void)setTruncatesLastVisibleLine:(BOOL)flag AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
- (void)setType:(NSCellType)aType;
- (void)setWraps:(BOOL)flag;
- (void)stopTracking:(NSPoint)lastPoint at:(NSPoint)stopPoint inView:(NSView*)controlView mouseIsUp:(BOOL)flag;
- (void)takeDoubleValueFrom:(id)sender;
- (void)takeFloatValueFrom:(id)sender;
- (void)takeIntValueFrom:(id)sender;
- (void)takeIntegerValueFrom:(id)sender;
- (void)takeObjectValueFrom:(id)sender;
- (void)takeStringValueFrom:(id)sender;
@interface NSCell (NSKeyboardUI)
// Class Members
+ (NSFocusRingType)defaultFocusRingType;
// Instance Members
- (BOOL)acceptsFirstResponder;
- (BOOL)refusesFirstResponder;
- (BOOL)showsFirstResponder;
- (BOOL)wantsNotificationForMarkedText;
- (NSFocusRingType)focusRingType;
- (NSString*)mnemonic;
- (NSUInteger)mnemonicLocation;
- (void)performClick:(id)sender;
- (void)setFocusRingType:(NSFocusRingType)focusRingType;
- (void)setMnemonicLocation:(NSUInteger)location;
- (void)setRefusesFirstResponder:(BOOL)flag;
- (void)setShowsFirstResponder:(BOOL)showFR;
- (void)setTitleWithMnemonic:(NSString*)stringWithAmpersand;
@interface NSCell (NSCellAttributedStringMethods)
// Instance Members
- (BOOL)allowsEditingTextAttributes;
- (BOOL)importsGraphics;
- (NSAttributedString*)attributedStringValue;
- (void)setAllowsEditingTextAttributes:(BOOL)flag;
- (void)setAttributedStringValue:(NSAttributedString*)obj;
- (void)setImportsGraphics:(BOOL)flag;
@interface NSCell (NSCellMixedState)
// Instance Members
- (BOOL)allowsMixedState;
- (NSInteger)nextState;
- (void)setAllowsMixedState:(BOOL)flag;
- (void)setNextState;
@interface NSCell (NSCellHitTest)
// Instance Members
- (NSUInteger)hitTestForEvent:(NSEvent*)event inRect:(NSRect)cellFrame ofView:(NSView*)controlView;
@interface NSCell (NSCellExpansion)
// Instance Members
- (NSRect)expansionFrameWithFrame:(NSRect)cellFrame inView:(NSView*)view;
- (void)drawWithExpansionFrame:(NSRect)cellFrame inView:(NSView*)view;
@interface NSCell (NSCellBackgroundStyle)
// Instance Members
- (NSBackgroundStyle)backgroundStyle;
- (NSBackgroundStyle)interiorBackgroundStyle;
- (void)setBackgroundStyle:(NSBackgroundStyle)style;
@interface NSCIImageRep : NSImageRep
// Class Members
+ (id)imageRepWithCIImage:(CIImage*)image;
// Instance Members
- (CIImage*)CIImage;
- (id)initWithCIImage:(CIImage*)image;
@interface CIImage (NSAppKitAdditions)
// Instance Members
- (id)initWithBitmapImageRep:(NSBitmapImageRep*)bitmapImageRep;
- (void)drawAtPoint:(NSPoint)point fromRect:(NSRect)fromRect operation:(NSCompositingOperation)op fraction:(CGFloat)delta;
- (void)drawInRect:(NSRect)rect fromRect:(NSRect)fromRect operation:(NSCompositingOperation)op fraction:(CGFloat)delta;
@interface NSClipView : NSView
// Instance Members
- (BOOL)autoscroll:(NSEvent*)theEvent;
- (BOOL)copiesOnScroll;
- (BOOL)drawsBackground;
- (NSColor*)backgroundColor;
- (NSCursor*)documentCursor;
- (NSPoint)constrainScrollPoint:(NSPoint)newOrigin;
- (NSRect)documentRect;
- (NSRect)documentVisibleRect;
- (id)documentView;
- (void)scrollToPoint:(NSPoint)newOrigin;
- (void)setBackgroundColor:(NSColor*)color;
- (void)setCopiesOnScroll:(BOOL)flag;
- (void)setDocumentCursor:(NSCursor*)anObj;
- (void)setDocumentView:(NSView*)aView;
- (void)setDrawsBackground:(BOOL)flag;
- (void)viewBoundsChanged:(NSNotification*)notification;
- (void)viewFrameChanged:(NSNotification*)notification;
@interface NSView (NSClipViewSuperview)
// Instance Members
- (void)reflectScrolledClipView:(NSClipView*)aClipView;
- (void)scrollClipView:(NSClipView*)aClipView toPoint:(NSPoint)aPoint;
@interface NSCollectionViewItem : NSObject
// Instance Members
- (BOOL)isSelected;
- (NSCollectionView*)collectionView;
- (NSView*)view;
- (id)representedObject;
- (void)setRepresentedObject:(id)object;
- (void)setSelected:(BOOL)flag;
- (void)setView:(NSView*)view;
@interface NSCollectionView : NSView
// Instance Members
- (BOOL)allowsMultipleSelection;
- (BOOL)isFirstResponder;
- (BOOL)isSelectable;
- (NSArray*)backgroundColors;
- (NSArray*)content;
- (NSCollectionViewItem*)itemPrototype;
- (NSCollectionViewItem*)newItemForRepresentedObject:(id)object;
- (NSIndexSet*)selectionIndexes;
- (NSSize)maxItemSize;
- (NSSize)minItemSize;
- (NSUInteger)maxNumberOfColumns;
- (NSUInteger)maxNumberOfRows;
- (void)setAllowsMultipleSelection:(BOOL)flag;
- (void)setBackgroundColors:(NSArray*)colors;
- (void)setContent:(NSArray*)content;
- (void)setItemPrototype:(NSCollectionViewItem*)prototype;
- (void)setMaxItemSize:(NSSize)size;
- (void)setMaxNumberOfColumns:(NSUInteger)number;
- (void)setMaxNumberOfRows:(NSUInteger)number;
- (void)setMinItemSize:(NSSize)size;
- (void)setSelectable:(BOOL)flag;
- (void)setSelectionIndexes:(NSIndexSet*)indexes;
@interface NSColor : NSObject
// Class Members
+ (BOOL)ignoresAlpha;
+ (NSArray*)controlAlternatingRowBackgroundColors;
+ (NSColor*)alternateSelectedControlColor;
+ (NSColor*)alternateSelectedControlTextColor;
+ (NSColor*)blackColor;
+ (NSColor*)blueColor;
+ (NSColor*)brownColor;
+ (NSColor*)clearColor;
+ (NSColor*)colorForControlTint:(NSControlTint)controlTint;
+ (NSColor*)colorFromPasteboard:(NSPasteboard*)pasteBoard;
+ (NSColor*)colorWithCalibratedHue:(CGFloat)hue saturation:(CGFloat)saturation brightness:(CGFloat)brightness alpha:(CGFloat)alpha;
+ (NSColor*)colorWithCalibratedRed:(CGFloat)red green:(CGFloat)green blue:(CGFloat)blue alpha:(CGFloat)alpha;
+ (NSColor*)colorWithCalibratedWhite:(CGFloat)white alpha:(CGFloat)alpha;
+ (NSColor*)colorWithCatalogName:(NSString*)listName colorName:(NSString*)colorName;
+ (NSColor*)colorWithColorSpace:(NSColorSpace*)space components:(const)CGFloat* components:(count:)NSInteger numberOfComponents;
+ (NSColor*)colorWithDeviceCyan:(CGFloat)cyan magenta:(CGFloat)magenta yellow:(CGFloat)yellow black:(CGFloat)black alpha:(CGFloat)alpha;
+ (NSColor*)colorWithDeviceHue:(CGFloat)hue saturation:(CGFloat)saturation brightness:(CGFloat)brightness alpha:(CGFloat)alpha;
+ (NSColor*)colorWithDeviceRed:(CGFloat)red green:(CGFloat)green blue:(CGFloat)blue alpha:(CGFloat)alpha;
+ (NSColor*)colorWithDeviceWhite:(CGFloat)white alpha:(CGFloat)alpha;
+ (NSColor*)colorWithPatternImage:(NSImage*)image;
+ (NSColor*)controlBackgroundColor;
+ (NSColor*)controlColor;
+ (NSColor*)controlDarkShadowColor;
+ (NSColor*)controlHighlightColor;
+ (NSColor*)controlLightHighlightColor;
+ (NSColor*)controlShadowColor;
+ (NSColor*)controlTextColor;
+ (NSColor*)cyanColor;
+ (NSColor*)darkGrayColor;
+ (NSColor*)disabledControlTextColor;
+ (NSColor*)grayColor;
+ (NSColor*)greenColor;
+ (NSColor*)gridColor;
+ (NSColor*)headerColor;
+ (NSColor*)headerTextColor;
+ (NSColor*)highlightColor;
+ (NSColor*)keyboardFocusIndicatorColor;
+ (NSColor*)knobColor;
+ (NSColor*)lightGrayColor;
+ (NSColor*)magentaColor;
+ (NSColor*)orangeColor;
+ (NSColor*)purpleColor;
+ (NSColor*)redColor;
+ (NSColor*)scrollBarColor;
+ (NSColor*)secondarySelectedControlColor;
+ (NSColor*)selectedControlColor;
+ (NSColor*)selectedControlTextColor;
+ (NSColor*)selectedKnobColor;
+ (NSColor*)selectedMenuItemColor;
+ (NSColor*)selectedMenuItemTextColor;
+ (NSColor*)selectedTextBackgroundColor;
+ (NSColor*)selectedTextColor;
+ (NSColor*)shadowColor;
+ (NSColor*)textBackgroundColor;
+ (NSColor*)textColor;
+ (NSColor*)whiteColor;
+ (NSColor*)windowBackgroundColor;
+ (NSColor*)windowFrameColor;
+ (NSColor*)windowFrameTextColor;
+ (NSColor*)yellowColor;
+ (NSControlTint)currentControlTint;
+ (void)setIgnoresAlpha:(BOOL)flag;
// Instance Members
- (CGFloat)alphaComponent;
- (CGFloat)blackComponent;
- (CGFloat)blueComponent;
- (CGFloat)brightnessComponent;
- (CGFloat)cyanComponent;
- (CGFloat)greenComponent;
- (CGFloat)hueComponent;
- (CGFloat)magentaComponent;
- (CGFloat)redComponent;
- (CGFloat)saturationComponent;
- (CGFloat)whiteComponent;
- (CGFloat)yellowComponent;
- (NSColor*)blendedColorWithFraction:(CGFloat)fraction ofColor:(NSColor*)color;
- (NSColor*)colorUsingColorSpace:(NSColorSpace*)space;
- (NSColor*)colorUsingColorSpaceName:(NSString*)colorSpace;
- (NSColor*)colorUsingColorSpaceName:(NSString*)colorSpace device:(NSDictionary*)deviceDescription;
- (NSColor*)colorWithAlphaComponent:(CGFloat)alpha;
- (NSColor*)highlightWithLevel:(CGFloat)val;
- (NSColor*)shadowWithLevel:(CGFloat)val;
- (NSColorSpace*)colorSpace;
- (NSImage*)patternImage;
- (NSInteger)numberOfComponents;
- (NSString*)catalogNameComponent;
- (NSString*)colorNameComponent;
- (NSString*)colorSpaceName;
- (NSString*)localizedCatalogNameComponent;
- (NSString*)localizedColorNameComponent;
- (void)drawSwatchInRect:(NSRect)rect;
- (void)getComponents:(CGFloat*)components;
- (void)getCyan:(CGFloat*)cyan magenta:(CGFloat*)magenta yellow:(CGFloat*)yellow black:(CGFloat*)black alpha:(CGFloat*)alpha;
- (void)getHue:(CGFloat*)hue saturation:(CGFloat*)saturation brightness:(CGFloat*)brightness alpha:(CGFloat*)alpha;
- (void)getRed:(CGFloat*)red green:(CGFloat*)green blue:(CGFloat*)blue alpha:(CGFloat*)alpha;
- (void)getWhite:(CGFloat*)white alpha:(CGFloat*)alpha;
- (void)set;
- (void)setFill;
- (void)setStroke;
- (void)writeToPasteboard:(NSPasteboard*)pasteBoard;
@interface NSColor (NSQuartzCoreAdditions)
// Class Members
+ (NSColor*)colorWithCIColor:(CIColor*)color;
@interface CIColor (NSAppKitAdditions)
// Instance Members
- (id)initWithColor:(NSColor*)color;
@interface NSCoder (NSAppKitColorExtensions)
// Instance Members
- (NSColor*)decodeNXColor;
@interface NSColorList : NSObject
// Class Members
+ (NSArray*)availableColorLists;
+ (NSColorList*)colorListNamed:(NSString*)name;
// Instance Members
- (BOOL)isEditable;
- (BOOL)writeToFile:(NSString*)path;
- (NSArray*)allKeys;
- (NSColor*)colorWithKey:(NSString*)key;
- (NSString*)name;
- (id)initWithName:(NSString*)name fromFile:(NSString*)path;
- (id)initWithName:(NSString*)name;
- (void)insertColor:(NSColor*)color key:(NSString*)key atIndex:(NSUInteger)loc;
- (void)removeColorWithKey:(NSString*)key;
- (void)removeFile;
- (void)setColor:(NSColor*)color forKey:(NSString*)key;
@interface NSColorPanel : NSPanel
// Class Members
+ (BOOL)dragColor:(NSColor*)color withEvent:(NSEvent*)theEvent fromView:(NSView*)sourceView;
+ (BOOL)sharedColorPanelExists;
+ (NSColorPanel*)sharedColorPanel;
+ (void)setPickerMask:(NSUInteger)mask;
+ (void)setPickerMode:(NSColorPanelMode)mode;
// Instance Members
- (BOOL)isContinuous;
- (BOOL)showsAlpha;
- (CGFloat)alpha;
- (NSColor*)color;
- (NSColorPanelMode)mode;
- (NSView*)accessoryView;
- (void)attachColorList:(NSColorList*)colorList;
- (void)detachColorList:(NSColorList*)colorList;
- (void)setAccessoryView:(NSView*)aView;
- (void)setAction:(SEL)aSelector;
- (void)setColor:(NSColor*)color;
- (void)setContinuous:(BOOL)flag;
- (void)setMode:(NSColorPanelMode)mode;
- (void)setShowsAlpha:(BOOL)flag;
- (void)setTarget:(id)anObject;
@interface NSApplication (NSColorPanel)
// Instance Members
- (void)orderFrontColorPanel:(id)sender;
@interface NSObject (NSColorPanelResponderMethod)
// Instance Members
- (void)changeColor:(id)sender;
@interface NSColorPicker : NSObject
// Instance Members
- (NSColorPanel*)colorPanel;
- (NSImage*)provideNewButtonImage;
- (NSSize)minContentSize;
- (NSString*)buttonToolTip;
- (id)initWithPickerMask:(NSUInteger)mask colorPanel:(NSColorPanel*)owningColorPanel;
- (void)attachColorList:(NSColorList*)colorList;
- (void)detachColorList:(NSColorList*)colorList;
- (void)insertNewButtonImage:(NSImage*)newButtonImage in:(NSButtonCell*)buttonCell;
- (void)setMode:(NSColorPanelMode)mode;
- (void)viewSizeChanged:(id)sender;
@interface NSColorSpace : NSObject
// Class Members
+ (NSColorSpace*)adobeRGB1998ColorSpace;
+ (NSColorSpace*)deviceCMYKColorSpace;
+ (NSColorSpace*)deviceGrayColorSpace;
+ (NSColorSpace*)deviceRGBColorSpace;
+ (NSColorSpace*)genericCMYKColorSpace;
+ (NSColorSpace*)genericGrayColorSpace;
+ (NSColorSpace*)genericRGBColorSpace;
+ (NSColorSpace*)sRGBColorSpace;
// Instance Members
- (CGColorSpaceRef)CGColorSpace;
- (NSColorSpaceModel)colorSpaceModel;
- (NSData*)ICCProfileData;
- (NSInteger)numberOfColorComponents;
- (NSString*)localizedName;
- (id)initWithCGColorSpace:(CGColorSpaceRef)cgColorSpace;
- (id)initWithColorSyncProfile:(void*)/* CMProfileRef*/:(prof;)
- (id)initWithICCProfileData:(NSData*)iccData;
- (void*)/*:(CMProfileRef*/)colorSyncProfile;
@interface NSColorWell : NSControl
// Instance Members
- (BOOL)isActive;
- (BOOL)isBordered;
- (NSColor*)color;
- (void)activate:(BOOL)exclusive;
- (void)deactivate;
- (void)drawWellInside:(NSRect)insideRect;
- (void)setBordered:(BOOL)flag;
- (void)setColor:(NSColor*)color;
- (void)takeColorFrom:(id)sender;
@interface NSComboBox : NSTextField
// Instance Members
- (BOOL)completes;
- (BOOL)hasVerticalScroller;
- (BOOL)isButtonBordered;
- (BOOL)usesDataSource;
- (CGFloat)itemHeight;
- (NSArray*)objectValues;
- (NSInteger)indexOfItemWithObjectValue:(id)object;
- (NSInteger)indexOfSelectedItem;
- (NSInteger)numberOfItems;
- (NSInteger)numberOfVisibleItems;
- (NSSize)intercellSpacing;
- (id)dataSource;
- (id)itemObjectValueAtIndex:(NSInteger)index;
- (id)objectValueOfSelectedItem;
- (void)addItemWithObjectValue:(id)object;
- (void)addItemsWithObjectValues:(NSArray*)objects;
- (void)deselectItemAtIndex:(NSInteger)index;
- (void)insertItemWithObjectValue:(id)object atIndex:(NSInteger)index;
- (void)noteNumberOfItemsChanged;
- (void)reloadData;
- (void)removeAllItems;
- (void)removeItemAtIndex:(NSInteger)index;
- (void)removeItemWithObjectValue:(id)object;
- (void)scrollItemAtIndexToTop:(NSInteger)index;
- (void)scrollItemAtIndexToVisible:(NSInteger)index;
- (void)selectItemAtIndex:(NSInteger)index;
- (void)selectItemWithObjectValue:(id)object;
- (void)setButtonBordered:(BOOL)flag;
- (void)setCompletes:(BOOL)completes;
- (void)setDataSource:(id)aSource;
- (void)setHasVerticalScroller:(BOOL)flag;
- (void)setIntercellSpacing:(NSSize)aSize;
- (void)setItemHeight:(CGFloat)itemHeight;
- (void)setNumberOfVisibleItems:(NSInteger)visibleItems;
- (void)setUsesDataSource:(BOOL)flag;
@interface NSObject (NSComboBoxDataSource)
// Instance Members
- (NSInteger)numberOfItemsInComboBox:(NSComboBox*)aComboBox;
- (NSString*)comboBox:(NSComboBox*)aComboBox completedString:(NSString*)string;
- (NSUInteger)comboBox:(NSComboBox*)aComboBox indexOfItemWithStringValue:(NSString*)string;
- (id)comboBox:(NSComboBox*)aComboBox objectValueForItemAtIndex:(NSInteger)index;
@interface NSObject (NSComboBoxNotifications)
// Instance Members
- (void)comboBoxSelectionDidChange:(NSNotification*)notification;
- (void)comboBoxSelectionIsChanging:(NSNotification*)notification;
- (void)comboBoxWillDismiss:(NSNotification*)notification;
- (void)comboBoxWillPopUp:(NSNotification*)notification;
@interface NSComboBoxCell : NSTextFieldCell
// Instance Members
- (BOOL)completes;
- (BOOL)hasVerticalScroller;
- (BOOL)isButtonBordered;
- (BOOL)usesDataSource;
- (CGFloat)itemHeight;
- (NSArray*)objectValues;
- (NSInteger)indexOfItemWithObjectValue:(id)object;
- (NSInteger)indexOfSelectedItem;
- (NSInteger)numberOfItems;
- (NSInteger)numberOfVisibleItems;
- (NSSize)intercellSpacing;
- (NSString*)completedString:(NSString*)string;
- (id)dataSource;
- (id)itemObjectValueAtIndex:(NSInteger)index;
- (id)objectValueOfSelectedItem;
- (void)addItemWithObjectValue:(id)object;
- (void)addItemsWithObjectValues:(NSArray*)objects;
- (void)deselectItemAtIndex:(NSInteger)index;
- (void)insertItemWithObjectValue:(id)object atIndex:(NSInteger)index;
- (void)noteNumberOfItemsChanged;
- (void)reloadData;
- (void)removeAllItems;
- (void)removeItemAtIndex:(NSInteger)index;
- (void)removeItemWithObjectValue:(id)object;
- (void)scrollItemAtIndexToTop:(NSInteger)index;
- (void)scrollItemAtIndexToVisible:(NSInteger)index;
- (void)selectItemAtIndex:(NSInteger)index;
- (void)selectItemWithObjectValue:(id)object;
- (void)setButtonBordered:(BOOL)flag;
- (void)setCompletes:(BOOL)completes;
- (void)setDataSource:(id)aSource;
- (void)setHasVerticalScroller:(BOOL)flag;
- (void)setIntercellSpacing:(NSSize)aSize;
- (void)setItemHeight:(CGFloat)itemHeight;
- (void)setNumberOfVisibleItems:(NSInteger)visibleItems;
- (void)setUsesDataSource:(BOOL)flag;
@interface NSObject (NSComboBoxCellDataSource)
// Instance Members
- (NSInteger)numberOfItemsInComboBoxCell:(NSComboBoxCell*)comboBoxCell;
- (NSString*)comboBoxCell:(NSComboBoxCell*)aComboBoxCell completedString:(NSString*)uncompletedString;
- (NSUInteger)comboBoxCell:(NSComboBoxCell*)aComboBoxCell indexOfItemWithStringValue:(NSString*)string;
- (id)comboBoxCell:(NSComboBoxCell*)aComboBoxCell objectValueForItemAtIndex:(NSInteger)index;
@interface NSControl : NSView
// Class Members
+ (Class)cellClass;
+ (void)setCellClass:(Class)factoryId;
// Instance Members
- (BOOL)abortEditing;
- (BOOL)ignoresMultiClick;
- (BOOL)isContinuous;
- (BOOL)isEnabled;
- (BOOL)sendAction:(SEL)theAction to:(id)theTarget;
- (NSFont*)font;
- (NSInteger)integerValue;
- (NSInteger)selectedTag;
- (NSInteger)sendActionOn:(NSInteger)mask;
- (NSInteger)tag;
- (NSString*)stringValue;
- (NSText*)currentEditor;
- (NSTextAlignment)alignment;
- (NSWritingDirection)baseWritingDirection;
- (SEL)action;
- (double)doubleValue;
- (float)floatValue;
- (id)cell;
- (id)formatter;
- (id)initWithFrame:(NSRect)frameRect;
- (id)objectValue;
- (id)selectedCell;
- (id)target;
- (int)intValue;
- (void)calcSize;
- (void)drawCell:(NSCell*)aCell;
- (void)drawCellInside:(NSCell*)aCell;
- (void)mouseDown:(NSEvent*)theEvent;
- (void)selectCell:(NSCell*)aCell;
- (void)setAction:(SEL)aSelector;
- (void)setAlignment:(NSTextAlignment)mode;
- (void)setBaseWritingDirection:(NSWritingDirection)writingDirection;
- (void)setCell:(NSCell*)aCell;
- (void)setContinuous:(BOOL)flag;
- (void)setDoubleValue:(double)aDouble;
- (void)setEnabled:(BOOL)flag;
- (void)setFloatValue:(float)aFloat;
- (void)setFloatingPointFormat:(BOOL)autoRange left:(NSUInteger)leftDigits right:(NSUInteger)rightDigits;
- (void)setFont:(NSFont*)fontObj;
- (void)setFormatter:(NSFormatter*)newFormatter;
- (void)setIgnoresMultiClick:(BOOL)flag;
- (void)setIntValue:(int)anInt;
- (void)setIntegerValue:(NSInteger)anInteger;
- (void)setNeedsDisplay;
- (void)setObjectValue:(id
- (void)setStringValue:(NSString*)aString;
- (void)setTag:(NSInteger)anInt;
- (void)setTarget:(id)anObject;
- (void)sizeToFit;
- (void)takeDoubleValueFrom:(id)sender;
- (void)takeFloatValueFrom:(id)sender;
- (void)takeIntValueFrom:(id)sender;
- (void)takeIntegerValueFrom:(id)sender;
- (void)takeObjectValueFrom:(id)sender;
- (void)takeStringValueFrom:(id)sender;
- (void)updateCell:(NSCell*)aCell;
- (void)updateCellInside:(NSCell*)aCell;
- (void)validateEditing;
@interface NSControl (NSKeyboardUI)
// Instance Members
- (BOOL)refusesFirstResponder;
- (void)performClick:sender;
- (void)setRefusesFirstResponder:(BOOL)flag;
@interface NSObject (NSControlSubclassNotifications)
// Instance Members
- (void)controlTextDidBeginEditing:(NSNotification*)obj;
- (void)controlTextDidChange:(NSNotification*)obj;
- (void)controlTextDidEndEditing:(NSNotification*)obj;
@interface NSObject (NSControlSubclassDelegate)
// Instance Members
- (BOOL)control:(NSControl*)control textShouldBeginEditing:(NSText*)fieldEditor;
- (BOOL)control:(NSControl*)control textShouldEndEditing:(NSText*)fieldEditor;
- (BOOL)control:(NSControl*)control didFailToFormatString:(NSString*)string errorDescription:(NSString*)error;
- (BOOL)control:(NSControl*)control textView:(NSTextView*)textView doCommandBySelector:(SEL)commandSelector;
- (BOOL)control:(NSControl*)control isValidObject:(id)obj;
- (NSArray*)control:(NSControl*)control textView:(NSTextView*)textView completions:(NSArray*)words forPartialWordRange:(NSRange)charRange indexOfSelectedItem:(NSInteger*)index;
- (void)control:(NSControl*)control didFailToValidatePartialString:(NSString*)string errorDescription:(NSString*)error;
@interface NSControl (NSControlAttributedStringMethods)
// Instance Members
- (NSAttributedString*)attributedStringValue;
- (void)setAttributedStringValue:(NSAttributedString*)obj;
@interface NSController : NSObject
// Instance Members
- (BOOL)commitEditing;
- (BOOL)isEditing;
- (void)commitEditingWithDelegate:(id)delegate didCommitSelector:(SEL)didCommitSelector contextInfo:(void*)contextInfo;
- (void)discardEditing;
- (void)objectDidBeginEditing:(id)editor;
- (void)objectDidEndEditing:(id)editor;
@interface NSCursor : NSObject
// Class Members
+ (NSCursor*)IBeamCursor;
+ (NSCursor*)arrowCursor;
+ (NSCursor*)closedHandCursor;
+ (NSCursor*)crosshairCursor;
+ (NSCursor*)currentCursor;
+ (NSCursor*)disappearingItemCursor;
+ (NSCursor*)openHandCursor;
+ (NSCursor*)pointingHandCursor;
+ (NSCursor*)resizeDownCursor;
+ (NSCursor*)resizeLeftCursor;
+ (NSCursor*)resizeLeftRightCursor;
+ (NSCursor*)resizeRightCursor;
+ (NSCursor*)resizeUpCursor;
+ (NSCursor*)resizeUpDownCursor;
+ (void)hide;
+ (void)pop;
+ (void)setHiddenUntilMouseMoves:(BOOL)flag;
+ (void)unhide;
// Instance Members
- (BOOL)isSetOnMouseEntered;
- (BOOL)isSetOnMouseExited;
- (NSImage*)image;
- (NSPoint)hotSpot;
- (id)initWithImage:(NSImage*)newImage hotSpot:(NSPoint)aPoint;
- (id)initWithImage:(NSImage*)newImage foregroundColorHint: NSColor*:(fg)backgroundColorHint: NSColor*:(bg)hotSpot: NSPoint:(hotSpot;)
- (void)mouseEntered:(NSEvent*)theEvent;
- (void)mouseExited:(NSEvent*)theEvent;
- (void)pop;
- (void)push;
- (void)set;
- (void)setOnMouseEntered:(BOOL)flag;
- (void)setOnMouseExited:(BOOL)flag;
@interface NSCustomImageRep : NSImageRep
// Instance Members
- (SEL)drawSelector;
- (id)delegate;
- (id)initWithDrawSelector:(SEL)aMethod delegate:(id)anObject;
@interface NSDatePicker : NSControl
// Instance Members
- (BOOL)drawsBackground;
- (BOOL)isBezeled;
- (BOOL)isBordered;
- (NSCalendar*)calendar;
- (NSColor*)backgroundColor;
- (NSColor*)textColor;
- (NSDate*)dateValue;
- (NSDate*)maxDate;
- (NSDate*)minDate;
- (NSDatePickerElementFlags)datePickerElements;
- (NSDatePickerMode)datePickerMode;
- (NSDatePickerStyle)datePickerStyle;
- (NSLocale*)locale;
- (NSTimeInterval)timeInterval;
- (NSTimeZone*)timeZone;
- (id)delegate;
- (void)setBackgroundColor:(NSColor*)color;
- (void)setBezeled:(BOOL)flag;
- (void)setBordered:(BOOL)flag;
- (void)setCalendar:(NSCalendar*)newCalendar;
- (void)setDatePickerElements:(NSDatePickerElementFlags)elementFlags;
- (void)setDatePickerMode:(NSDatePickerMode)newMode;
- (void)setDatePickerStyle:(NSDatePickerStyle)newStyle;
- (void)setDateValue:(NSDate*)newStartDate;
- (void)setDelegate:(id)anObject;
- (void)setDrawsBackground:(BOOL)flag;
- (void)setLocale:(NSLocale*)newLocale;
- (void)setMaxDate:(NSDate*)date;
- (void)setMinDate:(NSDate*)date;
- (void)setTextColor:(NSColor*)color;
- (void)setTimeInterval:(NSTimeInterval)newTimeInterval;
- (void)setTimeZone:(NSTimeZone*)newTimeZone;
@interface NSDatePickerCell : NSActionCell
// Instance Members
- (BOOL)drawsBackground;
- (NSCalendar*)calendar;
- (NSColor*)backgroundColor;
- (NSColor*)textColor;
- (NSDate*)dateValue;
- (NSDate*)maxDate;
- (NSDate*)minDate;
- (NSDatePickerElementFlags)datePickerElements;
- (NSDatePickerMode)datePickerMode;
- (NSDatePickerStyle)datePickerStyle;
- (NSLocale*)locale;
- (NSTimeInterval)timeInterval;
- (NSTimeZone*)timeZone;
- (id)delegate;
- (void)setBackgroundColor:(NSColor*)color;
- (void)setCalendar:(NSCalendar*)newCalendar;
- (void)setDatePickerElements:(NSDatePickerElementFlags)elementFlags;
- (void)setDatePickerMode:(NSDatePickerMode)newMode;
- (void)setDatePickerStyle:(NSDatePickerStyle)newStyle;
- (void)setDateValue:(NSDate*)newStartDate;
- (void)setDelegate:(id)anObject;
- (void)setDrawsBackground:(BOOL)flag;
- (void)setLocale:(NSLocale*)newLocale;
- (void)setMaxDate:(NSDate*)date;
- (void)setMinDate:(NSDate*)date;
- (void)setTextColor:(NSColor*)color;
- (void)setTimeInterval:(NSTimeInterval)newTimeInterval;
- (void)setTimeZone:(NSTimeZone*)newTimeZone;
@interface NSObject (NSDatePickerCellDelegate)
// Instance Members
- (void)datePickerCell:(NSDatePickerCell*)aDatePickerCell validateProposedDateValue:(NSDate**)proposedDateValue timeInterval:(NSTimeInterval*)proposedTimeInterval;
@interface NSObject (NSDictionaryControllerKeyValuePair)
// Instance Members
- (BOOL)isExplicitlyIncluded;
- (NSString*)key;
- (NSString*)localizedKey;
- (id)value;
- (void)setKey:(NSString*)key;
- (void)setLocalizedKey:(NSString*)localizedKey;
- (void)setValue:(id)value;
@interface NSDictionaryController : NSArrayController
// Instance Members
- (NSArray*)excludedKeys;
- (NSArray*)includedKeys;
- (NSDictionary*)localizedKeyDictionary;
- (NSString*)initialKey;
- (NSString*)localizedKeyTable;
- (id)initialValue;
- (id)newObject;
- (void)setExcludedKeys:(NSArray*)keys;
- (void)setIncludedKeys:(NSArray*)keys;
- (void)setInitialKey:(NSString*)key;
- (void)setInitialValue:(id)value;
- (void)setLocalizedKeyDictionary:(NSDictionary*)dictionary;
- (void)setLocalizedKeyTable:(NSString*)stringsFileName;
@interface NSDockTile : NSObject
// Instance Members
- (BOOL)showsApplicationBadge;
- (NSSize)size;
- (NSString*)badgeLabel;
- (NSView*)contentView;
- (id)owner;
- (void)display;
- (void)setBadgeLabel:(NSString*)string;
- (void)setContentView:(NSView*)view;
- (void)setShowsApplicationBadge:(BOOL)flag;
@interface NSDocument : NSObject
// Class Members
+ (BOOL)isNativeType:(NSString*)type;
+ (NSArray*)readableTypes;
+ (NSArray*)writableTypes;
// Instance Members
- (BOOL)fileNameExtensionWasHiddenInLastRunSavePanel;
- (BOOL)hasUnautosavedChanges;
- (BOOL)hasUndoManager;
- (BOOL)isDocumentEdited;
- (BOOL)keepBackupFile;
- (BOOL)preparePageLayout:(NSPageLayout*)pageLayout;
- (BOOL)prepareSavePanel:(NSSavePanel*)savePanel;
- (BOOL)presentError:(NSError*)error;
- (BOOL)readFromData:(NSData*)data ofType:(NSString*)typeName error:(NSError**)outError;
- (BOOL)readFromFileWrapper:(NSFileWrapper*)fileWrapper ofType:(NSString*)typeName error:(NSError**)outError;
- (BOOL)readFromURL:(NSURL*)absoluteURL ofType:(NSString*)typeName error:(NSError**)outError;
- (BOOL)revertToContentsOfURL:(NSURL*)absoluteURL ofType:(NSString*)typeName error:(NSError**)outError;
- (BOOL)saveToURL:(NSURL*)absoluteURL ofType:(NSString*)typeName forSaveOperation:(NSSaveOperationType)saveOperation error:(NSError**)outError;
- (BOOL)shouldChangePrintInfo:(NSPrintInfo*)newPrintInfo;
- (BOOL)shouldRunSavePanelWithAccessoryView;
- (BOOL)validateUserInterfaceItem:(id)
- (BOOL)writeSafelyToURL:(NSURL*)absoluteURL ofType:(NSString*)typeName forSaveOperation:(NSSaveOperationType)saveOperation error:(NSError**)outError;
- (BOOL)writeToURL:(NSURL*)absoluteURL ofType:(NSString*)typeName forSaveOperation:(NSSaveOperationType)saveOperation originalContentsURL:(NSURL*)absoluteOriginalContentsURL error:(NSError**)outError;
- (BOOL)writeToURL:(NSURL*)absoluteURL ofType:(NSString*)typeName error:(NSError**)outError;
- (IBAction)printDocument:(id)sender;
- (IBAction)revertDocumentToSaved:(id)sender;
- (IBAction)runPageLayout:(id)sender;
- (IBAction)saveDocument:(id)sender;
- (IBAction)saveDocumentAs:(id)sender;
- (IBAction)saveDocumentTo:(id)sender;
- (NSArray*)windowControllers;
- (NSArray*)writableTypesForSaveOperation:(NSSaveOperationType)saveOperation;
- (NSData*)dataOfType:(NSString*)typeName error:(NSError**)outError;
- (NSDate*)fileModificationDate;
- (NSDictionary*)fileAttributesToWriteToURL:(NSURL*)absoluteURL ofType:(NSString*)typeName forSaveOperation:(NSSaveOperationType)saveOperation originalContentsURL:(NSURL*)absoluteOriginalContentsURL error:(NSError**)outError;
- (NSError*)willPresentError:(NSError*)error;
- (NSFileWrapper*)fileWrapperOfType:(NSString*)typeName error:(NSError**)outError;
- (NSPrintInfo*)printInfo;
- (NSPrintOperation*)printOperationWithSettings:(NSDictionary*)printSettings error:(NSError**)outError;
- (NSString*)autosavingFileType;
- (NSString*)displayName;
- (NSString*)fileNameExtensionForType:(NSString*)typeName saveOperation:(NSSaveOperationType)saveOperation;
- (NSString*)fileType;
- (NSString*)fileTypeFromLastRunSavePanel;
- (NSString*)windowNibName;
- (NSURL*)autosavedContentsFileURL;
- (NSURL*)fileURL;
- (NSUndoManager*)undoManager;
- (NSWindow*)windowForSheet;
- (id)init;
- (id)initForURL:(NSURL*)absoluteDocumentURL withContentsOfURL:(NSURL*)absoluteDocumentContentsURL ofType:(NSString*)typeName error:(NSError**)outError;
- (id)initWithContentsOfURL:(NSURL*)absoluteURL ofType:(NSString*)typeName error:(NSError**)outError;
- (id)initWithType:(NSString*)typeName error:(NSError**)outError;
- (void)addWindowController:(NSWindowController*)windowController;
- (void)autosaveDocumentWithDelegate:(id)delegate didAutosaveSelector:(SEL)didAutosaveSelector contextInfo:(void*)contextInfo;
- (void)canCloseDocumentWithDelegate:(id)delegate shouldCloseSelector:(SEL)shouldCloseSelector contextInfo:(void*)contextInfo;
- (void)close;
- (void)makeWindowControllers;
- (void)presentError:(NSError*)error modalForWindow:(NSWindow*)window delegate:(id)delegate didPresentSelector:(SEL)didPresentSelector contextInfo:(void*)contextInfo;
- (void)printDocumentWithSettings:(NSDictionary*)printSettings showPrintPanel:(BOOL)showPrintPanel delegate:(id)delegate didPrintSelector:(SEL)didPrintSelector contextInfo:(void*)contextInfo;
- (void)removeWindowController:(NSWindowController*)windowController;
- (void)runModalPageLayoutWithPrintInfo:(NSPrintInfo*)printInfo delegate:(id)delegate didRunSelector:(SEL)didRunSelector contextInfo:(void*)contextInfo;
- (void)runModalPrintOperation:(NSPrintOperation*)printOperation delegate:(id)delegate didRunSelector:(SEL)didRunSelector contextInfo:(void*)contextInfo;
- (void)runModalSavePanelForSaveOperation:(NSSaveOperationType)saveOperation delegate:(id)delegate didSaveSelector:(SEL)didSaveSelector contextInfo:(void*)contextInfo;
- (void)saveDocumentWithDelegate:(id)delegate didSaveSelector:(SEL)didSaveSelector contextInfo:(void*)contextInfo;
- (void)saveToURL:(NSURL*)absoluteURL ofType:(NSString*)typeName forSaveOperation:(NSSaveOperationType)saveOperation delegate:(id)delegate didSaveSelector:(SEL)didSaveSelector contextInfo:(void*)contextInfo;
- (void)setAutosavedContentsFileURL:(NSURL*)absoluteURL;
- (void)setFileModificationDate:(NSDate*)modificationDate;
- (void)setFileType:(NSString*)typeName;
- (void)setFileURL:(NSURL*)absoluteURL;
- (void)setHasUndoManager:(BOOL)hasUndoManager;
- (void)setPrintInfo:(NSPrintInfo*)printInfo;
- (void)setUndoManager:(NSUndoManager*)undoManager;
- (void)setWindow:(NSWindow*)window;
- (void)shouldCloseWindowController:(NSWindowController*)windowController delegate:(id)delegate shouldCloseSelector:(SEL)shouldCloseSelector contextInfo:(void*)contextInfo;
- (void)showWindows;
- (void)updateChangeCount:(NSDocumentChangeType)change;
- (void)windowControllerDidLoadNib:(NSWindowController*)windowController;
- (void)windowControllerWillLoadNib:(NSWindowController*)windowController;
- (writeSafelyToURL:ofType:forSaveOperation:error:])automatically:(copies)important attributes:(like)file permissions,:(creation)date, and:(Finder)info from:(the)old on-disk:(revision)of a:(document)to the:(new)one during:(NSSaveOperations.)This method:(is)meant to:(be)used just:(for)attributes that:(need)to be:(written)for the:(first)time, for:(NSSaveAsOperations)and NSSaveToOperations.:(Actually,)absoluteURL and:(absoluteOriginalContentsURL)are passed:(in)just for:(completeness;)
@interface NSDocument (NSDeprecated)
// Instance Members
- (BOOL)loadDataRepresentation:(NSData*)data ofType:(NSString*)type;
- (BOOL)loadFileWrapperRepresentation:(NSFileWrapper*)wrapper ofType:(NSString*)type;
- (BOOL)readFromFile:(NSString*)fileName ofType:(NSString*)type;
- (BOOL)readFromURL:(NSURL*)url ofType:(NSString*)type;
- (BOOL)revertToSavedFromFile:(NSString*)fileName ofType:(NSString*)type;
- (BOOL)revertToSavedFromURL:(NSURL*)url ofType:(NSString*)type;
- (BOOL)writeToFile:(NSString*)fullDocumentPath ofType:(NSString*)documentTypeName originalFile:(NSString*)fullOriginalDocumentPath saveOperation:(NSSaveOperationType)saveOperationType;
- (BOOL)writeToFile:(NSString*)fileName ofType:(NSString*)type;
- (BOOL)writeToURL:(NSURL*)url ofType:(NSString*)type;
- (BOOL)writeWithBackupToFile:(NSString*)fullDocumentPath ofType:(NSString*)documentTypeName saveOperation:(NSSaveOperationType)saveOperationType;
- (NSData*)dataRepresentationOfType:(NSString*)type;
- (NSDictionary*)fileAttributesToWriteToFile:(NSString*)fullDocumentPath ofType:(NSString*)documentTypeName saveOperation:(NSSaveOperationType)saveOperationType;
- (NSFileWrapper*)fileWrapperRepresentationOfType:(NSString*)type;
- (NSInteger)runModalPageLayoutWithPrintInfo:(NSPrintInfo*)printInfo;
- (NSString*)fileName;
- (id)initWithContentsOfFile:(NSString*)absolutePath ofType:(NSString*)typeName;
- (id)initWithContentsOfURL:(NSURL*)absoluteURL ofType:(NSString*)typeName;
- (void)printShowingPrintPanel:(BOOL)flag;
- (void)saveToFile:(NSString*)fileName saveOperation:(NSSaveOperationType)saveOperation delegate:(id)delegate didSaveSelector:(SEL)didSaveSelector contextInfo:(void*)contextInfo;
- (void)setFileName:(NSString*)fileName;
@interface NSDocumentController : NSObject
// Class Members
+ (id)sharedDocumentController;
// Instance Members
- (BOOL)hasEditedDocuments;
- (BOOL)presentError:(NSError*)error;
- (BOOL)reopenDocumentForURL:(NSURL*)absoluteDocumentURL withContentsOfURL:(NSURL*)absoluteDocumentContentsURL error:(NSError**)outError;
- (BOOL)validateUserInterfaceItem:(id)
- (Class)documentClassForType:(NSString*)typeName;
- (IBAction)clearRecentDocuments:(id)sender;
- (IBAction)newDocument:(id)sender;
- (IBAction)openDocument:(id)sender;
- (IBAction)saveAllDocuments:(id)sender;
- (NSArray*)URLsFromRunningOpenPanel;
- (NSArray*)documentClassNames;
- (NSArray*)documents;
- (NSArray*)recentDocumentURLs;
- (NSError*)willPresentError:(NSError*)error;
- (NSInteger)runModalOpenPanel:(NSOpenPanel*)openPanel forTypes:(NSArray*)types;
- (NSString*)currentDirectory;
- (NSString*)defaultType;
- (NSString*)displayNameForType:(NSString*)typeName;
- (NSString*)typeForContentsOfURL:(NSURL*)inAbsoluteURL error:(NSError**)outError;
- (NSTimeInterval)autosavingDelay;
- (NSUInteger)maximumRecentDocumentCount;
- (id)currentDocument;
- (id)documentForURL:(NSURL*)absoluteURL;
- (id)documentForWindow:(NSWindow*)window;
- (id)init;
- (id)makeDocumentForURL:(NSURL*)absoluteDocumentURL withContentsOfURL:(NSURL*)absoluteDocumentContentsURL ofType:(NSString*)typeName error:(NSError**)outError;
- (id)makeDocumentWithContentsOfURL:(NSURL*)absoluteURL ofType:(NSString*)typeName error:(NSError**)outError;
- (id)makeUntitledDocumentOfType:(NSString*)typeName error:(NSError**)outError;
- (id)openDocumentWithContentsOfURL:(NSURL*)absoluteURL display:(BOOL)displayDocument error:(NSError**)outError;
- (id)openUntitledDocumentAndDisplay:(BOOL)displayDocument error:(NSError**)outError;
- (void)addDocument:(NSDocument*)document;
- (void)closeAllDocumentsWithDelegate:(id)delegate didCloseAllSelector:(SEL)didCloseAllSelector contextInfo:(void*)contextInfo;
- (void)noteNewRecentDocument:(NSDocument*)document;
- (void)noteNewRecentDocumentURL:(NSURL*)absoluteURL;
- (void)presentError:(NSError*)error modalForWindow:(NSWindow*)window delegate:(id)delegate didPresentSelector:(SEL)didPresentSelector contextInfo:(void*)contextInfo;
- (void)removeDocument:(NSDocument*)document;
- (void)reviewUnsavedDocumentsWithAlertTitle:(NSString*)title cancellable:(BOOL)cancellable delegate:(id)delegate didReviewAllSelector:(SEL)didReviewAllSelector contextInfo:(void*)contextInfo;
- (void)setAutosavingDelay:(NSTimeInterval)autosavingDelay;
@interface NSDocumentController (NSDeprecated)
// Instance Members
- (BOOL)shouldCreateUI;
- (NSArray*)fileExtensionsFromType:(NSString*)typeName;
- (NSArray*)fileNamesFromRunningOpenPanel;
- (NSString*)typeFromFileExtension:(NSString*)fileNameExtensionOrHFSFileType;
- (id)documentForFileName:(NSString*)fileName;
- (id)makeDocumentWithContentsOfFile:(NSString*)fileName ofType:(NSString*)type;
- (id)makeDocumentWithContentsOfURL:(NSURL*)url ofType:(NSString*)type;
- (id)makeUntitledDocumentOfType:(NSString*)type;
- (id)openDocumentWithContentsOfFile:(NSString*)fileName display:(BOOL)display;
- (id)openDocumentWithContentsOfURL:(NSURL*)url display:(BOOL)display;
- (id)openUntitledDocumentOfType:(NSString*)type display:(BOOL)display;
- (void)setShouldCreateUI:(BOOL)flag;
@interface NSDocument (NSScripting)
// Instance Members
- (NSScriptObjectSpecifier*)objectSpecifier;
- (NSString*)lastComponentOfFileName;
- (id)handleCloseScriptCommand:(NSCloseCommand*)command;
- (id)handlePrintScriptCommand:(NSScriptCommand*)command;
- (id)handleSaveScriptCommand:(NSScriptCommand*)command;
- (void)setLastComponentOfFileName:(NSString*)str;
@interface NSObject (NSDraggingDestination)
// Instance Members
- (BOOL)performDragOperation:(id)
- (BOOL)prepareForDragOperation:(id)
- (BOOL)wantsPeriodicDraggingUpdates;
- (NSDragOperation)draggingEntered:(id)
- (NSDragOperation)draggingUpdated:(id)
- (void)concludeDragOperation:(id)
- (void)draggingEnded:(id)
- (void)draggingExited:(id)
@interface NSObject (NSDraggingSource)
// Instance Members
- (BOOL)ignoreModifierKeysWhileDragging;
- (NSArray*)namesOfPromisedFilesDroppedAtDestination:(NSURL*)dropDestination;
- (NSDragOperation)draggingSourceOperationMaskForLocal:(BOOL)flag;
- (void)draggedImage:(NSImage*)image endedAt:(NSPoint)screenPoint operation:(NSDragOperation)operation;
- (void)draggedImage:(NSImage*)image movedTo:(NSPoint)screenPoint;
- (void)draggedImage:(NSImage*)image beganAt:(NSPoint)screenPoint;
- (void)draggedImage:(NSImage*)image endedAt:(NSPoint)screenPoint deposited:(BOOL)flag;
@interface NSDrawer : NSResponder
// Instance Members
- (CGFloat)leadingOffset;
- (CGFloat)trailingOffset;
- (NSInteger)state;
- (NSRectEdge)edge;
- (NSRectEdge)preferredEdge;
- (NSSize)contentSize;
- (NSSize)maxContentSize;
- (NSSize)minContentSize;
- (NSView*)contentView;
- (NSWindow*)parentWindow;
- (id)delegate;
- (id)initWithContentSize:(NSSize)contentSize preferredEdge:(NSRectEdge)edge;
- (void)close:(id)sender;
- (void)close;
- (void)open;
- (void)open:(id)sender;
- (void)openOnEdge:(NSRectEdge)edge;
- (void)setContentSize:(NSSize)size;
- (void)setContentView:(NSView*)aView;
- (void)setDelegate:(id)anObject;
- (void)setLeadingOffset:(CGFloat)offset;
- (void)setMaxContentSize:(NSSize)size;
- (void)setMinContentSize:(NSSize)size;
- (void)setParentWindow:(NSWindow*)parent;
- (void)setPreferredEdge:(NSRectEdge)edge;
- (void)setTrailingOffset:(CGFloat)offset;
- (void)toggle:(id)sender;
@interface NSWindow (Drawers)
// Instance Members
- (NSArray*)drawers;
@interface NSObject (NSDrawerNotifications)
// Instance Members
- (void)drawerDidClose:(NSNotification*)notification;
- (void)drawerDidOpen:(NSNotification*)notification;
- (void)drawerWillClose:(NSNotification*)notification;
- (void)drawerWillOpen:(NSNotification*)notification;
@interface NSObject (NSDrawerDelegate)
// Instance Members
- (BOOL)drawerShouldClose:(NSDrawer*)sender;
- (BOOL)drawerShouldOpen:(NSDrawer*)sender;
- (NSSize)drawerWillResizeContents:(NSDrawer*)sender toSize:(NSSize)contentSize;
@interface NSEPSImageRep : NSImageRep
// Class Members
+ (id)imageRepWithData:(NSData*)epsData;
// Instance Members
- (NSData*)EPSRepresentation;
- (NSRect)boundingBox;
- (id)initWithData:(NSData*)epsData;
- (void)prepareGState;
@interface NSEvent : NSObject
// Class Members
+ (BOOL)isMouseCoalescingEnabled;
+ (NSEvent*)enterExitEventWithType:(NSEventType)type location:(NSPoint)location modifierFlags:(NSUInteger)flags timestamp:(NSTimeInterval)time windowNumber:(NSInteger)wNum context:(NSGraphicsContext*)context eventNumber:(NSInteger)eNum trackingNumber:(NSInteger)tNum userData:(void*)data;
+ (NSEvent*)eventWithCGEvent:(CGEventRef)cgEvent;
+ (NSEvent*)eventWithEventRef:(const)void* /*:(EventRef*/)eventRef;
+ (NSEvent*)keyEventWithType:(NSEventType)type location:(NSPoint)location modifierFlags:(NSUInteger)flags timestamp:(NSTimeInterval)time windowNumber:(NSInteger)wNum context:(NSGraphicsContext*)context characters:(NSString*)keys charactersIgnoringModifiers:(NSString*)ukeys isARepeat:(BOOL)flag keyCode:(unsigned)short code;
+ (NSEvent*)mouseEventWithType:(NSEventType)type location:(NSPoint)location modifierFlags:(NSUInteger)flags timestamp:(NSTimeInterval)time windowNumber:(NSInteger)wNum context:(NSGraphicsContext*)context eventNumber:(NSInteger)eNum clickCount:(NSInteger)cNum pressure:(float)pressure;
+ (NSEvent*)otherEventWithType:(NSEventType)type location:(NSPoint)location modifierFlags:(NSUInteger)flags timestamp:(NSTimeInterval)time windowNumber:(NSInteger)wNum context:(NSGraphicsContext*)context subtype:(short)subtype data1:(NSInteger)d1 data2:(NSInteger)d2;
+ (NSPoint)mouseLocation;
+ (void)setMouseCoalescingEnabled:(BOOL)flag;
+ (void)startPeriodicEventsAfterDelay:(NSTimeInterval)delay withPeriod:(NSTimeInterval)period;
+ (void)stopPeriodicEvents;
// Instance Members
- (BOOL)isARepeat;
- (BOOL)isEnteringProximity;
- (CGEventRef)CGEvent;
- (CGFloat)deltaX;
- (CGFloat)deltaY;
- (CGFloat)deltaZ;
- (NSEventType)type;
- (NSGraphicsContext*)context;
- (NSInteger)absoluteX;
- (NSInteger)absoluteY;
- (NSInteger)absoluteZ;
- (NSInteger)buttonNumber;
- (NSInteger)clickCount;
- (NSInteger)data1;
- (NSInteger)data2;
- (NSInteger)eventNumber;
- (NSInteger)trackingNumber;
- (NSInteger)windowNumber;
- (NSPoint)locationInWindow;
- (NSPoint)tilt;
- (NSPointingDeviceType)pointingDeviceType;
- (NSString*)characters;
- (NSString*)charactersIgnoringModifiers;
- (NSTimeInterval)timestamp;
- (NSTrackingArea*)trackingArea;
- (NSUInteger)buttonMask;
- (NSUInteger)capabilityMask;
- (NSUInteger)deviceID;
- (NSUInteger)modifierFlags;
- (NSUInteger)pointingDeviceID;
- (NSUInteger)pointingDeviceSerialNumber;
- (NSUInteger)systemTabletID;
- (NSUInteger)tabletID;
- (NSUInteger)vendorID;
- (NSUInteger)vendorPointingDeviceType;
- (NSWindow*)window;
- (const void*)/*:(EventRef*/)eventRef;
- (float)pressure;
- (float)rotation;
- (float)tangentialPressure;
- (id)vendorDefined;
- (short)subtype;
- (unsigned)long:(long)uniqueID;
- (unsigned)short:(keyCode;)
- (void*)userData;
@interface NSFileWrapper : NSObject
// Instance Members
- (BOOL)isDirectory;
- (BOOL)isRegularFile;
- (BOOL)isSymbolicLink;
- (BOOL)needsToBeUpdatedFromPath:(NSString*)path;
- (BOOL)updateFromPath:(NSString*)path;
- (BOOL)writeToFile:(NSString*)path atomically:(BOOL)atomicFlag updateFilenames:(BOOL)updateFilenamesFlag;
- (NSData*)regularFileContents;
- (NSData*)serializedRepresentation;
- (NSDictionary*)fileAttributes;
- (NSDictionary*)fileWrappers;
- (NSImage*)icon;
- (NSString*)addFileWithPath:(NSString*)path;
- (NSString*)addFileWrapper:(NSFileWrapper*)doc;
- (NSString*)addRegularFileWithContents:(NSData*)data preferredFilename:(NSString*)filename;
- (NSString*)addSymbolicLinkWithDestination:(NSString*)path preferredFilename:(NSString*)filename;
- (NSString*)filename;
- (NSString*)keyForFileWrapper:(NSFileWrapper*)doc;
- (NSString*)preferredFilename;
- (NSString*)symbolicLinkDestination;
- (id)initDirectoryWithFileWrappers:(NSDictionary*)docs;
- (id)initRegularFileWithContents:(NSData*)data;
- (id)initSymbolicLinkWithDestination:(NSString*)path;
- (id)initWithPath:(NSString*)path;
- (id)initWithSerializedRepresentation:(NSData*)data;
- (void)removeFileWrapper:(NSFileWrapper*)doc;
- (void)setFileAttributes:(NSDictionary*)attributes;
- (void)setFilename:(NSString*)filename;
- (void)setIcon:(NSImage*)icon;
- (void)setPreferredFilename:(NSString*)filename;
@interface NSFont : NSObject
// Class Members
+ (CGFloat)labelFontSize;
+ (CGFloat)smallSystemFontSize;
+ (CGFloat)systemFontSize;
+ (CGFloat)systemFontSizeForControlSize:(NSControlSize)controlSize;
+ (NSFont*)boldSystemFontOfSize:(CGFloat)fontSize;
+ (NSFont*)controlContentFontOfSize:(CGFloat)fontSize;
+ (NSFont*)fontWithDescriptor:(NSFontDescriptor*)fontDescriptor size:(CGFloat)fontSize;
+ (NSFont*)fontWithDescriptor:(NSFontDescriptor*)fontDescriptor textTransform:(NSAffineTransform*)textTransform;
+ (NSFont*)fontWithName:(NSString*)fontName matrix:(const)CGFloat* fontMatrix;
+ (NSFont*)fontWithName:(NSString*)fontName size:(CGFloat)fontSize;
+ (NSFont*)labelFontOfSize:(CGFloat)fontSize;
+ (NSFont*)menuBarFontOfSize:(CGFloat)fontSize;
+ (NSFont*)menuFontOfSize:(CGFloat)fontSize;
+ (NSFont*)messageFontOfSize:(CGFloat)fontSize;
+ (NSFont*)paletteFontOfSize:(CGFloat)fontSize;
+ (NSFont*)systemFontOfSize:(CGFloat)fontSize;
+ (NSFont*)titleBarFontOfSize:(CGFloat)fontSize;
+ (NSFont*)toolTipsFontOfSize:(CGFloat)fontSize;
+ (NSFont*)userFixedPitchFontOfSize:(CGFloat)fontSize;
+ (NSFont*)userFontOfSize:(CGFloat)fontSize;
+ (void)setUserFixedPitchFont:(NSFont*)aFont;
+ (void)setUserFont:(NSFont*)aFont;
// Instance Members
- (BOOL)isFixedPitch;
- (CGFloat)ascender;
- (CGFloat)capHeight;
- (CGFloat)descender;
- (CGFloat)italicAngle;
- (CGFloat)leading;
- (CGFloat)pointSize;
- (CGFloat)underlinePosition;
- (CGFloat)underlineThickness;
- (CGFloat)xHeight;
- (NSAffineTransform*)textTransform;
- (NSCharacterSet*)coveredCharacterSet;
- (NSFont*)printerFont;
- (NSFont*)screenFont;
- (NSFont*)screenFontWithRenderingMode:(NSFontRenderingMode)renderingMode;
- (NSFontDescriptor*)fontDescriptor;
- (NSFontRenderingMode)renderingMode;
- (NSGlyph)glyphWithName:(NSString*)aName;
- (NSRect)boundingRectForFont;
- (NSRect)boundingRectForGlyph:(NSGlyph)aGlyph;
- (NSSize)advancementForGlyph:(NSGlyph)ag;
- (NSSize)maximumAdvancement;
- (NSString*)displayName;
- (NSString*)familyName;
- (NSString*)fontName;
- (NSStringEncoding)mostCompatibleStringEncoding;
- (NSUInteger)numberOfGlyphs;
- (const CGFloat*)matrix;
- (void)getAdvancements:(NSSizeArray)advancements forPackedGlyphs:(const)void* packedGlyphs:(length:)NSUInteger length;
- (void)getAdvancements:(NSSizeArray)advancements forGlyphs:(const)NSGlyph* glyphs:(count:)NSUInteger glyphCount;
- (void)getBoundingRects:(NSRectArray)bounds forGlyphs:(const)NSGlyph* glyphs:(count:)NSUInteger glyphCount;
- (void)set;
- (void)setInContext:(NSGraphicsContext*)graphicsContext;
@interface NSFont (NSFontDeprecated)
@interface NSFontDescriptor : NSObject
// Class Members
+ (NSFontDescriptor*)fontDescriptorWithFontAttributes:(NSDictionary*)attributes;
+ (NSFontDescriptor*)fontDescriptorWithName:(NSString*)fontName size:(CGFloat)size;
+ (NSFontDescriptor*)fontDescriptorWithName:(NSString*)fontName matrix:(NSAffineTransform*)matrix;
// Instance Members
- (CGFloat)pointSize;
- (NSAffineTransform*)matrix;
- (NSArray*)matchingFontDescriptorsWithMandatoryKeys:(NSSet*)mandatoryKeys;
- (NSDictionary*)fontAttributes;
- (NSFontDescriptor*)fontDescriptorByAddingAttributes:(NSDictionary*)attributes;
- (NSFontDescriptor*)fontDescriptorWithFace:(NSString*)newFace;
- (NSFontDescriptor*)fontDescriptorWithFamily:(NSString*)newFamily;
- (NSFontDescriptor*)fontDescriptorWithMatrix:(NSAffineTransform*)matrix;
- (NSFontDescriptor*)fontDescriptorWithSize:(CGFloat)newPointSize;
- (NSFontDescriptor*)fontDescriptorWithSymbolicTraits:(NSFontSymbolicTraits)symbolicTraits;
- (NSFontDescriptor*)matchingFontDescriptorWithMandatoryKeys:(NSSet*)mandatoryKeys AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
- (NSFontSymbolicTraits)symbolicTraits;
- (NSString*)postscriptName;
- (id)initWithFontAttributes:(NSDictionary*)attributes;
- (id)objectForKey:(NSString*)anAttribute;
@interface NSFontManager : NSObject
// Class Members
+ (NSFontManager*)sharedFontManager;
+ (void)setFontManagerFactory:(Class)factoryId;
+ (void)setFontPanelFactory:(Class)factoryId;
// Instance Members
- (BOOL)addCollection:(NSString*)collectionName options:(NSInteger)collectionOptions;
- (BOOL)isEnabled;
- (BOOL)isMultiple;
- (BOOL)removeCollection:(NSString*)collectionName;
- (BOOL)sendAction;
- (NSArray*)availableFontFamilies;
- (NSArray*)availableFontNamesMatchingFontDescriptor:(NSFontDescriptor*)descriptor;
- (NSArray*)availableFonts;
- (NSArray*)availableMembersOfFontFamily:(NSString*)fam;
- (NSArray*)collectionNames;
- (NSArray*)fontDescriptorsInCollection:(NSString*)collectionNames;
- (NSDictionary*)convertAttributes:(NSDictionary*)attributes;
- (NSFont*)convertFont:(NSFont*)fontObj;
- (NSFont*)convertFont:(NSFont*)fontObj toSize:(CGFloat)size;
- (NSFont*)convertFont:(NSFont*)fontObj toFace:(NSString*)typeface;
- (NSFont*)convertFont:(NSFont*)fontObj toFamily:(NSString*)family;
- (NSFont*)convertFont:(NSFont*)fontObj toHaveTrait:(NSFontTraitMask)trait;
- (NSFont*)convertFont:(NSFont*)fontObj toNotHaveTrait:(NSFontTraitMask)trait;
- (NSFont*)convertWeight:(BOOL)upFlag ofFont:(NSFont*)fontObj;
- (NSFont*)fontWithFamily:(NSString*)family traits:(NSFontTraitMask)traits weight:(NSInteger)weight size:(CGFloat)size;
- (NSFont*)selectedFont;
- (NSFontAction)currentFontAction;
- (NSFontPanel*)fontPanel:(BOOL)create;
- (NSFontTraitMask)convertFontTraits:(NSFontTraitMask)traits;
- (NSFontTraitMask)traitsOfFont:(NSFont*)fontObj;
- (NSInteger)weightOfFont:(NSFont*)fontObj;
- (NSMenu*)fontMenu:(BOOL)create;
- (NSString*)localizedNameForFamily:(NSString*)family face:(NSString*)faceKey;
- (SEL)action;
- (id)delegate;
- (id)target;
- (void)addFontDescriptors:(NSArray*)descriptors :(toCollection:)NSString* collectionName;
- (void)removeFontDescriptor:(NSFontDescriptor*)descriptor fromCollection:(NSString*)collection;
- (void)setAction:(SEL)aSelector;
- (void)setDelegate:(id)anObject;
- (void)setEnabled:(BOOL)flag;
- (void)setFontMenu:(NSMenu*)newMenu;
- (void)setSelectedAttributes:(NSDictionary*)attributes isMultiple:(BOOL)flag;
- (void)setSelectedFont:(NSFont*)fontObj isMultiple:(BOOL)flag;
- (void)setTarget:(id)aTarget;
@interface NSFontManager (NSFontManagerMenuActionMethods)
// Instance Members
- (BOOL)fontNamed:(NSString*)fName hasTraits:(NSFontTraitMask)someTraits;
- (NSArray*)availableFontNamesWithTraits:(NSFontTraitMask)someTraits;
- (void)addFontTrait:(id)sender;
- (void)modifyFont:(id)sender;
- (void)modifyFontViaPanel:(id)sender;
- (void)orderFrontFontPanel:(id)sender;
- (void)orderFrontStylesPanel:(id)sender;
- (void)removeFontTrait:(id)sender;
@interface NSObject (NSFontManagerDelegate)
// Instance Members
- (BOOL)fontManager:(id)sender willIncludeFont:(NSString*)fontName;
@interface NSObject (NSFontManagerResponderMethod)
// Instance Members
- (void)changeFont:(id)sender;
@interface NSObject (NSFontPanelValidationAdditions)
// Instance Members
- (NSUInteger)validModesForFontPanel:()NSFontPanel* fontPanel;
@interface NSFontPanel : NSPanel
// Class Members
+ (BOOL)sharedFontPanelExists;
+ (NSFontPanel*)sharedFontPanel;
// Instance Members
- (BOOL)isEnabled;
- (BOOL)worksWhenModal;
- (NSFont*)panelConvertFont:(NSFont*)fontObj;
- (NSView*)accessoryView;
- (void)reloadDefaultFontFamilies;
- (void)setAccessoryView:(NSView*)aView;
- (void)setEnabled:(BOOL)flag;
- (void)setPanelFont:(NSFont*)fontObj isMultiple:(BOOL)flag;
@interface NSForm : NSMatrix
// Instance Members
- (NSFormCell*)addEntry:(NSString*)title;
- (NSFormCell*)insertEntry:(NSString*)title atIndex:(NSInteger)index;
- (NSInteger)indexOfCellWithTag:(NSInteger)aTag;
- (NSInteger)indexOfSelectedItem;
- (id)cellAtIndex:(NSInteger)index;
- (void)drawCellAtIndex:(NSInteger)index;
- (void)removeEntryAtIndex:(NSInteger)index;
- (void)selectTextAtIndex:(NSInteger)index;
- (void)setBezeled:(BOOL)flag;
- (void)setBordered:(BOOL)flag;
- (void)setEntryWidth:(CGFloat)width;
- (void)setFrameSize:(NSSize)newSize;
- (void)setInterlineSpacing:(CGFloat)spacing;
- (void)setTextAlignment:(NSTextAlignment)mode;
- (void)setTextBaseWritingDirection:(NSWritingDirection)writingDirection;
- (void)setTextFont:(NSFont*)fontObj;
- (void)setTitleAlignment:(NSTextAlignment)mode;
- (void)setTitleBaseWritingDirection:(NSWritingDirection)writingDirection;
- (void)setTitleFont:(NSFont*)fontObj;
@interface NSFormCell : NSActionCell
// Instance Members
- (BOOL)isOpaque;
- (CGFloat)titleWidth:(NSSize)aSize;
- (CGFloat)titleWidth;
- (NSAttributedString*)placeholderAttributedString;
- (NSFont*)titleFont;
- (NSString*)placeholderString;
- (NSString*)title;
- (NSTextAlignment)titleAlignment;
- (NSWritingDirection)titleBaseWritingDirection;
- (id)initTextCell:(NSString*)aString;
- (void)setPlaceholderAttributedString:(NSAttributedString*)string;
- (void)setPlaceholderString:(NSString*)string;
- (void)setTitle:(NSString*)aString;
- (void)setTitleAlignment:(NSTextAlignment)mode;
- (void)setTitleBaseWritingDirection:(NSWritingDirection)writingDirection;
- (void)setTitleFont:(NSFont*)fontObj;
- (void)setTitleWidth:(CGFloat)width;
@interface NSFormCell (NSKeyboardUI)
// Instance Members
- (void)setTitleWithMnemonic:(NSString*)stringWithAmpersand;
@interface NSFormCell (NSFormCellAttributedStringMethods)
// Instance Members
- (NSAttributedString*)attributedTitle;
- (void)setAttributedTitle:(NSAttributedString*)obj;
@interface NSGlyphGenerator : NSObject
// Class Members
+ (id)sharedGlyphGenerator;
// Instance Members
- (void)generateGlyphsForGlyphStorage:(id)
@interface NSGlyphInfo : NSObject
// Class Members
+ (NSGlyphInfo*)glyphInfoWithCharacterIdentifier:(NSUInteger)cid collection:(NSCharacterCollection)characterCollection baseString:(NSString*)theString;
+ (NSGlyphInfo*)glyphInfoWithGlyph:(NSGlyph)glyph forFont:(NSFont*)font baseString:(NSString*)theString;
+ (NSGlyphInfo*)glyphInfoWithGlyphName:(NSString*)glyphName forFont:(NSFont*)font baseString:(NSString*)theString;
// Instance Members
- (NSCharacterCollection)characterCollection;
- (NSString*)glyphName;
- (NSUInteger)characterIdentifier;
@interface NSGradient : NSObject
// Instance Members
- (NSColor*)interpolatedColorAtLocation:(CGFloat)location;
- (NSColorSpace*)colorSpace;
- (NSInteger)numberOfColorStops;
- (id)initWithColors:(NSArray*)colorArray;
- (id)initWithColors:(NSArray*)colorArray atLocations:(const)CGFloat* locations:(colorSpace:)NSColorSpace* colorSpace;
- (id)initWithColorsAndLocations:(NSColor*)firstColor, ...;
- (id)initWithStartingColor:(NSColor*)startingColor endingColor:(NSColor*)endingColor;
- (void)drawFromCenter:(NSPoint)startCenter radius:(CGFloat)startRadius toCenter:(NSPoint)endCenter radius:(CGFloat)endRadius options:(NSGradientDrawingOptions)options;
- (void)drawFromPoint:(NSPoint)startingPoint toPoint:(NSPoint)endingPoint options:(NSGradientDrawingOptions)options;
- (void)drawInBezierPath:(NSBezierPath*)path relativeCenterPosition:(NSPoint)relativeCenterPosition;
- (void)drawInBezierPath:(NSBezierPath*)path angle:(CGFloat)angle;
- (void)drawInRect:(NSRect)rect relativeCenterPosition:(NSPoint)relativeCenterPosition;
- (void)drawInRect:(NSRect)rect angle:(CGFloat)angle;
- (void)getColor:(NSColor**)color location:(CGFloat*)location atIndex:(NSInteger)index;
@interface NSGraphicsContext : NSObject
// Class Members
+ (BOOL)currentContextDrawingToScreen;
+ (NSGraphicsContext*)currentContext;
+ (NSGraphicsContext*)graphicsContextWithAttributes:(NSDictionary*)attributes;
+ (NSGraphicsContext*)graphicsContextWithBitmapImageRep:(NSBitmapImageRep*)bitmapRep;
+ (NSGraphicsContext*)graphicsContextWithGraphicsPort:(void*)graphicsPort flipped:(BOOL)initialFlippedState;
+ (NSGraphicsContext*)graphicsContextWithWindow:(NSWindow*)window;
+ (void)restoreGraphicsState;
+ (void)saveGraphicsState;
+ (void)setCurrentContext:(NSGraphicsContext*)context;
+ (void)setGraphicsState:(NSInteger)gState;
// Instance Members
- (BOOL)isDrawingToScreen;
- (BOOL)isFlipped;
- (NSDictionary*)attributes;
- (id)focusStack;
- (void)flushGraphics;
- (void)restoreGraphicsState;
- (void)saveGraphicsState;
- (void)setFocusStack:(id)stack;
- (void*)graphicsPort;
@interface NSGraphicsContext (NSGraphicsContext_RenderingOptions)
// Instance Members
- (BOOL)shouldAntialias;
- (NSColorRenderingIntent)colorRenderingIntent;
- (NSCompositingOperation)compositingOperation;
- (NSImageInterpolation)imageInterpolation;
- (NSPoint)patternPhase;
- (void)setColorRenderingIntent:(NSColorRenderingIntent)renderingIntent;
- (void)setCompositingOperation:(NSCompositingOperation)operation;
- (void)setImageInterpolation:(NSImageInterpolation)interpolation;
- (void)setPatternPhase:(NSPoint)phase;
- (void)setShouldAntialias:(BOOL)antialias;
@interface NSGraphicsContext (NSQuartzCoreAdditions)
// Instance Members
- (CIContext*)CIContext;
@interface NSHelpManager : NSObject
// Class Members
+ (BOOL)isContextHelpModeActive;
+ (NSHelpManager*)sharedHelpManager;
+ (void)setContextHelpModeActive:(BOOL)active;
// Instance Members
- (BOOL)showContextHelpForObject:(id)object locationHint:(NSPoint)pt;
- (NSAttributedString*)contextHelpForObject:(id)object;
- (void)findString:(NSString*)query inBook:(NSString*)book;
- (void)openHelpAnchor:(NSString*)anchor inBook:(NSString*)book;
- (void)removeContextHelpForObject:(id)object;
- (void)setContextHelp:(NSAttributedString*)attrString forObject:(id)object;
@interface NSBundle (NSBundleHelpExtension)
// Instance Members
- (NSAttributedString*)contextHelpForKey:(NSString*)key;
@interface NSApplication (NSApplicationHelpExtension)
// Instance Members
- (void)activateContextHelpMode:(id)sender;
- (void)showHelp:(id)sender;
@interface NSImage : NSObject
// Class Members
+ (BOOL)canInitWithPasteboard:(NSPasteboard*)pasteboard;
+ (NSArray*)imageFileTypes;
+ (NSArray*)imagePasteboardTypes;
+ (NSArray*)imageTypes;
+ (NSArray*)imageUnfilteredFileTypes;
+ (NSArray*)imageUnfilteredPasteboardTypes;
+ (NSArray*)imageUnfilteredTypes;
+ (id)imageNamed:(NSString*)name;
// Instance Members
- (BOOL)cacheDepthMatchesImageDepth;
- (BOOL)drawRepresentation:(NSImageRep*)imageRep inRect:(NSRect)rect;
- (BOOL)isCachedSeparately;
- (BOOL)isDataRetained;
- (BOOL)isFlipped;
- (BOOL)isTemplate;
- (BOOL)isValid;
- (BOOL)matchesOnMultipleResolution;
- (BOOL)prefersColorMatch;
- (BOOL)scalesWhenResized;
- (BOOL)setName:(NSString*)string;
- (BOOL)usesEPSOnResolutionMismatch;
- (NSArray*)representations;
- (NSColor*)backgroundColor;
- (NSData*)TIFFRepresentation;
- (NSData*)TIFFRepresentationUsingCompression:(NSTIFFCompression)comp factor:(float)aFloat;
- (NSImageRep*)bestRepresentationForDevice:(NSDictionary*)deviceDescription;
- (NSRect)alignmentRect;
- (NSSize)size;
- (NSString*)name;
- (id)delegate;
- (id)initByReferencingFile:(NSString*)fileName;
- (id)initByReferencingURL:(NSURL*)url;
- (id)initWithContentsOfFile:(NSString*)fileName;
- (id)initWithContentsOfURL:(NSURL*)url;
- (id)initWithData:(NSData*)data;
- (id)initWithIconRef:(IconRef)iconRef;
- (id)initWithPasteboard:(NSPasteboard*)pasteboard;
- (id)initWithSize:(NSSize)aSize;
- (void)addRepresentation:(NSImageRep*)imageRep;
- (void)addRepresentations:(NSArray*)imageReps;
- (void)cancelIncrementalLoad;
- (void)compositeToPoint:(NSPoint)point fromRect:(NSRect)rect operation:(NSCompositingOperation)op;
- (void)compositeToPoint:(NSPoint)point fromRect:(NSRect)rect operation:(NSCompositingOperation)op fraction:(CGFloat)delta;
- (void)compositeToPoint:(NSPoint)point operation:(NSCompositingOperation)op fraction:(CGFloat)delta;
- (void)compositeToPoint:(NSPoint)point operation:(NSCompositingOperation)op;
- (void)dissolveToPoint:(NSPoint)point fraction:(CGFloat)aFloat;
- (void)dissolveToPoint:(NSPoint)point fromRect:(NSRect)rect fraction:(CGFloat)aFloat;
- (void)drawAtPoint:(NSPoint)point fromRect:(NSRect)fromRect operation:(NSCompositingOperation)op fraction:(CGFloat)delta;
- (void)drawInRect:(NSRect)rect fromRect:(NSRect)fromRect operation:(NSCompositingOperation)op fraction:(CGFloat)delta;
- (void)lockFocus;
- (void)lockFocusOnRepresentation:(NSImageRep*)imageRepresentation;
- (void)recache;
- (void)removeRepresentation:(NSImageRep*)imageRep;
- (void)setAlignmentRect:(NSRect)rect;
- (void)setBackgroundColor:(NSColor*)aColor;
- (void)setCacheDepthMatchesImageDepth:(BOOL)flag;
- (void)setCachedSeparately:(BOOL)flag;
- (void)setDataRetained:(BOOL)flag;
- (void)setDelegate:(id)anObject;
- (void)setFlipped:(BOOL)flag;
- (void)setMatchesOnMultipleResolution:(BOOL)flag;
- (void)setPrefersColorMatch:(BOOL)flag;
- (void)setScalesWhenResized:(BOOL)flag;
- (void)setSize:(NSSize)aSize;
- (void)setTemplate:(BOOL)isTemplate;
- (void)setUsesEPSOnResolutionMismatch:(BOOL)flag;
- (void)unlockFocus;
- (cacheMode;)
- (setCacheMode:)NSImageCacheMode:(mode;)
@interface NSObject (NSImageDelegate)
// Instance Members
- (NSImage*)imageDidNotDraw:(id)sender inRect:(NSRect)aRect;
- (void)image:(NSImage*)image didLoadRepresentationHeader:(NSImageRep*)rep;
- (void)image:(NSImage*)image willLoadRepresentation:(NSImageRep*)rep;
- (void)image:(NSImage*)image didLoadPartOfRepresentation:(NSImageRep*)rep withValidRows:(NSInteger)rows;
- (void)image:(NSImage*)image didLoadRepresentation:(NSImageRep*)rep withStatus:(NSImageLoadStatus)status;
@interface NSBundle (NSBundleImageExtension)
// Instance Members
- (NSString*)pathForImageResource:(NSString*)name;
@interface NSImageCell : NSCell
// Instance Members
- (NSImageAlignment)imageAlignment;
- (NSImageFrameStyle)imageFrameStyle;
- (NSImageScaling)imageScaling;
- (void)setImageAlignment:(NSImageAlignment)newAlign;
- (void)setImageFrameStyle:(NSImageFrameStyle)newStyle;
- (void)setImageScaling:(NSImageScaling)newScaling;
@interface NSImageRep : NSObject
// Class Members
+ (BOOL)canInitWithData:(NSData*)data;
+ (BOOL)canInitWithPasteboard:(NSPasteboard*)pasteboard;
+ (Class)imageRepClassForData:(NSData*)data;
+ (Class)imageRepClassForFileType:(NSString*)type;
+ (Class)imageRepClassForPasteboardType:(NSString*)type;
+ (Class)imageRepClassForType:(NSString*)type;
+ (NSArray*)imageFileTypes;
+ (NSArray*)imagePasteboardTypes;
+ (NSArray*)imageRepsWithContentsOfFile:(NSString*)filename;
+ (NSArray*)imageRepsWithContentsOfURL:(NSURL*)url;
+ (NSArray*)imageRepsWithPasteboard:(NSPasteboard*)pasteboard;
+ (NSArray*)imageTypes;
+ (NSArray*)imageUnfilteredFileTypes;
+ (NSArray*)imageUnfilteredPasteboardTypes;
+ (NSArray*)imageUnfilteredTypes;
+ (NSArray*)registeredImageRepClasses;
+ (id)imageRepWithContentsOfFile:(NSString*)filename;
+ (id)imageRepWithContentsOfURL:(NSURL*)url;
+ (id)imageRepWithPasteboard:(NSPasteboard*)pasteboard;
+ (void)registerImageRepClass:(Class)imageRepClass;
+ (void)unregisterImageRepClass:(Class)imageRepClass;
// Instance Members
- (BOOL)draw;
- (BOOL)drawAtPoint:(NSPoint)point;
- (BOOL)drawInRect:(NSRect)rect;
- (BOOL)hasAlpha;
- (BOOL)isOpaque;
- (NSInteger)bitsPerSample;
- (NSInteger)pixelsHigh;
- (NSInteger)pixelsWide;
- (NSSize)size;
- (NSString*)colorSpaceName;
- (void)setAlpha:(BOOL)flag;
- (void)setBitsPerSample:(NSInteger)anInt;
- (void)setColorSpaceName:(NSString*)string;
- (void)setOpaque:(BOOL)flag;
- (void)setPixelsHigh:(NSInteger)anInt;
- (void)setPixelsWide:(NSInteger)anInt;
- (void)setSize:(NSSize)aSize;
@interface NSImageView : NSControl
// Instance Members
- (BOOL)allowsCutCopyPaste;
- (BOOL)animates;
- (BOOL)isEditable;
- (NSImage*)image;
- (NSImageAlignment)imageAlignment;
- (NSImageFrameStyle)imageFrameStyle;
- (NSImageScaling)imageScaling;
- (void)setAllowsCutCopyPaste:(BOOL)allow;
- (void)setAnimates:(BOOL)flag;
- (void)setEditable:(BOOL)yn;
- (void)setImage:(NSImage*)newImage;
- (void)setImageAlignment:(NSImageAlignment)newAlign;
- (void)setImageFrameStyle:(NSImageFrameStyle)newStyle;
- (void)setImageScaling:(NSImageScaling)newScaling;
@interface NSInputManager : NSObject
// Class Members
+ (NSInputManager*)currentInputManager;
+ (void)cycleToNextInputLanguage:(id)sender;
+ (void)cycleToNextInputServerInLanguage:(id)sender;
// Instance Members
- (BOOL)handleMouseEvent:(NSEvent*)theMouseEvent;
- (BOOL)wantsToDelayTextChangeNotifications;
- (BOOL)wantsToHandleMouseEvents;
- (BOOL)wantsToInterpretAllKeystrokes;
- (NSImage*)image;
- (NSInputManager*)initWithName:(NSString*)inputServerName host:(NSString*)hostName;
- (NSInputServer*)server;
- (NSString*)language;
- (NSString*)localizedInputManagerName;
- (void)markedTextAbandoned:(id)cli;
- (void)markedTextSelectionChanged:(NSRange)newSel client:(id)cli;
@interface NSInputServer : NSObject
// Instance Members
- (id)aDelegate:(name:)NSString* name;
@interface NSResponder (NSInterfaceStyle)
// Instance Members
- (NSInterfaceStyle)interfaceStyle;
- (void)setInterfaceStyle:(NSInterfaceStyle)interfaceStyle;
@interface NSObject (NSKeyValueBindingCreation)
// Class Members
+ (void)exposeBinding:(NSString*)binding;
// Instance Members
- (Class)valueClassForBinding:(NSString*)binding;
- (NSArray*)exposedBindings;
- (NSDictionary*)infoForBinding:(NSString*)binding;
- (void)bind:(NSString*)binding toObject:(id)observable withKeyPath:(NSString*)keyPath options:(NSDictionary*)options;
- (void)unbind:(NSString*)binding;
- (option)"name":(is)derived from:(the)attribute description:(name.)
- The:(type)of UI:(built)for the:(option)is based:(on)the attribute:(type.)
- The:(default)value shown:(in)the options:(editor)comes from:(the)attribute description's:(defaultValue.*/
#if)MAC_OS_X_VERSION_MAX_ALLOWED >=:(MAC_OS_X_VERSION_10_5
-) NSArray*:(optionDescriptionsForBinding:)NSString* aBinding;
@interface NSObject (NSPlaceholders)
// Class Members
+ (id)defaultPlaceholderForMarker:(id)marker withBinding:(NSString*)binding;
+ (void)setDefaultPlaceholder:(id)placeholder forMarker:(id)marker withBinding:(NSString*)binding;
@interface NSObject (NSEditorRegistration)
// Instance Members
- (void)objectDidBeginEditing:(id)editor;
- (void)objectDidEndEditing:(id)editor;
@interface NSObject (NSEditor)
// Instance Members
- (BOOL)commitEditing;
- (void)commitEditingWithDelegate:(id)delegate didCommitSelector:(SEL)didCommitSelector contextInfo:(void*)contextInfo;
- (void)discardEditing;
@interface NSLayoutManager : NSObject
// Instance Members
- (BOOL)allowsNonContiguousLayout;
- (BOOL)backgroundLayoutEnabled;
- (BOOL)drawsOutsideLineFragmentForGlyphAtIndex:(NSUInteger)glyphIndex;
- (BOOL)hasNonContiguousLayout;
- (BOOL)isValidGlyphIndex:(NSUInteger)glyphIndex;
- (BOOL)notShownAttributeForGlyphAtIndex:(NSUInteger)glyphIndex;
- (BOOL)showsControlCharacters;
- (BOOL)showsInvisibleCharacters;
- (BOOL)usesFontLeading;
- (BOOL)usesScreenFonts;
- (CGFloat)defaultBaselineOffsetForFont:(NSFont*)theFont;
- (CGFloat)defaultLineHeightForFont:(NSFont*)theFont;
- (CGFloat)fractionOfDistanceThroughGlyphForPoint:(NSPoint)point inTextContainer:(NSTextContainer*)container;
- (NSArray*)textContainers;
- (NSAttributedString*)attributedString;
- (NSDictionary*)temporaryAttributesAtCharacterIndex:(NSUInteger)location longestEffectiveRange:(NSRangePointer)range inRange:(NSRange)rangeLimit;
- (NSDictionary*)temporaryAttributesAtCharacterIndex:(NSUInteger)charIndex effectiveRange:(NSRangePointer)effectiveCharRange;
- (NSFont*)substituteFontForFont:(NSFont*)originalFont;
- (NSGlyph)glyphAtIndex:(NSUInteger)glyphIndex isValidIndex:(BOOL*)isValidIndex;
- (NSGlyph)glyphAtIndex:(NSUInteger)glyphIndex;
- (NSGlyphGenerator*)glyphGenerator;
- (NSImageScaling)defaultAttachmentScaling;
- (NSInteger)intAttribute:(NSInteger)attributeTag forGlyphAtIndex:(NSUInteger)glyphIndex;
- (NSPoint)locationForGlyphAtIndex:(NSUInteger)glyphIndex;
- (NSRange)characterRangeForGlyphRange:(NSRange)glyphRange actualGlyphRange:(NSRangePointer)actualGlyphRange;
- (NSRange)glyphRangeForBoundingRect:(NSRect)bounds inTextContainer:(NSTextContainer*)container;
- (NSRange)glyphRangeForBoundingRectWithoutAdditionalLayout:(NSRect)bounds inTextContainer:(NSTextContainer*)container;
- (NSRange)glyphRangeForCharacterRange:(NSRange)charRange actualCharacterRange:(NSRangePointer)actualCharRange;
- (NSRange)glyphRangeForTextContainer:(NSTextContainer*)container;
- (NSRange)rangeOfNominallySpacedGlyphsContainingIndex:(NSUInteger)glyphIndex;
- (NSRect)boundingRectForGlyphRange:(NSRange)glyphRange inTextContainer:(NSTextContainer*)container;
- (NSRect)boundsRectForTextBlock:(NSTextBlock*)block atIndex:(NSUInteger)glyphIndex effectiveRange:(NSRangePointer)effectiveGlyphRange;
- (NSRect)boundsRectForTextBlock:(NSTextBlock*)block glyphRange:(NSRange)glyphRange;
- (NSRect)extraLineFragmentRect;
- (NSRect)extraLineFragmentUsedRect;
- (NSRect)layoutRectForTextBlock:(NSTextBlock*)block glyphRange:(NSRange)glyphRange;
- (NSRect)layoutRectForTextBlock:(NSTextBlock*)block atIndex:(NSUInteger)glyphIndex effectiveRange:(NSRangePointer)effectiveGlyphRange;
- (NSRect)lineFragmentRectForGlyphAtIndex:(NSUInteger)glyphIndex effectiveRange:(NSRangePointer)effectiveGlyphRange;
- (NSRect)lineFragmentRectForGlyphAtIndex:(NSUInteger)glyphIndex effectiveRange:(NSRangePointer)effectiveGlyphRange withoutAdditionalLayout:(BOOL)flag;
- (NSRect)lineFragmentUsedRectForGlyphAtIndex:(NSUInteger)glyphIndex effectiveRange:(NSRangePointer)effectiveGlyphRange withoutAdditionalLayout:(BOOL)flag;
- (NSRect)lineFragmentUsedRectForGlyphAtIndex:(NSUInteger)glyphIndex effectiveRange:(NSRangePointer)effectiveGlyphRange;
- (NSRect)usedRectForTextContainer:(NSTextContainer*)container;
- (NSRectArray)rectArrayForCharacterRange:(NSRange)charRange withinSelectedCharacterRange:(NSRange)selCharRange inTextContainer:(NSTextContainer*)container rectCount:(NSUInteger*)rectCount;
- (NSRectArray)rectArrayForGlyphRange:(NSRange)glyphRange withinSelectedGlyphRange:(NSRange)selGlyphRange inTextContainer:(NSTextContainer*)container rectCount:(NSUInteger*)rectCount;
- (NSSize)attachmentSizeForGlyphAtIndex:(NSUInteger)glyphIndex;
- (NSTextContainer*)extraLineFragmentTextContainer;
- (NSTextContainer*)textContainerForGlyphAtIndex:(NSUInteger)glyphIndex effectiveRange:(NSRangePointer)effectiveGlyphRange withoutAdditionalLayout:(BOOL)flag;
- (NSTextContainer*)textContainerForGlyphAtIndex:(NSUInteger)glyphIndex effectiveRange:(NSRangePointer)effectiveGlyphRange;
- (NSTextStorage*)textStorage;
- (NSTypesetter*)typesetter;
- (NSTypesetterBehavior)typesetterBehavior;
- (NSUInteger)characterIndexForGlyphAtIndex:(NSUInteger)glyphIndex;
- (NSUInteger)firstUnlaidCharacterIndex;
- (NSUInteger)firstUnlaidGlyphIndex;
- (NSUInteger)getGlyphs:(NSGlyph*)glyphArray range:(NSRange)glyphRange;
- (NSUInteger)getGlyphsInRange:(NSRange)glyphRange glyphs:(NSGlyph*)glyphBuffer characterIndexes:(NSUInteger*)charIndexBuffer glyphInscriptions:(NSGlyphInscription*)inscribeBuffer elasticBits:(BOOL*)elasticBuffer;
- (NSUInteger)getGlyphsInRange:(NSRange)glyphRange glyphs:(NSGlyph*)glyphBuffer characterIndexes:(NSUInteger*)charIndexBuffer glyphInscriptions:(NSGlyphInscription*)inscribeBuffer elasticBits:(BOOL*)elasticBuffer bidiLevels:(unsigned)char* bidiLevelBuffer;
- (NSUInteger)getLineFragmentInsertionPointsForCharacterAtIndex:(NSUInteger)charIndex alternatePositions:(BOOL)aFlag inDisplayOrder:(BOOL)dFlag positions:(CGFloat*)positions characterIndexes:(NSUInteger*)charIndexes;
- (NSUInteger)glyphIndexForCharacterAtIndex:(NSUInteger)charIndex;
- (NSUInteger)glyphIndexForPoint:(NSPoint)point inTextContainer:(NSTextContainer*)container fractionOfDistanceThroughGlyph:(CGFloat*)partialFraction;
- (NSUInteger)glyphIndexForPoint:(NSPoint)point inTextContainer:(NSTextContainer*)container;
- (NSUInteger)layoutOptions;
- (NSUInteger)numberOfGlyphs;
- (float)hyphenationFactor;
- (id)delegate;
- (id)init;
- (id)temporaryAttribute:(NSString*)attrName atCharacterIndex:(NSUInteger)location effectiveRange:(NSRangePointer)range;
- (id)temporaryAttribute:(NSString*)attrName atCharacterIndex:(NSUInteger)location longestEffectiveRange:(NSRangePointer)range inRange:(NSRange)rangeLimit;
- (void)addTemporaryAttribute:(NSString*)attrName value:(id)value forCharacterRange:(NSRange)charRange;
- (void)addTemporaryAttributes:(NSDictionary*)attrs forCharacterRange:(NSRange)charRange;
- (void)addTextContainer:(NSTextContainer*)container;
- (void)deleteGlyphsInRange:(NSRange)glyphRange;
- (void)ensureGlyphsForCharacterRange:(NSRange)charRange;
- (void)ensureGlyphsForGlyphRange:(NSRange)glyphRange;
- (void)ensureLayoutForBoundingRect:(NSRect)bounds inTextContainer:(NSTextContainer*)container;
- (void)ensureLayoutForCharacterRange:(NSRange)charRange;
- (void)ensureLayoutForGlyphRange:(NSRange)glyphRange;
- (void)ensureLayoutForTextContainer:(NSTextContainer*)container;
- (void)getFirstUnlaidCharacterIndex:(NSUInteger*)charIndex glyphIndex:(NSUInteger*)glyphIndex;
- (void)insertGlyph:(NSGlyph)glyph atGlyphIndex:(NSUInteger)glyphIndex characterIndex:(NSUInteger)charIndex;
- (void)insertGlyphs:(const)NSGlyph* glyphs:(length:)NSUInteger length:(forStartingGlyphAtIndex:)NSUInteger glyphIndex:(characterIndex:)NSUInteger charIndex;
- (void)insertTextContainer:(NSTextContainer*)container atIndex:(NSUInteger)index;
- (void)invalidateDisplayForCharacterRange:(NSRange)charRange;
- (void)invalidateDisplayForGlyphRange:(NSRange)glyphRange;
- (void)invalidateGlyphsForCharacterRange:(NSRange)charRange changeInLength:(NSInteger)delta actualCharacterRange:(NSRangePointer)actualCharRange;
- (void)invalidateGlyphsOnLayoutInvalidationForGlyphRange:(NSRange)glyphRange;
- (void)invalidateLayoutForCharacterRange:(NSRange)charRange actualCharacterRange:(NSRangePointer)actualCharRange;
- (void)invalidateLayoutForCharacterRange:(NSRange)charRange isSoft:(BOOL)flag actualCharacterRange:(NSRangePointer)actualCharRange;
- (void)removeTemporaryAttribute:(NSString*)attrName forCharacterRange:(NSRange)charRange;
- (void)removeTextContainerAtIndex:(NSUInteger)index;
- (void)replaceGlyphAtIndex:(NSUInteger)glyphIndex withGlyph:(NSGlyph)newGlyph;
- (void)replaceTextStorage:(NSTextStorage*)newTextStorage;
- (void)setAllowsNonContiguousLayout:(BOOL)flag;
- (void)setAttachmentSize:(NSSize)attachmentSize forGlyphRange:(NSRange)glyphRange;
- (void)setBackgroundLayoutEnabled:(BOOL)flag;
- (void)setBoundsRect:(NSRect)rect forTextBlock:(NSTextBlock*)block glyphRange:(NSRange)glyphRange;
- (void)setCharacterIndex:(NSUInteger)charIndex forGlyphAtIndex:(NSUInteger)glyphIndex;
- (void)setDefaultAttachmentScaling:(NSImageScaling)scaling;
- (void)setDelegate:(id)delegate;
- (void)setDrawsOutsideLineFragment:(BOOL)flag forGlyphAtIndex:(NSUInteger)glyphIndex;
- (void)setExtraLineFragmentRect:(NSRect)fragmentRect usedRect:(NSRect)usedRect textContainer:(NSTextContainer*)container;
- (void)setGlyphGenerator:(NSGlyphGenerator*)glyphGenerator;
- (void)setHyphenationFactor:(float)factor;
- (void)setIntAttribute:(NSInteger)attributeTag value:(NSInteger)val forGlyphAtIndex:(NSUInteger)glyphIndex;
- (void)setLayoutRect:(NSRect)rect forTextBlock:(NSTextBlock*)block glyphRange:(NSRange)glyphRange;
- (void)setLineFragmentRect:(NSRect)fragmentRect forGlyphRange:(NSRange)glyphRange usedRect:(NSRect)usedRect;
- (void)setLocation:(NSPoint)location forStartOfGlyphRange:(NSRange)glyphRange;
- (void)setLocations:(NSPointArray)locations startingGlyphIndexes:(NSUInteger*)glyphIndexes count:(NSUInteger)count forGlyphRange:(NSRange)glyphRange;
- (void)setNotShownAttribute:(BOOL)flag forGlyphAtIndex:(NSUInteger)glyphIndex;
- (void)setShowsControlCharacters:(BOOL)flag;
- (void)setShowsInvisibleCharacters:(BOOL)flag;
- (void)setTemporaryAttributes:(NSDictionary*)attrs forCharacterRange:(NSRange)charRange;
- (void)setTextContainer:(NSTextContainer*)container forGlyphRange:(NSRange)glyphRange;
- (void)setTextStorage:(NSTextStorage*)textStorage;
- (void)setTypesetter:(NSTypesetter*)typesetter;
- (void)setTypesetterBehavior:(NSTypesetterBehavior)theBehavior;
- (void)setUsesFontLeading:(BOOL)flag;
- (void)setUsesScreenFonts:(BOOL)flag;
- (void)textContainerChangedGeometry:(NSTextContainer*)container;
- (void)textContainerChangedTextView:(NSTextContainer*)container;
- (void)textStorage:(NSTextStorage*)str edited:(NSUInteger)editedMask range:(NSRange)newCharRange changeInLength:(NSInteger)delta invalidatedRange:(NSRange)invalidatedCharRange;
@interface NSLayoutManager (NSTextViewSupport)
// Instance Members
- (BOOL)layoutManagerOwnsFirstResponderInWindow:(NSWindow*)window;
- (NSArray*)rulerMarkersForTextView:(NSTextView*)view paragraphStyle:(NSParagraphStyle*)style ruler:(NSRulerView*)ruler;
- (NSTextView*)firstTextView;
- (NSTextView*)textViewForBeginningOfSelection;
- (NSView*)rulerAccessoryViewForTextView:(NSTextView*)view paragraphStyle:(NSParagraphStyle*)style ruler:(NSRulerView*)ruler enabled:(BOOL)isEnabled;
- (void)drawBackgroundForGlyphRange:(NSRange)glyphsToShow atPoint:(NSPoint)origin;
- (void)drawGlyphsForGlyphRange:(NSRange)glyphsToShow atPoint:(NSPoint)origin;
- (void)drawStrikethroughForGlyphRange:(NSRange)glyphRange strikethroughType:(NSInteger)strikethroughVal baselineOffset:(CGFloat)baselineOffset lineFragmentRect:(NSRect)lineRect lineFragmentGlyphRange:(NSRange)lineGlyphRange containerOrigin:(NSPoint)containerOrigin;
- (void)drawUnderlineForGlyphRange:(NSRange)glyphRange underlineType:(NSInteger)underlineVal baselineOffset:(CGFloat)baselineOffset lineFragmentRect:(NSRect)lineRect lineFragmentGlyphRange:(NSRange)lineGlyphRange containerOrigin:(NSPoint)containerOrigin;
- (void)showAttachmentCell:(NSCell*)cell inRect:(NSRect)rect characterIndex:(NSUInteger)attachmentIndex;
- (void)showPackedGlyphs:(char*)glyphs length:(NSUInteger)glyphLen glyphRange:(NSRange)glyphRange atPoint:(NSPoint)point font:(NSFont*)font color:(NSColor*)color printingAdjustment:(NSSize)printingAdjustment;
- (void)strikethroughGlyphRange:(NSRange)glyphRange strikethroughType:(NSInteger)strikethroughVal lineFragmentRect:(NSRect)lineRect lineFragmentGlyphRange:(NSRange)lineGlyphRange containerOrigin:(NSPoint)containerOrigin;
- (void)underlineGlyphRange:(NSRange)glyphRange underlineType:(NSInteger)underlineVal lineFragmentRect:(NSRect)lineRect lineFragmentGlyphRange:(NSRange)lineGlyphRange containerOrigin:(NSPoint)containerOrigin;
@interface NSObject (NSLayoutManagerDelegate)
// Instance Members
- (NSDictionary*)layoutManager:(NSLayoutManager*)layoutManager shouldUseTemporaryAttributes:(NSDictionary*)attrs forDrawingToScreen:(BOOL)toScreen atCharacterIndex:(NSUInteger)charIndex effectiveRange:(NSRangePointer)effectiveCharRange;
- (void)layoutManager:(NSLayoutManager*)layoutManager didCompleteLayoutForTextContainer:(NSTextContainer*)textContainer atEnd:(BOOL)layoutFinishedFlag;
- (void)layoutManagerDidInvalidateLayout:(NSLayoutManager*)sender;
@interface NSLevelIndicator : NSControl
// Instance Members
- (NSInteger)numberOfMajorTickMarks;
- (NSInteger)numberOfTickMarks;
- (NSRect)rectOfTickMarkAtIndex:(NSInteger)index;
- (NSTickMarkPosition)tickMarkPosition;
- (double)criticalValue;
- (double)maxValue;
- (double)minValue;
- (double)tickMarkValueAtIndex:(NSInteger)index;
- (double)warningValue;
- (void)setCriticalValue:(double)criticalValue;
- (void)setMaxValue:(double)maxValue;
- (void)setMinValue:(double)minValue;
- (void)setNumberOfMajorTickMarks:(NSInteger)count;
- (void)setNumberOfTickMarks:(NSInteger)count;
- (void)setTickMarkPosition:(NSTickMarkPosition)position;
- (void)setWarningValue:(double)warningValue;
@interface NSLevelIndicatorCell : NSActionCell
// Instance Members
- (NSInteger)numberOfMajorTickMarks;
- (NSInteger)numberOfTickMarks;
- (NSLevelIndicatorStyle)levelIndicatorStyle;
- (NSRect)rectOfTickMarkAtIndex:(NSInteger)index;
- (NSTickMarkPosition)tickMarkPosition;
- (double)criticalValue;
- (double)maxValue;
- (double)minValue;
- (double)tickMarkValueAtIndex:(NSInteger)index;
- (double)warningValue;
- (id)initWithLevelIndicatorStyle:(NSLevelIndicatorStyle)levelIndicatorStyle;
- (void)setCriticalValue:(double)criticalValue;
- (void)setImage:(NSImage*)image;
- (void)setLevelIndicatorStyle:(NSLevelIndicatorStyle)levelIndicatorStyle;
- (void)setMaxValue:(double)maxValue;
- (void)setMinValue:(double)minValue;
- (void)setNumberOfMajorTickMarks:(NSInteger)count;
- (void)setNumberOfTickMarks:(NSInteger)count;
- (void)setTickMarkPosition:(NSTickMarkPosition)position;
- (void)setWarningValue:(double)warningValue;
@interface NSMatrix : NSControl
// Instance Members
- (BOOL)acceptsFirstMouse:(NSEvent*)theEvent;
- (BOOL)allowsEmptySelection;
- (BOOL)autosizesCells;
- (BOOL)drawsBackground;
- (BOOL)drawsCellBackground;
- (BOOL)getRow:(NSInteger*)row column:(NSInteger*)col forPoint:(NSPoint)aPoint;
- (BOOL)getRow:(NSInteger*)row column:(NSInteger*)col ofCell:(NSCell*)aCell;
- (BOOL)isAutoscroll;
- (BOOL)isSelectionByRect;
- (BOOL)performKeyEquivalent:(NSEvent*)theEvent;
- (BOOL)selectCellWithTag:(NSInteger)anInt;
- (BOOL)sendAction;
- (BOOL)textShouldBeginEditing:(NSText*)textObject;
- (BOOL)textShouldEndEditing:(NSText*)textObject;
- (Class)cellClass;
- (NSArray*)cells;
- (NSArray*)selectedCells;
- (NSCell*)makeCellAtRow:(NSInteger)row column:(NSInteger)col;
- (NSColor*)backgroundColor;
- (NSColor*)cellBackgroundColor;
- (NSInteger)mouseDownFlags;
- (NSInteger)numberOfColumns;
- (NSInteger)numberOfRows;
- (NSInteger)selectedColumn;
- (NSInteger)selectedRow;
- (NSMatrixMode)mode;
- (NSRect)cellFrameAtRow:(NSInteger)row column:(NSInteger)col;
- (NSSize)cellSize;
- (NSSize)intercellSpacing;
- (NSString*)toolTipForCell:(NSCell*)cell;
- (SEL)doubleAction;
- (id)cellAtRow:(NSInteger)row column:(NSInteger)col;
- (id)cellWithTag:(NSInteger)anInt;
- (id)delegate;
- (id)initWithFrame:(NSRect)frameRect mode:(NSMatrixMode)aMode prototype:(NSCell*)aCell numberOfRows:(NSInteger)rowsHigh numberOfColumns:(NSInteger)colsWide;
- (id)initWithFrame:(NSRect)frameRect mode:(NSMatrixMode)aMode cellClass:(Class)factoryId numberOfRows:(NSInteger)rowsHigh numberOfColumns:(NSInteger)colsWide;
- (id)initWithFrame:(NSRect)frameRect;
- (id)prototype;
- (id)selectTextAtRow:(NSInteger)row column:(NSInteger)col;
- (id)selectedCell;
- (void)addColumn;
- (void)addColumnWithCells:(NSArray*)newCells;
- (void)addRow;
- (void)addRowWithCells:(NSArray*)newCells;
- (void)deselectAllCells;
- (void)deselectSelectedCell;
- (void)drawCellAtRow:(NSInteger)row column:(NSInteger)col;
- (void)getNumberOfRows:(NSInteger*)rowCount columns:(NSInteger*)colCount;
- (void)highlightCell:(BOOL)flag atRow:(NSInteger)row column:(NSInteger)col;
- (void)insertColumn:(NSInteger)column;
- (void)insertColumn:(NSInteger)column withCells:(NSArray*)newCells;
- (void)insertRow:(NSInteger)row withCells:(NSArray*)newCells;
- (void)insertRow:(NSInteger)row;
- (void)mouseDown:(NSEvent*)theEvent;
- (void)putCell:(NSCell*)newCell atRow:(NSInteger)row column:(NSInteger)col;
- (void)removeColumn:(NSInteger)col;
- (void)removeRow:(NSInteger)row;
- (void)renewRows:(NSInteger)newRows columns:(NSInteger)newCols;
- (void)resetCursorRects;
- (void)scrollCellToVisibleAtRow:(NSInteger)row column:(NSInteger)col;
- (void)selectAll:(id)sender;
- (void)selectCellAtRow:(NSInteger)row column:(NSInteger)col;
- (void)selectText:(id)sender;
- (void)sendAction:(SEL)aSelector to:(id)anObject forAllCells:(BOOL)flag;
- (void)sendDoubleAction;
- (void)setAllowsEmptySelection:(BOOL)flag;
- (void)setAutoscroll:(BOOL)flag;
- (void)setAutosizesCells:(BOOL)flag;
- (void)setBackgroundColor:(NSColor*)color;
- (void)setCellBackgroundColor:(NSColor*)color;
- (void)setCellClass:(Class)factoryId;
- (void)setCellSize:(NSSize)aSize;
- (void)setDelegate:(id)anObject;
- (void)setDoubleAction:(SEL)aSelector;
- (void)setDrawsBackground:(BOOL)flag;
- (void)setDrawsCellBackground:(BOOL)flag;
- (void)setIntercellSpacing:(NSSize)aSize;
- (void)setMode:(NSMatrixMode)aMode;
- (void)setPrototype:(NSCell*)aCell;
- (void)setScrollable:(BOOL)flag;
- (void)setSelectionByRect:(BOOL)flag;
- (void)setSelectionFrom:(NSInteger)startPos to:(NSInteger)endPos anchor:(NSInteger)anchorPos highlight:(BOOL)lit;
- (void)setState:(NSInteger)value atRow:(NSInteger)row column:(NSInteger)col;
- (void)setToolTip:(NSString*)toolTipString forCell:(NSCell*)cell;
- (void)setValidateSize:(BOOL)flag;
- (void)sizeToCells;
- (void)sortUsingFunction:(NSInteger) *:()id, id,:(void*) compare:(context:)void* context;
- (void)sortUsingSelector:(SEL)comparator;
- (void)textDidBeginEditing:(NSNotification*)notification;
- (void)textDidChange:(NSNotification*)notification;
- (void)textDidEndEditing:(NSNotification*)notification;
@interface NSMatrix (NSKeyboardUI)
// Instance Members
- (BOOL)tabKeyTraversesCells;
- (id)keyCell;
- (void)setKeyCell:(NSCell*)keyCell;
- (void)setTabKeyTraversesCells:(BOOL)flag;
@interface NSMenu : NSObject
// Class Members
+ (BOOL)menuBarVisible;
+ (NSZone*)menuZone;
+ (void)popUpContextMenu:(NSMenu*)menu withEvent:(NSEvent*)event forView:(NSView*)view;
+ (void)popUpContextMenu:(NSMenu*)menu withEvent:(NSEvent*)event forView:(NSView*)view withFont:(NSFont*)font;
+ (void)setMenuBarVisible:(BOOL)visible;
+ (void)setMenuZone:(NSZone*)aZone;
// Instance Members
- (BOOL)autoenablesItems;
- (BOOL)isAttached;
- (BOOL)isTornOff;
- (BOOL)menuChangedMessagesEnabled;
- (BOOL)performKeyEquivalent:(NSEvent*)theEvent;
- (BOOL)showsStateColumn;
- (CGFloat)menuBarHeight;
- (NSArray*)itemArray;
- (NSInteger)indexOfItem:(NSMenuItem*)index;
- (NSInteger)indexOfItemWithRepresentedObject:(id)object;
- (NSInteger)indexOfItemWithSubmenu:(NSMenu*)submenu;
- (NSInteger)indexOfItemWithTag:(NSInteger)aTag;
- (NSInteger)indexOfItemWithTarget:(id)target andAction:(SEL)actionSelector;
- (NSInteger)indexOfItemWithTitle:(NSString*)aTitle;
- (NSInteger)numberOfItems;
- (NSMenu*)attachedMenu;
- (NSMenu*)supermenu;
- (NSMenuItem*)addItemWithTitle:(NSString*)aString action:(SEL)aSelector keyEquivalent:(NSString*)charCode;
- (NSMenuItem*)highlightedItem;
- (NSMenuItem*)insertItemWithTitle:(NSString*)aString action:(SEL)aSelector keyEquivalent:(NSString*)charCode atIndex:(NSInteger)index;
- (NSMenuItem*)itemAtIndex:(NSInteger)index;
- (NSMenuItem*)itemWithTag:(NSInteger)tag;
- (NSMenuItem*)itemWithTitle:(NSString*)aTitle;
- (NSPoint)locationForSubmenu:(NSMenu*)aSubmenu;
- (NSString*)title;
- (id)contextMenuRepresentation;
- (id)delegate;
- (id)initWithTitle:(NSString*)aTitle;
- (id)menuRepresentation;
- (id)tearOffMenuRepresentation;
- (void)addItem:(NSMenuItem*)newItem;
- (void)cancelTracking;
- (void)helpRequested:(NSEvent*)eventPtr;
- (void)insertItem:(NSMenuItem*)newItem atIndex:(NSInteger)index;
- (void)itemChanged:(NSMenuItem*)item;
- (void)performActionForItemAtIndex:(NSInteger)index;
- (void)removeItem:(NSMenuItem*)item;
- (void)removeItemAtIndex:(NSInteger)index;
- (void)setAutoenablesItems:(BOOL)flag;
- (void)setContextMenuRepresentation:(id)menuRep;
- (void)setDelegate:(id)anObject;
- (void)setMenuChangedMessagesEnabled:(BOOL)flag;
- (void)setMenuRepresentation:(id)menuRep;
- (void)setShowsStateColumn:(BOOL)showsState;
- (void)setSubmenu:(NSMenu*)aMenu forItem:(NSMenuItem*)anItem;
- (void)setSupermenu:(NSMenu*)supermenu;
- (void)setTearOffMenuRepresentation:(id)menuRep;
- (void)setTitle:(NSString*)aString;
- (void)sizeToFit;
- (void)update;
@interface NSMenu (NSSubmenuAction)
// Instance Members
- (void)submenuAction:(id)sender;
@interface NSObject (NSMenuValidation)
// Instance Members
- (BOOL)validateMenuItem:(NSMenuItem*)menuItem;
@interface NSObject (NSMenuDelegate)
// Instance Members
- (BOOL)menu:(NSMenu*)menu updateItem:(NSMenuItem*)item atIndex:(NSInteger)index shouldCancel:(BOOL)shouldCancel;
- (BOOL)menuHasKeyEquivalent:(NSMenu*)menu forEvent:(NSEvent*)event target:(id*)target action:(SEL*)action;
- (NSInteger)numberOfItemsInMenu:(NSMenu*)menu;
- (void)menu:(NSMenu*)menu willHighlightItem:(NSMenuItem*)item;
- (void)menuDidClose:(NSMenu*)menu;
- (void)menuNeedsUpdate:(NSMenu*)menu;
- (void)menuWillOpen:(NSMenu*)menu;
@interface NSMenuItem : NSObject
// Class Members
+ (BOOL)usesUserKeyEquivalents;
+ (NSMenuItem*)separatorItem;
+ (void)setUsesUserKeyEquivalents:(BOOL)flag;
// Instance Members
- (BOOL)hasSubmenu;
- (BOOL)isAlternate;
- (BOOL)isEnabled;
- (BOOL)isHidden;
- (BOOL)isHiddenOrHasHiddenAncestor;
- (BOOL)isHighlighted;
- (BOOL)isSeparatorItem;
- (NSAttributedString*)attributedTitle;
- (NSImage*)image;
- (NSImage*)mixedStateImage;
- (NSImage*)offStateImage;
- (NSImage*)onStateImage;
- (NSInteger)indentationLevel;
- (NSInteger)state;
- (NSInteger)tag;
- (NSMenu*)menu;
- (NSMenu*)submenu;
- (NSString*)keyEquivalent;
- (NSString*)mnemonic;
- (NSString*)title;
- (NSString*)toolTip;
- (NSString*)userKeyEquivalent;
- (NSUInteger)keyEquivalentModifierMask;
- (NSUInteger)mnemonicLocation;
- (NSView*)view;
- (SEL)action;
- (id)initWithTitle:(NSString*)aString action:(SEL)aSelector keyEquivalent:(NSString*)charCode;
- (id)representedObject;
- (id)target;
- (void)setAction:(SEL)aSelector;
- (void)setAlternate:(BOOL)isAlternate;
- (void)setAttributedTitle:(NSAttributedString*)string;
- (void)setEnabled:(BOOL)flag;
- (void)setHidden:(BOOL)hidden;
- (void)setImage:(NSImage*)menuImage;
- (void)setIndentationLevel:(NSInteger)indentationLevel;
- (void)setKeyEquivalent:(NSString*)aKeyEquivalent;
- (void)setKeyEquivalentModifierMask:(NSUInteger)mask;
- (void)setMenu:(NSMenu*)menu;
- (void)setMixedStateImage:(NSImage*)image;
- (void)setMnemonicLocation:(NSUInteger)location;
- (void)setOffStateImage:(NSImage*)image;
- (void)setOnStateImage:(NSImage*)image;
- (void)setRepresentedObject:(id)anObject;
- (void)setState:(NSInteger)state;
- (void)setSubmenu:(NSMenu*)submenu;
- (void)setTag:(NSInteger)anInt;
- (void)setTarget:(id)anObject;
- (void)setTitle:(NSString*)aString;
- (void)setTitleWithMnemonic:(NSString*)stringWithAmpersand;
- (void)setToolTip:(NSString*)toolTip;
- (void)setView:(NSView*)view;
@interface NSView (NSViewEnclosingMenuItem)
// Instance Members
- (NSMenuItem*)enclosingMenuItem;
@interface NSMenuItemCell : NSButtonCell
// Instance Members
- (BOOL)needsDisplay;
- (BOOL)needsSizing;
- (CGFloat)imageWidth;
- (CGFloat)keyEquivalentWidth;
- (CGFloat)stateImageWidth;
- (CGFloat)titleWidth;
- (NSInteger)tag;
- (NSMenuItem*)menuItem;
- (NSMenuView*)menuView;
- (NSRect)keyEquivalentRectForBounds:(NSRect)cellFrame;
- (NSRect)stateImageRectForBounds:(NSRect)cellFrame;
- (NSRect)titleRectForBounds:(NSRect)cellFrame;
- (void)calcSize;
- (void)drawBorderAndBackgroundWithFrame:(NSRect)cellFrame inView:(NSView*)controlView;
- (void)drawImageWithFrame:(NSRect)cellFrame inView:(NSView*)controlView;
- (void)drawKeyEquivalentWithFrame:(NSRect)cellFrame inView:(NSView*)controlView;
- (void)drawSeparatorItemWithFrame:(NSRect)cellFrame inView:(NSView*)controlView;
- (void)drawStateImageWithFrame:(NSRect)cellFrame inView:(NSView*)controlView;
- (void)drawTitleWithFrame:(NSRect)cellFrame inView:(NSView*)controlView;
- (void)setMenuItem:(NSMenuItem*)item;
- (void)setMenuView:(NSMenuView*)menuView;
- (void)setNeedsDisplay:(BOOL)flag;
- (void)setNeedsSizing:(BOOL)flag;
@interface NSMenuView : NSView
// Class Members
+ (CGFloat)menuBarHeight;
// Instance Members
- (BOOL)isAttached;
- (BOOL)isHorizontal;
- (BOOL)isTornOff;
- (BOOL)needsSizing;
- (BOOL)trackWithEvent:(NSEvent*)event;
- (CGFloat)horizontalEdgePadding;
- (CGFloat)imageAndTitleOffset;
- (CGFloat)imageAndTitleWidth;
- (CGFloat)keyEquivalentOffset;
- (CGFloat)keyEquivalentWidth;
- (CGFloat)stateImageOffset;
- (CGFloat)stateImageWidth;
- (NSFont*)font;
- (NSInteger)highlightedItemIndex;
- (NSInteger)indexOfItemAtPoint:(NSPoint)point;
- (NSMenu*)attachedMenu;
- (NSMenu*)menu;
- (NSMenuItemCell*)menuItemCellForItemAtIndex:(NSInteger)index;
- (NSMenuView*)attachedMenuView;
- (NSPoint)locationForSubmenu:(NSMenu*)aSubmenu;
- (NSRect)innerRect;
- (NSRect)rectOfItemAtIndex:(NSInteger)index;
- (id)initAsTearOff;
- (id)initWithFrame:(NSRect)frame;
- (void)attachSubmenuForItemAtIndex:(NSInteger)index;
- (void)detachSubmenu;
- (void)itemAdded:(NSNotification*)notification;
- (void)itemChanged:(NSNotification*)notification;
- (void)itemRemoved:(NSNotification*)notification;
- (void)performActionWithHighlightingForItemAtIndex:(NSInteger)index;
- (void)setFont:(NSFont*)font;
- (void)setHighlightedItemIndex:(NSInteger)index;
- (void)setHorizontal:(BOOL)flag;
- (void)setHorizontalEdgePadding:(CGFloat)pad;
- (void)setMenu:(NSMenu*)menu;
- (void)setMenuItemCell:(NSMenuItemCell*)cell forItemAtIndex:(NSInteger)index;
- (void)setNeedsDisplayForItemAtIndex:(NSInteger)index;
- (void)setNeedsSizing:(BOOL)flag;
- (void)setWindowFrameForAttachingToRect:(NSRect)screenRect onScreen:(NSScreen*)screen preferredEdge:(NSRectEdge)edge popUpSelectedItem:(NSInteger)selectedItemIndex;
- (void)sizeToFit;
- (void)update;
@interface NSMovie : NSObject
// Class Members
+ (BOOL)canInitWithPasteboard:(NSPasteboard*)pasteboard;
+ (NSArray*)movieUnfilteredFileTypes;
+ (NSArray*)movieUnfilteredPasteboardTypes;
// Instance Members
- (NSURL*)URL;
- (QTMovie*)QTMovie;
- (id)initWithMovie:(QTMovie*)movie;
- (id)initWithMovie:(void*)/*Movie*/ movie;
- (id)initWithPasteboard:(NSPasteboard*)pasteboard;
- (id)initWithURL:(NSURL*)url byReference:(BOOL)byRef;
- (void*/*Movie*/)QTMovie;
@interface NSMovieView : NSView
// Instance Members
- (BOOL)isControllerVisible;
- (BOOL)isEditable;
- (BOOL)isMuted;
- (BOOL)isPlaying;
- (BOOL)playsEveryFrame;
- (BOOL)playsSelectionOnly;
- (NSMovie*)movie;
- (NSQTMovieLoopMode)loopMode;
- (NSRect)movieRect;
- (NSSize)sizeForMagnification:(CGFloat)magnification;
- (float)rate;
- (float)volume;
- (void)clear:(id)sender;
- (void)copy:(id)sender;
- (void)cut:(id)sender;
- (void)delete:(id)sender;
- (void)gotoBeginning:(id)sender;
- (void)gotoEnd:(id)sender;
- (void)gotoPosterFrame:(id)sender;
- (void)paste:(id)sender;
- (void)resizeWithMagnification:(CGFloat)magnification;
- (void)selectAll:(id)sender;
- (void)setEditable:(BOOL)editable;
- (void)setLoopMode:(NSQTMovieLoopMode)mode;
- (void)setMovie:(NSMovie*)movie;
- (void)setMuted:(BOOL)mute;
- (void)setPlaysEveryFrame:(BOOL)flag;
- (void)setPlaysSelectionOnly:(BOOL)flag;
- (void)setRate:(float)rate;
- (void)setVolume:(float)volume;
- (void)showController:(BOOL)show adjustingSize:(BOOL)adjustSize;
- (void)start:(id)sender;
- (void)stepBack:(id)sender;
- (void)stepForward:(id)sender;
- (void)stop:(id)sender;
- (void*)/*MovieController*/:(movieController;)
@interface NSNib : NSObject
// Instance Members
- (BOOL)instantiateNibWithExternalNameTable:(NSDictionary*)externalNameTable;
- (BOOL)instantiateNibWithOwner:(id)owner topLevelObjects:(NSArray**)topLevelObjects;
- (id)initWithContentsOfURL:(NSURL*)nibFileURL;
- (id)initWithNibNamed:(NSString*)nibName bundle:(NSBundle*)bundle;
@interface NSNibConnector : NSObject
// Instance Members
- (NSString*)label;
- (id)destination;
- (id)source;
- (void)establishConnection;
- (void)replaceObject:(id)oldObject withObject:(id)newObject;
- (void)setDestination:(id)destination;
- (void)setLabel:(NSString*)label;
- (void)setSource:(id)source;
@interface NSNibControlConnector : NSNibConnector
// Instance Members
- (void)establishConnection;
@interface NSBundle (NSNibLoading)
// Class Members
+ (BOOL)loadNibFile:(NSString*)fileName externalNameTable:(NSDictionary*)context withZone:(NSZone*)zone;
+ (BOOL)loadNibNamed:(NSString*)nibName owner:(id)owner;
// Instance Members
- (BOOL)loadNibFile:(NSString*)fileName externalNameTable:(NSDictionary*)context withZone:(NSZone*)zone;
@interface NSObject (NSNibAwaking)
// Instance Members
- (void)awakeFromNib;
@interface NSNibOutletConnector : NSNibConnector
// Instance Members
- (void)establishConnection;
@interface NSObjectController : NSController
// Instance Members
- (BOOL)automaticallyPreparesContent;
- (BOOL)canAdd;
- (BOOL)canRemove;
- (BOOL)isEditable;
- (BOOL)validateUserInterfaceItem:(id)
- (Class)objectClass;
- (NSArray*)selectedObjects;
- (id)content;
- (id)initWithContent:(id)content;
- (id)newObject;
- (id)selection;
- (void)add:(id)sender;
- (void)addObject:(id)object;
- (void)prepareContent;
- (void)remove:(id)sender;
- (void)removeObject:(id)object;
- (void)setAutomaticallyPreparesContent:(BOOL)flag;
- (void)setContent:(id)content;
- (void)setEditable:(BOOL)flag;
- (void)setObjectClass:(Class)objectClass;
@interface NSObjectController (NSManagedController)
// Instance Members
- (BOOL)fetchWithRequest:(NSFetchRequest*)fetchRequest merge:(BOOL)merge error:(NSError**)error;
- (BOOL)usesLazyFetching;
- (NSFetchRequest*)defaultFetchRequest;
- (NSManagedObjectContext*)managedObjectContext;
- (NSPredicate*)fetchPredicate;
- (NSString*)entityName;
- (void)fetch:(id)sender;
- (void)setEntityName:(NSString*)entityName;
- (void)setFetchPredicate:(NSPredicate*)predicate;
- (void)setManagedObjectContext:(NSManagedObjectContext*)managedObjectContext;
- (void)setUsesLazyFetching:(BOOL)enabled;
@interface NSOpenGLPixelFormat : NSObject
// Instance Members
- (GLint)numberOfVirtualScreens;
- (NSData*)attributes;
- (id)initWithAttributes:(const)NSOpenGLPixelFormatAttribute* attribs;
- (id)initWithData:(NSData*)attribs;
- (void)getValues:(GLint*)vals forAttribute:(NSOpenGLPixelFormatAttribute)attrib forVirtualScreen:(GLint)screen;
- (void)setAttributes:(NSData*)attribs;
- (void*)CGLPixelFormatObj;
@interface NSOpenGLPixelBuffer : NSObject
// Instance Members
- (GLenum)textureInternalFormat;
- (GLenum)textureTarget;
- (GLint)textureMaxMipMapLevel;
- (GLsizei)pixelsHigh;
- (GLsizei)pixelsWide;
- (id)initWithTextureTarget:(GLenum)target textureInternalFormat:(GLenum)format textureMaxMipMapLevel:(GLint)maxLevel pixelsWide:(GLsizei)pixelsWide pixelsHigh:(GLsizei)pixelsHigh;
@interface NSOpenGLContext : NSObject
// Class Members
+ (NSOpenGLContext*)currentContext;
+ (void)clearCurrentContext;
// Instance Members
- (GLenum)pixelBufferCubeMapFace;
- (GLint)currentVirtualScreen;
- (GLint)pixelBufferMipMapLevel;
- (NSOpenGLPixelBuffer*)pixelBuffer;
- (NSView*)view;
- (id)initWithFormat:(NSOpenGLPixelFormat*)format shareContext:(NSOpenGLContext*)share;
- (void)clearDrawable;
- (void)copyAttributesFromContext:(NSOpenGLContext*)context withMask:(GLbitfield)mask;
- (void)createTexture:(GLenum)target fromView:(NSView*)view internalFormat:(GLenum)format;
- (void)flushBuffer;
- (void)getValues:(GLint*)vals forParameter:(NSOpenGLContextParameter)param;
- (void)makeCurrentContext;
- (void)setCurrentVirtualScreen:(GLint)screen;
- (void)setFullScreen;
- (void)setOffScreen:(void*)baseaddr width:(GLsizei)width height:(GLsizei)height rowbytes:(GLint)rowbytes;
- (void)setPixelBuffer:(NSOpenGLPixelBuffer*)pixelBuffer cubeMapFace:(GLenum)face mipMapLevel:(GLint)level currentVirtualScreen:(GLint)screen;
- (void)setTextureImageToPixelBuffer:(NSOpenGLPixelBuffer*)pixelBuffer colorBuffer:(GLenum)source;
- (void)setValues:(const)GLint* vals:(forParameter:)NSOpenGLContextParameter param;
- (void)setView:(NSView*)view;
- (void)update;
- (void*)CGLContextObj;
@interface NSOpenGLView : NSView
// Class Members
+ (NSOpenGLPixelFormat*)defaultPixelFormat;
// Instance Members
- (NSOpenGLContext*)openGLContext;
- (NSOpenGLPixelFormat*)pixelFormat;
- (id)initWithFrame:(NSRect)frameRect pixelFormat:(NSOpenGLPixelFormat*)format;
- (void)clearGLContext;
- (void)prepareOpenGL;
- (void)reshape;
- (void)setOpenGLContext:(NSOpenGLContext*)context;
- (void)setPixelFormat:(NSOpenGLPixelFormat*)pixelFormat;
- (void)update;
@interface NSOpenPanel : NSSavePanel
// Class Members
+ (NSOpenPanel*)openPanel;
// Instance Members
- (BOOL)allowsMultipleSelection;
- (BOOL)canChooseDirectories;
- (BOOL)canChooseFiles;
- (BOOL)resolvesAliases;
- (NSArray*)URLs;
- (NSArray*)filenames;
- (void)setAllowsMultipleSelection:(BOOL)flag;
- (void)setCanChooseDirectories:(BOOL)flag;
- (void)setCanChooseFiles:(BOOL)flag;
- (void)setResolvesAliases:(BOOL)flag;
@interface NSOpenPanel (NSOpenPanelRuntime)
// Instance Members
- (NSInteger)runModalForDirectory:(NSString*)path file:(NSString*)name types:(NSArray*)fileTypes;
- (NSInteger)runModalForTypes:(NSArray*)fileTypes;
- (void)beginForDirectory:(NSString*)path file:(NSString*)name types:(NSArray*)fileTypes modelessDelegate:(id)delegate didEndSelector:(SEL)didEndSelector contextInfo:(void*)contextInfo;
- (void)beginSheetForDirectory:(NSString*)path file:(NSString*)name types:(NSArray*)fileTypes modalForWindow:(NSWindow*)docWindow modalDelegate:(id)delegate didEndSelector:(SEL)didEndSelector contextInfo:(void*)contextInfo;
@interface NSOutlineView : NSTableView
// Instance Members
- (BOOL)autoresizesOutlineColumn;
- (BOOL)autosaveExpandedItems;
- (BOOL)indentationMarkerFollowsCell;
- (BOOL)isExpandable:(id)item;
- (BOOL)isItemExpanded:(id)item;
- (BOOL)shouldCollapseAutoExpandedItemsForDeposited:(BOOL)deposited;
- (CGFloat)indentationPerLevel;
- (NSInteger)levelForItem:(id)item;
- (NSInteger)levelForRow:(NSInteger)row;
- (NSInteger)rowForItem:(id)item;
- (NSRect)frameOfOutlineCellAtRow:(NSInteger)row;
- (NSTableColumn*)outlineTableColumn;
- (id)itemAtRow:(NSInteger)row;
- (id)parentForItem:(id)item;
- (void)collapseItem:(id)item;
- (void)collapseItem:(id)item collapseChildren:(BOOL)collapseChildren;
- (void)expandItem:(id)item;
- (void)expandItem:(id)item expandChildren:(BOOL)expandChildren;
- (void)reloadItem:(id)item reloadChildren:(BOOL)reloadChildren;
- (void)reloadItem:(id)item;
- (void)setAutoresizesOutlineColumn:(BOOL)resize;
- (void)setAutosaveExpandedItems:(BOOL)save;
- (void)setDropItem:(id)item dropChildIndex:(NSInteger)index;
- (void)setIndentationMarkerFollowsCell:(BOOL)drawInCell;
- (void)setIndentationPerLevel:(CGFloat)indentationPerLevel;
- (void)setOutlineTableColumn:(NSTableColumn*)outlineTableColumn;
@interface NSObject (NSOutlineViewDataSource)
// Instance Members
- (BOOL)outlineView:(NSOutlineView*)outlineView writeItems:(NSArray*)items toPasteboard:(NSPasteboard*)pasteboard;
- (BOOL)outlineView:(NSOutlineView*)outlineView isItemExpandable:(id)item;
- (BOOL)outlineView:(NSOutlineView*)outlineView acceptDrop:(id)
- (NSArray*)outlineView:(NSOutlineView*)outlineView namesOfPromisedFilesDroppedAtDestination:(NSURL*)dropDestination forDraggedItems:(NSArray*)items;
- (NSDragOperation)outlineView:(NSOutlineView*)outlineView validateDrop:(id)
- (NSInteger)outlineView:(NSOutlineView*)outlineView numberOfChildrenOfItem:(id)item;
- (id)outlineView:(NSOutlineView*)outlineView persistentObjectForItem:(id)item;
- (id)outlineView:(NSOutlineView*)outlineView child:(NSInteger)index ofItem:(id)item;
- (id)outlineView:(NSOutlineView*)outlineView itemForPersistentObject:(id)object;
- (id)outlineView:(NSOutlineView*)outlineView objectValueForTableColumn:(NSTableColumn*)tableColumn byItem:(id)item;
- (void)outlineView:(NSOutlineView*)outlineView setObjectValue:(id)object forTableColumn:(NSTableColumn*)tableColumn byItem:(id)item;
- (void)outlineView:(NSOutlineView*)outlineView sortDescriptorsDidChange:(NSArray*)oldDescriptors;
@interface NSObject (NSOutlineViewDelegate)
// Instance Members
- (BOOL)outlineView:(NSOutlineView*)outlineView shouldTrackCell:(NSCell*)cell forTableColumn:(NSTableColumn*)tableColumn item:(id)item;
- (BOOL)outlineView:(NSOutlineView*)outlineView shouldEditTableColumn:(NSTableColumn*)tableColumn item:(id)item;
- (BOOL)outlineView:(NSOutlineView*)outlineView shouldShowCellExpansionForTableColumn:(NSTableColumn*)tableColumn item:(id)item;
- (BOOL)outlineView:(NSOutlineView*)outlineView shouldSelectItem:(id)item;
- (BOOL)outlineView:(NSOutlineView*)outlineView shouldTypeSelectForEvent:(NSEvent*)event withCurrentSearchString:(NSString*)searchString;
- (BOOL)outlineView:(NSOutlineView*)outlineView shouldSelectTableColumn:(NSTableColumn*)tableColumn;
- (BOOL)outlineView:(NSOutlineView*)outlineView shouldCollapseItem:(id)item;
- (BOOL)outlineView:(NSOutlineView*)outlineView shouldExpandItem:(id)item;
- (BOOL)outlineView:(NSOutlineView*)outlineView isGroupItem:(id)item;
- (BOOL)selectionShouldChangeInOutlineView:(NSOutlineView*)outlineView;
- (CGFloat)outlineView:(NSOutlineView*)outlineView heightOfRowByItem:(id)item;
- (NSCell*)outlineView:(NSOutlineView*)outlineView dataCellForTableColumn:(NSTableColumn*)tableColumn item:(id)item;
- (NSIndexSet*)outlineView:(NSOutlineView*)outlineView selectionIndexesForProposedSelection:(NSIndexSet*)proposedSelectionIndexes;
- (NSString*)outlineView:(NSOutlineView*)outlineView typeSelectStringForTableColumn:(NSTableColumn*)tableColumn item:(id)item;
- (NSString*)outlineView:(NSOutlineView*)outlineView toolTipForCell:(NSCell*)cell rect:(NSRectPointer)rect tableColumn:(NSTableColumn*)tableColumn item:(id)item mouseLocation:(NSPoint)mouseLocation;
- (id)outlineView:(NSOutlineView*)outlineView nextTypeSelectMatchFromItem:(id)startItem toItem:(id)endItem forString:(NSString*)searchString;
- (void)outlineView:(NSOutlineView*)outlineView willDisplayCell:(id)cell forTableColumn:(NSTableColumn*)tableColumn item:(id)item;
- (void)outlineView:(NSOutlineView*)outlineView didDragTableColumn:(NSTableColumn*)tableColumn;
- (void)outlineView:(NSOutlineView*)outlineView didClickTableColumn:(NSTableColumn*)tableColumn;
- (void)outlineView:(NSOutlineView*)outlineView mouseDownInHeaderOfTableColumn:(NSTableColumn*)tableColumn;
- (void)outlineView:(NSOutlineView*)outlineView willDisplayOutlineCell:(id)cell forTableColumn:(NSTableColumn*)tableColumn item:(id)item;
@interface NSObject (NSOutlineViewNotifications)
// Instance Members
- (void)outlineViewColumnDidMove:(NSNotification*)notification;
- (void)outlineViewColumnDidResize:(NSNotification*)notification;
- (void)outlineViewItemDidCollapse:(NSNotification*)notification;
- (void)outlineViewItemDidExpand:(NSNotification*)notification;
- (void)outlineViewItemWillCollapse:(NSNotification*)notification;
- (void)outlineViewItemWillExpand:(NSNotification*)notification;
- (void)outlineViewSelectionDidChange:(NSNotification*)notification;
- (void)outlineViewSelectionIsChanging:(NSNotification*)notification;
@interface NSPageLayout : NSObject
// Class Members
+ (NSPageLayout*)pageLayout;
// Instance Members
- (NSArray*)accessoryControllers;
- (NSInteger)runModal;
- (NSInteger)runModalWithPrintInfo:(NSPrintInfo*)printInfo;
- (NSPrintInfo*)printInfo;
- (void)addAccessoryController:(NSViewController*)accessoryController;
- (void)beginSheetWithPrintInfo:(NSPrintInfo*)printInfo modalForWindow:(NSWindow*)docWindow delegate:(id)delegate didEndSelector:(SEL)didEndSelector contextInfo:(void*)contextInfo;
- (void)removeAccessoryController:(NSViewController*)accessoryController;
@interface NSPageLayout (NSDeprecated)
// Instance Members
- (NSView*)accessoryView;
- (void)readPrintInfo;
- (void)setAccessoryView:(NSView*)accessoryView;
- (void)writePrintInfo;
@interface NSApplication (NSPageLayoutPanel)
// Instance Members
- (void)runPageLayout:(id)sender;
@interface NSPanel : NSWindow
// Instance Members
- (BOOL)becomesKeyOnlyIfNeeded;
- (BOOL)isFloatingPanel;
- (BOOL)worksWhenModal;
- (void)setBecomesKeyOnlyIfNeeded:(BOOL)flag;
- (void)setFloatingPanel:(BOOL)flag;
- (void)setWorksWhenModal:(BOOL)flag;
@interface NSTextTab : NSObject
// Instance Members
- (CGFloat)location;
- (NSDictionary*)options;
- (NSTextAlignment)alignment;
- (NSTextTabType)tabStopType;
- (id)initWithTextAlignment:(NSTextAlignment)alignment location:(CGFloat)loc options:(NSDictionary*)options;
- (id)initWithType:(NSTextTabType)type location:(CGFloat)loc;
@interface NSParagraphStyle : NSObject
// Class Members
+ (NSParagraphStyle*)defaultParagraphStyle;
+ (NSWritingDirection)defaultWritingDirectionForLanguage:(NSString*)languageName;
// Instance Members
- (CGFloat)defaultTabInterval;
- (CGFloat)firstLineHeadIndent;
- (CGFloat)headIndent;
- (CGFloat)lineHeightMultiple;
- (CGFloat)lineSpacing;
- (CGFloat)maximumLineHeight;
- (CGFloat)minimumLineHeight;
- (CGFloat)paragraphSpacing;
- (CGFloat)paragraphSpacingBefore;
- (CGFloat)tailIndent;
- (NSArray*)tabStops;
- (NSArray*)textBlocks;
- (NSArray*)textLists;
- (NSInteger)headerLevel;
- (NSLineBreakMode)lineBreakMode;
- (NSTextAlignment)alignment;
- (NSWritingDirection)baseWritingDirection;
- (float)hyphenationFactor;
- (float)tighteningFactorForTruncation;
@interface NSMutableParagraphStyle : NSParagraphStyle
// Instance Members
- (void)addTabStop:(NSTextTab*)anObject;
- (void)removeTabStop:(NSTextTab*)anObject;
- (void)setAlignment:(NSTextAlignment)alignment;
- (void)setBaseWritingDirection:(NSWritingDirection)writingDirection;
- (void)setDefaultTabInterval:(CGFloat)aFloat;
- (void)setFirstLineHeadIndent:(CGFloat)aFloat;
- (void)setHeadIndent:(CGFloat)aFloat;
- (void)setHeaderLevel:(NSInteger)level;
- (void)setHyphenationFactor:(float)aFactor;
- (void)setLineBreakMode:(NSLineBreakMode)mode;
- (void)setLineHeightMultiple:(CGFloat)aFloat;
- (void)setLineSpacing:(CGFloat)aFloat;
- (void)setMaximumLineHeight:(CGFloat)aFloat;
- (void)setMinimumLineHeight:(CGFloat)aFloat;
- (void)setParagraphSpacing:(CGFloat)aFloat;
- (void)setParagraphSpacingBefore:(CGFloat)aFloat;
- (void)setParagraphStyle:(NSParagraphStyle*)obj;
- (void)setTabStops:(NSArray*)array;
- (void)setTailIndent:(CGFloat)aFloat;
- (void)setTextBlocks:(NSArray*)array;
- (void)setTextLists:(NSArray*)array;
- (void)setTighteningFactorForTruncation:(float)aFactor;
@interface NSPasteboard : NSObject
// Class Members
+ (NSArray*)typesFilterableTo:(NSString*)type;
+ (NSPasteboard*)generalPasteboard;
+ (NSPasteboard*)pasteboardByFilteringData:(NSData*)data ofType:(NSString*)type;
+ (NSPasteboard*)pasteboardByFilteringFile:(NSString*)filename;
+ (NSPasteboard*)pasteboardByFilteringTypesInPasteboard:(NSPasteboard*)pboard;
+ (NSPasteboard*)pasteboardWithName:(NSString*)name;
+ (NSPasteboard*)pasteboardWithUniqueName;
// Instance Members
- (BOOL)setData:(NSData*)data forType:(NSString*)dataType;
- (BOOL)setPropertyList:(id)plist forType:(NSString*)dataType;
- (BOOL)setString:(NSString*)string forType:(NSString*)dataType;
- (NSArray*)types;
- (NSData*)dataForType:(NSString*)dataType;
- (NSInteger)addTypes:(NSArray*)newTypes owner:(id)newOwner;
- (NSInteger)changeCount;
- (NSInteger)declareTypes:(NSArray*)newTypes owner:(id)newOwner;
- (NSString*)availableTypeFromArray:(NSArray*)types;
- (NSString*)name;
- (NSString*)stringForType:(NSString*)dataType;
- (id)propertyListForType:(NSString*)dataType;
- (void)releaseGlobally;
@interface NSPasteboard (NSFileContents)
// Instance Members
- (BOOL)writeFileContents:(NSString*)filename;
- (BOOL)writeFileWrapper:(NSFileWrapper*)wrapper;
- (NSFileWrapper*)readFileWrapper;
- (NSString*)readFileContentsType:(NSString*)type toFile:(NSString*)filename;
@interface NSURL (NSPasteboardSupport)
// Class Members
+ (NSURL*)URLFromPasteboard:(NSPasteboard*)pasteBoard;
// Instance Members
- (void)writeToPasteboard:(NSPasteboard*)pasteBoard;
@interface NSObject (NSPasteboardOwner)
// Instance Members
- (void)pasteboard:(NSPasteboard*)sender provideDataForType:(NSString*)type;
- (void)pasteboardChangedOwner:(NSPasteboard*)sender;
@interface NSPathCell : NSActionCell
// Class Members
+ (Class)pathComponentCellClass;
// Instance Members
- (NSArray*)allowedTypes;
- (NSArray*)pathComponentCells;
- (NSAttributedString*)placeholderAttributedString;
- (NSColor*)backgroundColor;
- (NSPathComponentCell*)clickedPathComponentCell;
- (NSPathComponentCell*)pathComponentCellAtPoint:(NSPoint)point withFrame:(NSRect)frame inView:(NSView*)view;
- (NSPathStyle)pathStyle;
- (NSRect)rectOfPathComponentCell:(NSPathComponentCell*)cell withFrame:(NSRect)frame inView:(NSView*)view;
- (NSString*)placeholderString;
- (NSURL*)URL;
- (SEL)doubleAction;
- (id)delegate;
- (void)mouseEntered:(NSEvent*)event withFrame:(NSRect)frame inView:(NSView*)view;
- (void)mouseExited:(NSEvent*)event withFrame:(NSRect)frame inView:(NSView*)view;
- (void)setAllowedTypes:(NSArray*)allowedTypes;
- (void)setBackgroundColor:(NSColor*)color;
- (void)setControlSize:(NSControlSize)size;
- (void)setDelegate:(id)value;
- (void)setDoubleAction:(SEL)action;
- (void)setObjectValue:(id)
- (void)setPathComponentCells:(NSArray*)cells;
- (void)setPathStyle:(NSPathStyle)style;
- (void)setPlaceholderAttributedString:(NSAttributedString*)string;
- (void)setPlaceholderString:(NSString*)string;
- (void)setURL:(NSURL*)url;
@interface NSPathComponentCell : NSTextFieldCell
// Instance Members
- (NSImage*)image;
- (NSURL*)URL;
- (void)setImage:(NSImage*)value;
- (void)setURL:(NSURL*)url;
@interface NSPathControl : NSControl
// Instance Members
- (NSArray*)pathComponentCells;
- (NSColor*)backgroundColor;
- (NSPathComponentCell*)clickedPathComponentCell;
- (NSPathStyle)pathStyle;
- (NSURL*)URL;
- (SEL)doubleAction;
- (id)delegate;
- (void)setBackgroundColor:(NSColor*)color;
- (void)setDelegate:(id)delegate;
- (void)setDoubleAction:(SEL)action;
- (void)setDraggingSourceOperationMask:(NSDragOperation)mask forLocal:(BOOL)isLocal;
- (void)setPathComponentCells:(NSArray*)cells;
- (void)setPathStyle:(NSPathStyle)style;
- (void)setURL:(NSURL*)url;
@interface NSPDFImageRep : NSImageRep
// Class Members
+ (id)imageRepWithData:(NSData*)pdfData;
// Instance Members
- (NSData*)PDFRepresentation;
- (NSInteger):(currentPage;)
- (NSInteger):(pageCount;)
- (NSRect)bounds;
- (id)initWithData:(NSData*)pdfData;
- (void)setCurrentPage:(NSInteger)page;
@interface NSPersistentDocument : NSDocument
// Instance Members
- (BOOL)configurePersistentStoreCoordinatorForURL:(NSURL*)url ofType:(NSString*)fileType modelConfiguration:(NSString*)configuration storeOptions:(NSDictionary*)storeOptions error:(NSError**)error;
- (BOOL)readFromURL:(NSURL*)absoluteURL ofType:(NSString*)typeName error:(NSError**)error;
- (BOOL)revertToContentsOfURL:(NSURL*)inAbsoluteURL ofType:(NSString*)inTypeName error:(NSError**)outError;
- (BOOL)writeToURL:(NSURL*)absoluteURL ofType:(NSString*)typeName forSaveOperation:(NSSaveOperationType)saveOperation originalContentsURL:(NSURL*)absoluteOriginalContentsURL error:(NSError**)error;
- (NSManagedObjectContext*)managedObjectContext;
- (NSString*)persistentStoreTypeForFileType:(NSString*)fileType;
- (id)managedObjectModel;
- (void)setManagedObjectContext:(NSManagedObjectContext*)managedObjectContext;
@interface NSPersistentDocument (NSPersistentDocumentDeprecated)
// Instance Members
- (BOOL)configurePersistentStoreCoordinatorForURL:(NSURL*)url ofType:(NSString*)fileType error:(NSError**)error;
@interface NSPICTImageRep : NSImageRep
// Class Members
+ (id)imageRepWithData:(NSData*)pictData;
// Instance Members
- (NSData*)PICTRepresentation;
- (NSRect):(boundingBox;)
- (id)initWithData:(NSData*)pictData;
@interface NSPopUpButton : NSButton
// Instance Members
- (BOOL)autoenablesItems;
- (BOOL)pullsDown;
- (BOOL)selectItemWithTag:(NSInteger)tag;
- (NSArray*)itemArray;
- (NSArray*)itemTitles;
- (NSInteger)indexOfItem:(NSMenuItem*)item;
- (NSInteger)indexOfItemWithRepresentedObject:(id)obj;
- (NSInteger)indexOfItemWithTag:(NSInteger)tag;
- (NSInteger)indexOfItemWithTarget:(id)target andAction:(SEL)actionSelector;
- (NSInteger)indexOfItemWithTitle:(NSString*)title;
- (NSInteger)indexOfSelectedItem;
- (NSInteger)numberOfItems;
- (NSMenu*)menu;
- (NSMenuItem*)itemAtIndex:(NSInteger)index;
- (NSMenuItem*)itemWithTitle:(NSString*)title;
- (NSMenuItem*)lastItem;
- (NSMenuItem*)selectedItem;
- (NSRectEdge)preferredEdge;
- (NSString*)itemTitleAtIndex:(NSInteger)index;
- (NSString*)titleOfSelectedItem;
- (id)initWithFrame:(NSRect)buttonFrame pullsDown:(BOOL)flag;
- (void)addItemWithTitle:(NSString*)title;
- (void)addItemsWithTitles:(NSArray*)itemTitles;
- (void)insertItemWithTitle:(NSString*)title atIndex:(NSInteger)index;
- (void)removeAllItems;
- (void)removeItemAtIndex:(NSInteger)index;
- (void)removeItemWithTitle:(NSString*)title;
- (void)selectItem:(NSMenuItem*)item;
- (void)selectItemAtIndex:(NSInteger)index;
- (void)selectItemWithTitle:(NSString*)title;
- (void)setAutoenablesItems:(BOOL)flag;
- (void)setMenu:(NSMenu*)menu;
- (void)setPreferredEdge:(NSRectEdge)edge;
- (void)setPullsDown:(BOOL)flag;
- (void)setTitle:(NSString*)aString;
- (void)synchronizeTitleAndSelectedItem;
@interface NSPopUpButtonCell : NSMenuItemCell
// Instance Members
- (BOOL)altersStateOfSelectedItem;
- (BOOL)autoenablesItems;
- (BOOL)pullsDown;
- (BOOL)selectItemWithTag:(NSInteger)tag;
- (BOOL)usesItemFromMenu;
- (NSArray*)itemArray;
- (NSArray*)itemTitles;
- (NSInteger)indexOfItem:(NSMenuItem*)item;
- (NSInteger)indexOfItemWithRepresentedObject:(id)obj;
- (NSInteger)indexOfItemWithTag:(NSInteger)tag;
- (NSInteger)indexOfItemWithTarget:(id)target andAction:(SEL)actionSelector;
- (NSInteger)indexOfItemWithTitle:(NSString*)title;
- (NSInteger)indexOfSelectedItem;
- (NSInteger)numberOfItems;
- (NSMenu*)menu;
- (NSMenuItem*)itemAtIndex:(NSInteger)index;
- (NSMenuItem*)itemWithTitle:(NSString*)title;
- (NSMenuItem*)lastItem;
- (NSMenuItem*)selectedItem;
- (NSPopUpArrowPosition)arrowPosition;
- (NSRectEdge)preferredEdge;
- (NSString*)itemTitleAtIndex:(NSInteger)index;
- (NSString*)titleOfSelectedItem;
- (id)initTextCell:(NSString*)stringValue pullsDown:(BOOL)pullDown;
- (id)objectValue;
- (void)addItemWithTitle:(NSString*)title;
- (void)addItemsWithTitles:(NSArray*)itemTitles;
- (void)attachPopUpWithFrame:(NSRect)cellFrame inView:(NSView*)controlView;
- (void)dismissPopUp;
- (void)insertItemWithTitle:(NSString*)title atIndex:(NSInteger)index;
- (void)performClickWithFrame:(NSRect)frame inView:(NSView*)controlView;
- (void)removeAllItems;
- (void)removeItemAtIndex:(NSInteger)index;
- (void)removeItemWithTitle:(NSString*)title;
- (void)selectItem:(NSMenuItem*)item;
- (void)selectItemAtIndex:(NSInteger)index;
- (void)selectItemWithTitle:(NSString*)title;
- (void)setAltersStateOfSelectedItem:(BOOL)flag;
- (void)setArrowPosition:(NSPopUpArrowPosition)position;
- (void)setAutoenablesItems:(BOOL)flag;
- (void)setMenu:(NSMenu*)menu;
- (void)setObjectValue:(id)obj;
- (void)setPreferredEdge:(NSRectEdge)edge;
- (void)setPullsDown:(BOOL)flag;
- (void)setTitle:(NSString*)aString;
- (void)setUsesItemFromMenu:(BOOL)flag;
- (void)synchronizeTitleAndSelectedItem;
@interface NSPredicateEditor : NSRuleEditor
// Instance Members
- (NSArray*)rowTemplates;
- (void)setRowTemplates:(NSArray*)rowTemplates;
@interface NSPredicateEditorRowTemplate : NSObject
// Class Members
+ (NSArray*)templatesWithAttributeKeyPaths:(NSArray*)keyPaths inEntityDescription:(NSEntityDescription*)entityDescription;
// Instance Members
- (NSArray*)compoundTypes;
- (NSArray*)displayableSubpredicatesOfPredicate:(NSPredicate*)predicate;
- (NSArray*)leftExpressions;
- (NSArray*)operators;
- (NSArray*)rightExpressions;
- (NSArray*)templateViews;
- (NSAttributeType)rightExpressionAttributeType;
- (NSComparisonPredicateModifier)modifier;
- (NSPredicate*)predicateWithSubpredicates:(NSArray*)subpredicates;
- (NSUInteger)options;
- (double)matchForPredicate:(NSPredicate*)predicate;
- (id)initWithCompoundTypes:(NSArray*)compoundTypes;
- (id)initWithLeftExpressions:(NSArray*)leftExpressions rightExpressions:(NSArray*)rightExpressions modifier:(NSComparisonPredicateModifier)modifier operators:(NSArray*)operators options:(NSUInteger)options;
- (id)initWithLeftExpressions:(NSArray*)leftExpressions rightExpressionAttributeType:(NSAttributeType)attributeType modifier:(NSComparisonPredicateModifier)modifier operators:(NSArray*)operators options:(NSUInteger)options;
- (void)setPredicate:(NSPredicate*)predicate;
@interface NSPrinter : NSObject
// Class Members
+ (NSArray*)printerNames;
+ (NSArray*)printerTypes;
+ (NSPrinter*)printerWithName:(NSString*)name;
+ (NSPrinter*)printerWithType:(NSString*)type;
// Instance Members
- (BOOL)booleanForKey:(NSString*)key inTable:(NSString*)table;
- (BOOL)isKey:(NSString*)key inTable:(NSString*)table;
- (NSArray*)stringListForKey:(NSString*)key inTable:(NSString*)table;
- (NSDictionary*)deviceDescription;
- (NSInteger)languageLevel;
- (NSPrinterTableStatus)statusForTable:(NSString*)tableName;
- (NSRect)rectForKey:(NSString*)key inTable:(NSString*)table;
- (NSSize)pageSizeForPaper:(NSString*)paperName;
- (NSSize)sizeForKey:(NSString*)key inTable:(NSString*)table;
- (NSString*)name;
- (NSString*)stringForKey:(NSString*)key inTable:(NSString*)table;
- (NSString*)type;
- (float)floatForKey:(NSString*)key inTable:(NSString*)table;
- (int)intForKey:(NSString*)key inTable:(NSString*)table;
@interface NSPrinter (NSDeprecated)
// Class Members
+ (NSPrinter*)printerWithName:(NSString*)name domain:(NSString*)domain includeUnavailable:(BOOL)flag;
// Instance Members
- (BOOL)acceptsBinary;
- (BOOL)isColor;
- (BOOL)isFontAvailable:(NSString*)faceName;
- (BOOL)isOutputStackInReverseOrder;
- (NSRect)imageRectForPaper:(NSString*)paperName;
- (NSString*)domain;
- (NSString*)host;
- (NSString*)note;
@interface NSPrintInfo : NSObject
// Class Members
+ (NSPrintInfo*)sharedPrintInfo;
+ (NSPrinter*)defaultPrinter;
+ (void)setSharedPrintInfo:(NSPrintInfo*)printInfo;
// Instance Members
- (BOOL)isHorizontallyCentered;
- (BOOL)isVerticallyCentered;
- (CGFloat)bottomMargin;
- (CGFloat)leftMargin;
- (CGFloat)rightMargin;
- (CGFloat)topMargin;
- (NSMutableDictionary*)dictionary;
- (NSMutableDictionary*)printSettings;
- (NSPrinter*)printer;
- (NSPrintingOrientation)orientation;
- (NSPrintingPaginationMode)horizontalPagination;
- (NSPrintingPaginationMode)verticalPagination;
- (NSRect)imageablePageBounds;
- (NSSize)paperSize;
- (NSString*)jobDisposition;
- (NSString*)localizedPaperName;
- (NSString*)paperName;
- (id)initWithDictionary:(NSDictionary*)attributes;
- (void)setBottomMargin:(CGFloat)margin;
- (void)setHorizontalPagination:(NSPrintingPaginationMode)mode;
- (void)setHorizontallyCentered:(BOOL)flag;
- (void)setJobDisposition:(NSString*)disposition;
- (void)setLeftMargin:(CGFloat)margin;
- (void)setOrientation:(NSPrintingOrientation)orientation;
- (void)setPaperName:(NSString*)name;
- (void)setPaperSize:(NSSize)size;
- (void)setPrinter:(NSPrinter*)printer;
- (void)setRightMargin:(CGFloat)margin;
- (void)setTopMargin:(CGFloat)margin;
- (void)setUpPrintOperationDefaultValues;
- (void)setVerticalPagination:(NSPrintingPaginationMode)mode;
- (void)setVerticallyCentered:(BOOL)flag;
- (void)updateFromPMPageFormat;
- (void)updateFromPMPrintSettings;
- (void*)PMPageFormat;
- (void*)PMPrintSession;
- (void*)PMPrintSettings;
@interface NSPrintInfo (NSDeprecated)
// Class Members
+ (NSSize)sizeForPaperName:(NSString*)name;
+ (void)setDefaultPrinter:(NSPrinter*)printer;
@interface NSPrintOperation : NSObject
// Class Members
+ (NSPrintOperation*)EPSOperationWithView:(NSView*)view insideRect:(NSRect)rect toData:(NSMutableData*)data;
+ (NSPrintOperation*)EPSOperationWithView:(NSView*)view insideRect:(NSRect)rect toData:(NSMutableData*)data printInfo:(NSPrintInfo*)printInfo;
+ (NSPrintOperation*)EPSOperationWithView:(NSView*)view insideRect:(NSRect)rect toPath:(NSString*)path printInfo:(NSPrintInfo*)printInfo;
+ (NSPrintOperation*)PDFOperationWithView:(NSView*)view insideRect:(NSRect)rect toPath:(NSString*)path printInfo:(NSPrintInfo*)printInfo;
+ (NSPrintOperation*)PDFOperationWithView:(NSView*)view insideRect:(NSRect)rect toData:(NSMutableData*)data printInfo:(NSPrintInfo*)printInfo;
+ (NSPrintOperation*)PDFOperationWithView:(NSView*)view insideRect:(NSRect)rect toData:(NSMutableData*)data;
+ (NSPrintOperation*)currentOperation;
+ (NSPrintOperation*)printOperationWithView:(NSView*)view printInfo:(NSPrintInfo*)printInfo;
+ (NSPrintOperation*)printOperationWithView:(NSView*)view;
+ (void)setCurrentOperation:(NSPrintOperation*)operation;
// Instance Members
- (BOOL)canSpawnSeparateThread;
- (BOOL)deliverResult;
- (BOOL)isCopyingOperation;
- (BOOL)runOperation;
- (BOOL)showsPrintPanel;
- (BOOL)showsProgressPanel;
- (NSGraphicsContext*)context;
- (NSGraphicsContext*)createContext;
- (NSInteger)currentPage;
- (NSPrintInfo*)printInfo;
- (NSPrintPanel*)printPanel;
- (NSPrintingPageOrder)pageOrder;
- (NSRange)pageRange;
- (NSString*)jobTitle;
- (NSView*)view;
- (void)cleanUpOperation;
- (void)destroyContext;
- (void)runOperationModalForWindow:(NSWindow*)docWindow delegate:(id)delegate didRunSelector:(SEL)didRunSelector contextInfo:(void*)contextInfo;
- (void)setCanSpawnSeparateThread:(BOOL)canSpawnSeparateThread;
- (void)setJobTitle:(NSString*)jobTitle;
- (void)setPageOrder:(NSPrintingPageOrder)pageOrder;
- (void)setPrintInfo:(NSPrintInfo*)printInfo;
- (void)setPrintPanel:(NSPrintPanel*)panel;
- (void)setShowsPrintPanel:(BOOL)flag;
- (void)setShowsProgressPanel:(BOOL)flag;
@interface NSPrintOperation (NSDeprecated)
// Instance Members
- (BOOL)showPanels;
- (NSString*)jobStyleHint;
- (NSView*)accessoryView;
- (void)setAccessoryView:(NSView*)view;
- (void)setJobStyleHint:(NSString*)hint;
- (void)setShowPanels:(BOOL)flag;
@interface NSPrintPanel : NSObject
// Class Members
+ (NSPrintPanel*)printPanel;
// Instance Members
- (NSArray*)accessoryControllers;
- (NSInteger)runModal;
- (NSInteger)runModalWithPrintInfo:(NSPrintInfo*)printInfo;
- (NSPrintInfo*)printInfo;
- (NSPrintPanelOptions)options;
- (NSString*)defaultButtonTitle;
- (NSString*)helpAnchor;
- (NSString*)jobStyleHint;
- (void)addAccessoryController:(NSViewController
- (void)beginSheetWithPrintInfo:(NSPrintInfo*)printInfo modalForWindow:(NSWindow*)docWindow delegate:(id)delegate didEndSelector:(SEL)didEndSelector contextInfo:(void*)contextInfo;
- (void)removeAccessoryController:(NSViewController
- (void)setDefaultButtonTitle:(NSString*)defaultButtonTitle;
- (void)setHelpAnchor:(NSString*)helpAnchor;
- (void)setJobStyleHint:(NSString*)hint;
- (void)setOptions:(NSPrintPanelOptions)options;
@interface NSPrintPanel (NSDeprecated)
// Instance Members
- (NSView*)accessoryView;
- (void)finalWritePrintInfo;
- (void)setAccessoryView:(NSView*)accessoryView;
- (void)updateFromPrintInfo;
@interface NSProgressIndicator : NSView
// Instance Members
- (BOOL)isBezeled;
- (BOOL)isDisplayedWhenStopped;
- (BOOL)isIndeterminate;
- (BOOL)usesThreadedAnimation;
- (NSControlSize)controlSize;
- (NSControlTint)controlTint;
- (NSProgressIndicatorStyle)style;
- (NSTimeInterval)animationDelay;
- (double)doubleValue;
- (double)maxValue;
- (double)minValue;
- (void)animate:(id)sender;
- (void)incrementBy:(double)delta;
- (void)setAnimationDelay:(NSTimeInterval)delay;
- (void)setBezeled:(BOOL)flag;
- (void)setControlSize:(NSControlSize)size;
- (void)setControlTint:(NSControlTint)tint;
- (void)setDisplayedWhenStopped:()BOOL isDisplayed;
- (void)setDoubleValue:(double)doubleValue;
- (void)setIndeterminate:(BOOL)flag;
- (void)setMaxValue:(double)newMaximum;
- (void)setMinValue:(double)newMinimum;
- (void)setStyle:()NSProgressIndicatorStyle style;
- (void)setUsesThreadedAnimation:(BOOL)threadedAnimation;
- (void)sizeToFit;
- (void)startAnimation:(id)sender;
- (void)stopAnimation:(id)sender;
@interface NSQuickDrawView : NSView
// Instance Members
- (void*)qdPort;
@interface NSResponder : NSObject
// Instance Members
- (BOOL)acceptsFirstResponder;
- (BOOL)becomeFirstResponder;
- (BOOL)performKeyEquivalent:(NSEvent*)theEvent;
- (BOOL)resignFirstResponder;
- (BOOL)shouldBeTreatedAsInkEvent:(NSEvent*)theEvent;
- (BOOL)tryToPerform:(SEL)anAction with:(id)anObject;
- (NSMenu*)menu;
- (NSResponder*)nextResponder;
- (id)validRequestorForSendType:(NSString*)sendType returnType:(NSString*)returnType;
- (void)cursorUpdate:(NSEvent*)event;
- (void)flagsChanged:(NSEvent*)theEvent;
- (void)flushBufferedKeyEvents;
- (void)helpRequested:(NSEvent*)eventPtr;
- (void)interpretKeyEvents:(NSArray*)eventArray;
- (void)keyDown:(NSEvent*)theEvent;
- (void)keyUp:(NSEvent*)theEvent;
- (void)mouseDown:(NSEvent*)theEvent;
- (void)mouseDragged:(NSEvent*)theEvent;
- (void)mouseEntered:(NSEvent*)theEvent;
- (void)mouseExited:(NSEvent*)theEvent;
- (void)mouseMoved:(NSEvent*)theEvent;
- (void)mouseUp:(NSEvent*)theEvent;
- (void)noResponderFor:(SEL)eventSelector;
- (void)otherMouseDown:(NSEvent*)theEvent;
- (void)otherMouseDragged:(NSEvent*)theEvent;
- (void)otherMouseUp:(NSEvent*)theEvent;
- (void)rightMouseDown:(NSEvent*)theEvent;
- (void)rightMouseDragged:(NSEvent*)theEvent;
- (void)rightMouseUp:(NSEvent*)theEvent;
- (void)scrollWheel:(NSEvent*)theEvent;
- (void)setMenu:(NSMenu*)menu;
- (void)setNextResponder:(NSResponder*)aResponder;
- (void)showContextHelp:(id)sender;
- (void)tabletPoint:(NSEvent*)theEvent;
- (void)tabletProximity:(NSEvent*)theEvent;
@interface NSResponder (NSKeyboardUI)
// Instance Members
- (BOOL)performMnemonic:(NSString*)theString;
@interface NSResponder (NSStandardKeyBindingMethods)
// Instance Members
- (void)cancelOperation:(id)sender;
- (void)capitalizeWord:(id)sender;
- (void)centerSelectionInVisibleArea:(id)sender;
- (void)changeCaseOfLetter:(id)sender;
- (void)complete:(id)sender;
- (void)deleteBackward:(id)sender;
- (void)deleteBackwardByDecomposingPreviousCharacter:(id)sender;
- (void)deleteForward:(id)sender;
- (void)deleteToBeginningOfLine:(id)sender;
- (void)deleteToBeginningOfParagraph:(id)sender;
- (void)deleteToEndOfLine:(id)sender;
- (void)deleteToEndOfParagraph:(id)sender;
- (void)deleteToMark:(id)sender;
- (void)deleteWordBackward:(id)sender;
- (void)deleteWordForward:(id)sender;
- (void)doCommandBySelector:(SEL)aSelector;
- (void)indent:(id)sender;
- (void)insertBacktab:(id)sender;
- (void)insertContainerBreak:(id)sender;
- (void)insertLineBreak:(id)sender;
- (void)insertNewline:(id)sender;
- (void)insertNewlineIgnoringFieldEditor:(id)sender;
- (void)insertParagraphSeparator:(id)sender;
- (void)insertTab:(id)sender;
- (void)insertTabIgnoringFieldEditor:(id)sender;
- (void)insertText:(id)insertString;
- (void)lowercaseWord:(id)sender;
- (void)moveBackward:(id)sender;
- (void)moveBackwardAndModifySelection:(id)sender;
- (void)moveDown:(id)sender;
- (void)moveDownAndModifySelection:(id)sender;
- (void)moveForward:(id)sender;
- (void)moveForwardAndModifySelection:(id)sender;
- (void)moveLeft:(id)sender;
- (void)moveLeftAndModifySelection:(id)sender;
- (void)moveRight:(id)sender;
- (void)moveRightAndModifySelection:(id)sender;
- (void)moveToBeginningOfDocument:(id)sender;
- (void)moveToBeginningOfLine:(id)sender;
- (void)moveToBeginningOfParagraph:(id)sender;
- (void)moveToEndOfDocument:(id)sender;
- (void)moveToEndOfLine:(id)sender;
- (void)moveToEndOfParagraph:(id)sender;
- (void)moveUp:(id)sender;
- (void)moveUpAndModifySelection:(id)sender;
- (void)moveWordBackward:(id)sender;
- (void)moveWordBackwardAndModifySelection:(id)sender;
- (void)moveWordForward:(id)sender;
- (void)moveWordForwardAndModifySelection:(id)sender;
- (void)moveWordLeft:(id)sender;
- (void)moveWordLeftAndModifySelection:(id)sender;
- (void)moveWordRight:(id)sender;
- (void)moveWordRightAndModifySelection:(id)sender;
- (void)pageDown:(id)sender;
- (void)pageUp:(id)sender;
- (void)scrollLineDown:(id)sender;
- (void)scrollLineUp:(id)sender;
- (void)scrollPageDown:(id)sender;
- (void)scrollPageUp:(id)sender;
- (void)selectAll:(id)sender;
- (void)selectLine:(id)sender;
- (void)selectParagraph:(id)sender;
- (void)selectToMark:(id)sender;
- (void)selectWord:(id)sender;
- (void)setMark:(id)sender;
- (void)swapWithMark:(id)sender;
- (void)transpose:(id)sender;
- (void)transposeWords:(id)sender;
- (void)uppercaseWord:(id)sender;
- (void)yank:(id)sender;
@interface NSResponder (NSUndoSupport)
// Instance Members
- (NSUndoManager*)undoManager;
@interface NSResponder (NSErrorPresentation)
// Instance Members
- (BOOL)presentError:(NSError*)error;
- (NSError*)willPresentError:(NSError*)error;
- (void)presentError:(NSError*)error modalForWindow:(NSWindow*)window delegate:(id)delegate didPresentSelector:(SEL)didPresentSelector contextInfo:(void*)contextInfo;
@interface NSRuleEditor : NSControl
// Instance Members
- (BOOL)canRemoveAllRows;
- (BOOL)isEditable;
- (CGFloat)rowHeight;
- (Class)rowClass;
- (NSArray*)criteriaForRow:(NSInteger)row;
- (NSArray*)displayValuesForRow:(NSInteger)row;
- (NSDictionary*)formattingDictionary;
- (NSIndexSet*)selectedRowIndexes;
- (NSIndexSet*)subrowIndexesForRow:(NSInteger)rowIndex;
- (NSInteger)numberOfRows;
- (NSInteger)parentRowForRow:(NSInteger)rowIndex;
- (NSInteger)rowForDisplayValue:(id)displayValue;
- (NSPredicate*)predicate;
- (NSPredicate*)predicateForRow:(NSInteger)row;
- (NSRuleEditorNestingMode)nestingMode;
- (NSRuleEditorRowType)rowTypeForRow:(NSInteger)rowIndex;
- (NSString*)criteriaKeyPath;
- (NSString*)displayValuesKeyPath;
- (NSString*)formattingStringsFilename;
- (NSString*)rowTypeKeyPath;
- (NSString*)subrowsKeyPath;
- (id)delegate;
- (void)addRow:(id)sender;
- (void)insertRowAtIndex:(NSInteger)rowIndex withType:(NSRuleEditorRowType)rowType asSubrowOfRow:(NSInteger)parentRow animate:(BOOL)shouldAnimate;
- (void)reloadCriteria;
- (void)reloadPredicate;
- (void)removeRowAtIndex:(NSInteger)rowIndex;
- (void)removeRowsAtIndexes:(NSIndexSet*)rowIndexes includeSubrows:(BOOL)includeSubrows;
- (void)selectRowIndexes:(NSIndexSet*)indexes byExtendingSelection:(BOOL)extend;
- (void)setCanRemoveAllRows:(BOOL)val;
- (void)setCriteria:(NSArray*)criteria andDisplayValues:(NSArray*)values forRowAtIndex:(NSInteger)rowIndex;
- (void)setCriteriaKeyPath:(NSString*)keyPath;
- (void)setDelegate:delegate;
- (void)setDisplayValuesKeyPath:(NSString*)keyPath;
- (void)setEditable:(BOOL)editable;
- (void)setFormattingDictionary:(NSDictionary*)dictionary;
- (void)setFormattingStringsFilename:(NSString*)stringsFilename;
- (void)setNestingMode:(NSRuleEditorNestingMode)mode;
- (void)setRowClass:(Class)rowClass;
- (void)setRowHeight:(CGFloat)height;
- (void)setRowTypeKeyPath:(NSString*)keyPath;
- (void)setSubrowsKeyPath:(NSString*)keyPath;
@interface NSObject (NSRuleEditorDelegateMethods)
// Instance Members
- (NSDictionary*)ruleEditor:(NSRuleEditor*)editor predicatePartsForCriterion:(id)criterion withDisplayValue:(id)value inRow:(NSInteger)row;
- (NSInteger)ruleEditor:(NSRuleEditor*)editor numberOfChildrenForCriterion:(id)criterion withRowType:(NSRuleEditorRowType)rowType;
- (id)ruleEditor:(NSRuleEditor*)editor child:(NSInteger)index forCriterion:(id)criterion withRowType:(NSRuleEditorRowType)rowType;
- (id)ruleEditor:(NSRuleEditor*)editor displayValueForCriterion:(id)criterion inRow:(NSInteger)row;
- (void)ruleEditorRowsDidChange:(NSNotification*)notification;
@interface NSRulerMarker : NSObject
// Instance Members
- (BOOL)isDragging;
- (BOOL)isMovable;
- (BOOL)isRemovable;
- (BOOL)trackMouse:(NSEvent*)mouseDownEvent adding:(BOOL)isAdding;
- (CGFloat)markerLocation;
- (CGFloat)thicknessRequiredInRuler;
- (NSImage*)image;
- (NSPoint)imageOrigin;
- (NSRect)imageRectInRuler;
- (NSRulerView*)ruler;
- (id)
- (id)initWithRulerView:(NSRulerView*)ruler markerLocation:(CGFloat)location image:(NSImage*)image imageOrigin:(NSPoint)imageOrigin;
- (void)drawRect:(NSRect)rect;
- (void)setImage:(NSImage*)image;
- (void)setImageOrigin:(NSPoint)imageOrigin;
- (void)setMarkerLocation:(CGFloat)location;
- (void)setMovable:(BOOL)flag;
- (void)setRemovable:(BOOL)flag;
- (void)setRepresentedObject:(id)
@interface NSRulerView : NSView
// Class Members
+ (void)registerUnitWithName:(NSString*)unitName abbreviation:(NSString*)abbreviation unitToPointsConversionFactor:(CGFloat)conversionFactor stepUpCycle:(NSArray*)stepUpCycle stepDownCycle:(NSArray*)stepDownCycle;
// Instance Members
- (BOOL)isFlipped;
- (BOOL)trackMarker:(NSRulerMarker*)marker withMouseEvent:(NSEvent*)event;
- (CGFloat)baselineLocation;
- (CGFloat)originOffset;
- (CGFloat)requiredThickness;
- (CGFloat)reservedThicknessForAccessoryView;
- (CGFloat)reservedThicknessForMarkers;
- (CGFloat)ruleThickness;
- (NSArray*)markers;
- (NSRulerOrientation)orientation;
- (NSScrollView*)scrollView;
- (NSString*)measurementUnits;
- (NSView*)accessoryView;
- (NSView*)clientView;
- (id)initWithScrollView:(NSScrollView*)scrollView orientation:(NSRulerOrientation)orientation;
- (void)addMarker:(NSRulerMarker*)marker;
- (void)drawHashMarksAndLabelsInRect:(NSRect)rect;
- (void)drawMarkersInRect:(NSRect)rect;
- (void)invalidateHashMarks;
- (void)moveRulerlineFromLocation:(CGFloat)oldLocation toLocation:(CGFloat)newLocation;
- (void)removeMarker:(NSRulerMarker*)marker;
- (void)setAccessoryView:(NSView*)accessory;
- (void)setClientView:(NSView*)client;
- (void)setMarkers:(NSArray*)markers;
- (void)setMeasurementUnits:(NSString*)unitName;
- (void)setOrientation:(NSRulerOrientation)orientation;
- (void)setOriginOffset:(CGFloat)offset;
- (void)setReservedThicknessForAccessoryView:(CGFloat)thickness;
- (void)setReservedThicknessForMarkers:(CGFloat)thickness;
- (void)setRuleThickness:(CGFloat)thickness;
- (void)setScrollView:(NSScrollView*)scrollView;
@interface NSView (NSRulerMarkerClientViewDelegation)
// Instance Members
- (BOOL)rulerView:(NSRulerView*)ruler shouldMoveMarker:(NSRulerMarker*)marker;
- (BOOL)rulerView:(NSRulerView*)ruler shouldRemoveMarker:(NSRulerMarker*)marker;
- (BOOL)rulerView:(NSRulerView*)ruler shouldAddMarker:(NSRulerMarker*)marker;
- (CGFloat)rulerView:(NSRulerView*)ruler willAddMarker:(NSRulerMarker*)marker atLocation:(CGFloat)location;
- (CGFloat)rulerView:(NSRulerView*)ruler willMoveMarker:(NSRulerMarker*)marker toLocation:(CGFloat)location;
- (void)rulerView:(NSRulerView*)ruler didMoveMarker:(NSRulerMarker*)marker;
- (void)rulerView:(NSRulerView*)ruler didRemoveMarker:(NSRulerMarker*)marker;
- (void)rulerView:(NSRulerView*)ruler didAddMarker:(NSRulerMarker*)marker;
- (void)rulerView:(NSRulerView*)ruler handleMouseDown:(NSEvent*)event;
- (void)rulerView:(NSRulerView*)ruler willSetClientView:(NSView*)newClient;
@interface NSSavePanel : NSPanel
// Class Members
+ (NSSavePanel*)savePanel;
// Instance Members
- (BOOL)allowsOtherFileTypes;
- (BOOL)canCreateDirectories;
- (BOOL)canSelectHiddenExtension;
- (BOOL)isExpanded;
- (BOOL)isExtensionHidden;
- (BOOL)treatsFilePackagesAsDirectories;
- (IBAction)selectText:(id)sender;
- (NSArray*)allowedFileTypes;
- (NSString*)directory;
- (NSString*)filename;
- (NSString*)message;
- (NSString*)nameFieldLabel;
- (NSString*)prompt;
- (NSString*)requiredFileType;
- (NSString*)title;
- (NSURL*)URL;
- (NSView*)accessoryView;
- (id)delegate;
- (void)setAccessoryView:(NSView*)view;
- (void)setAllowedFileTypes:(NSArray*)types;
- (void)setAllowsOtherFileTypes:(BOOL)flag;
- (void)setCanCreateDirectories:(BOOL)flag;
- (void)setCanSelectHiddenExtension:(BOOL)flag;
- (void)setDelegate:(id)delegate;
- (void)setDirectory:(NSString*)path;
- (void)setExtensionHidden:(BOOL)flag;
- (void)setMessage:(NSString*)message;
- (void)setNameFieldLabel:(NSString*)label;
- (void)setPrompt:(NSString*)prompt;
- (void)setRequiredFileType:(NSString*)type;
- (void)setTitle:(NSString*)title;
- (void)setTreatsFilePackagesAsDirectories:(BOOL)flag;
- (void)validateVisibleColumns;
@interface NSSavePanel (NSSavePanelRuntime)
// Instance Members
- (IBAction)cancel:(id)sender;
- (IBAction)ok:(id)sender;
- (NSInteger)runModal;
- (NSInteger)runModalForDirectory:(NSString*)path file:(NSString*)name;
- (void)beginSheetForDirectory:(NSString*)path file:(NSString*)name modalForWindow:(NSWindow*)docWindow modalDelegate:(id)delegate didEndSelector:(SEL)didEndSelector contextInfo:(void*)contextInfo;
@interface NSObject (NSSavePanelDelegate)
// Instance Members
- (BOOL)panel:(id)sender shouldShowFilename:(NSString*)filename;
- (BOOL)panel:(id)sender isValidFilename:(NSString*)filename;
- (NSComparisonResult)panel:(id)sender compareFilename:(NSString*)name1 with:(NSString*)name2 caseSensitive:(BOOL)caseSensitive;
- (NSString*)panel:(id)sender userEnteredFilename:(NSString*)filename confirmed:(BOOL)okFlag;
- (void)panel:(id)sender willExpand:(BOOL)expanding;
- (void)panel:(id)sender directoryDidChange:(NSString*)path;
- (void)panelSelectionDidChange:(id)sender;
@interface NSScreen : NSObject
// Class Members
+ (NSArray*)screens;
+ (NSScreen*)deepestScreen;
+ (NSScreen*)mainScreen;
// Instance Members
- (CGFloat)userSpaceScaleFactor;
- (NSDictionary*)deviceDescription;
- (NSRect)frame;
- (NSRect)visibleFrame;
- (NSWindowDepth)depth;
- (const NSWindowDepth*)supportedWindowDepths;
@interface NSScroller : NSControl
// Class Members
+ (CGFloat)scrollerWidth;
+ (CGFloat)scrollerWidthForControlSize:(NSControlSize)controlSize;
// Instance Members
- (CGFloat)knobProportion;
- (NSControlSize)controlSize;
- (NSControlTint)controlTint;
- (NSRect)rectForPart:(NSScrollerPart)partCode;
- (NSScrollArrowPosition)arrowsPosition;
- (NSScrollerPart)hitPart;
- (NSScrollerPart)testPart:(NSPoint)thePoint;
- (NSUsableScrollerParts)usableParts;
- (void)checkSpaceForParts;
- (void)drawArrow:(NSScrollerArrow)whichArrow highlight:(BOOL)flag;
- (void)drawKnob;
- (void)drawKnobSlotInRect:(NSRect)slotRect highlight:(BOOL)flag;
- (void)drawParts;
- (void)highlight:(BOOL)flag;
- (void)setArrowsPosition:(NSScrollArrowPosition)where;
- (void)setControlSize:(NSControlSize)controlSize;
- (void)setControlTint:(NSControlTint)controlTint;
- (void)setKnobProportion:(CGFloat)proportion;
- (void)trackKnob:(NSEvent*)theEvent;
- (void)trackScrollButtons:(NSEvent*)theEvent;
@interface NSScroller (NSDeprecated)
// Instance Members
- (void)setFloatValue:(float)aFloat knobProportion:(CGFloat)proportion;
@interface NSScrollView : NSView
// Class Members
+ (NSSize)contentSizeForFrameSize:(NSSize)fSize hasHorizontalScroller:(BOOL)hFlag hasVerticalScroller:(BOOL)vFlag borderType:(NSBorderType)aType;
+ (NSSize)frameSizeForContentSize:(NSSize)cSize hasHorizontalScroller:(BOOL)hFlag hasVerticalScroller:(BOOL)vFlag borderType:(NSBorderType)aType;
// Instance Members
- (BOOL)autohidesScrollers;
- (BOOL)drawsBackground;
- (BOOL)hasHorizontalScroller;
- (BOOL)hasVerticalScroller;
- (BOOL)scrollsDynamically;
- (CGFloat)horizontalLineScroll;
- (CGFloat)horizontalPageScroll;
- (CGFloat)lineScroll;
- (CGFloat)pageScroll;
- (CGFloat)verticalLineScroll;
- (CGFloat)verticalPageScroll;
- (NSBorderType)borderType;
- (NSClipView*)contentView;
- (NSColor*)backgroundColor;
- (NSCursor*)documentCursor;
- (NSRect)documentVisibleRect;
- (NSScroller*)horizontalScroller;
- (NSScroller*)verticalScroller;
- (NSSize)contentSize;
- (id)documentView;
- (void)reflectScrolledClipView:(NSClipView*)cView;
- (void)scrollWheel:(NSEvent*)theEvent;
- (void)setAutohidesScrollers:(BOOL)flag;
- (void)setBackgroundColor:(NSColor*)color;
- (void)setBorderType:(NSBorderType)aType;
- (void)setContentView:(NSClipView*)contentView;
- (void)setDocumentCursor:(NSCursor*)anObj;
- (void)setDocumentView:(NSView*)aView;
- (void)setDrawsBackground:(BOOL)flag;
- (void)setHasHorizontalScroller:(BOOL)flag;
- (void)setHasVerticalScroller:(BOOL)flag;
- (void)setHorizontalLineScroll:(CGFloat)value;
- (void)setHorizontalPageScroll:(CGFloat)value;
- (void)setHorizontalScroller:(NSScroller*)anObject;
- (void)setLineScroll:(CGFloat)value;
- (void)setPageScroll:(CGFloat)value;
- (void)setScrollsDynamically:(BOOL)flag;
- (void)setVerticalLineScroll:(CGFloat)value;
- (void)setVerticalPageScroll:(CGFloat)value;
- (void)setVerticalScroller:(NSScroller*)anObject;
- (void)tile;
@interface NSScrollView (NSRulerSupport)
// Class Members
+ (Class)rulerViewClass;
+ (void)setRulerViewClass:(Class)rulerViewClass;
// Instance Members
- (BOOL)hasHorizontalRuler;
- (BOOL)hasVerticalRuler;
- (BOOL)rulersVisible;
- (NSRulerView*)horizontalRulerView;
- (NSRulerView*)verticalRulerView;
- (void)setHasHorizontalRuler:(BOOL)flag;
- (void)setHasVerticalRuler:(BOOL)flag;
- (void)setHorizontalRulerView:(NSRulerView*)ruler;
- (void)setRulersVisible:(BOOL)flag;
- (void)setVerticalRulerView:(NSRulerView*)ruler;
@interface NSSearchField : NSTextField
// Instance Members
- (NSArray*)recentSearches;
- (NSString*)recentsAutosaveName;
- (void)setRecentSearches:(NSArray*)searches;
- (void)setRecentsAutosaveName:(NSString*)string;
@interface NSSearchFieldCell : NSTextFieldCell
// Instance Members
- (BOOL)sendsSearchStringImmediately;
- (BOOL)sendsWholeSearchString;
- (NSArray*)recentSearches;
- (NSButtonCell*)cancelButtonCell;
- (NSButtonCell*)searchButtonCell;
- (NSInteger)maximumRecents;
- (NSMenu*)searchMenuTemplate;
- (NSRect)cancelButtonRectForBounds:(NSRect)rect;
- (NSRect)searchButtonRectForBounds:(NSRect)rect;
- (NSRect)searchTextRectForBounds:(NSRect)rect;
- (NSString*)recentsAutosaveName;
- (void)resetCancelButtonCell;
- (void)resetSearchButtonCell;
- (void)setCancelButtonCell:(NSButtonCell*)cell;
- (void)setMaximumRecents:(NSInteger)maxRecents;
- (void)setRecentSearches:(NSArray*)searches;
- (void)setRecentsAutosaveName:(NSString*)string;
- (void)setSearchButtonCell:(NSButtonCell*)cell;
- (void)setSearchMenuTemplate:(NSMenu*)menu;
- (void)setSendsSearchStringImmediately:(BOOL)flag;
- (void)setSendsWholeSearchString:(BOOL)flag;
@interface NSSecureTextField : NSTextField
@interface NSSecureTextFieldCell : NSTextFieldCell
// Instance Members
- (BOOL)echosBullets;
- (void)setEchosBullets:(BOOL)flag;
@interface NSSegmentedCell : NSActionCell
// Instance Members
- (BOOL)isEnabledForSegment:(NSInteger)segment;
- (BOOL)isSelectedForSegment:(NSInteger)segment;
- (BOOL)selectSegmentWithTag:(NSInteger)tag;
- (CGFloat)widthForSegment:(NSInteger)segment;
- (NSImage*)imageForSegment:(NSInteger)segment;
- (NSImageScaling)imageScalingForSegment:(NSInteger)segment;
- (NSInteger)segmentCount;
- (NSInteger)selectedSegment;
- (NSInteger)tagForSegment:(NSInteger)segment;
- (NSMenu*)menuForSegment:(NSInteger)segment;
- (NSSegmentStyle)segmentStyle;
- (NSSegmentSwitchTracking)trackingMode;
- (NSString*)labelForSegment:(NSInteger)segment;
- (NSString*)toolTipForSegment:(NSInteger)segment;
- (void)drawSegment:(NSInteger)segment inFrame:(NSRect)frame withView:(NSView*)controlView;
- (void)makeNextSegmentKey;
- (void)makePreviousSegmentKey;
- (void)setEnabled:(BOOL)enabled forSegment:(NSInteger)segment;
- (void)setImage:(NSImage*)image forSegment:(NSInteger)segment;
- (void)setImageScaling:(NSImageScaling)scaling forSegment:(NSInteger)segment;
- (void)setLabel:(NSString*)label forSegment:(NSInteger)segment;
- (void)setMenu:(NSMenu*)menu forSegment:(NSInteger)segment;
- (void)setSegmentCount:(NSInteger)count;
- (void)setSegmentStyle:(NSSegmentStyle)segmentStyle;
- (void)setSelected:(BOOL)selected forSegment:(NSInteger)segment;
- (void)setSelectedSegment:(NSInteger)selectedSegment;
- (void)setTag:(NSInteger)tag forSegment:(NSInteger)segment;
- (void)setToolTip:(NSString*)toolTip forSegment:(NSInteger)segment;
- (void)setTrackingMode:(NSSegmentSwitchTracking)trackingMode;
- (void)setWidth:(CGFloat)width forSegment:(NSInteger)segment;
@interface NSSegmentedCell (NSSegmentBackgroundStyle)
// Instance Members
- (NSBackgroundStyle)interiorBackgroundStyleForSegment:(NSInteger)segment;
@interface NSSegmentedControl : NSControl
// Instance Members
- (BOOL)isEnabledForSegment:(NSInteger)segment;
- (BOOL)isSelectedForSegment:(NSInteger)segment;
- (BOOL)selectSegmentWithTag:(NSInteger)tag;
- (CGFloat)widthForSegment:(NSInteger)segment;
- (NSImage*)imageForSegment:(NSInteger)segment;
- (NSImageScaling)imageScalingForSegment:(NSInteger)segment;
- (NSInteger)segmentCount;
- (NSInteger)selectedSegment;
- (NSMenu*)menuForSegment:(NSInteger)segment;
- (NSSegmentStyle)segmentStyle;
- (NSString*)labelForSegment:(NSInteger)segment;
- (void)setEnabled:(BOOL)enabled forSegment:(NSInteger)segment;
- (void)setImage:(NSImage*)image forSegment:(NSInteger)segment;
- (void)setImageScaling:(NSImageScaling)scaling forSegment:(NSInteger)segment;
- (void)setLabel:(NSString*)label forSegment:(NSInteger)segment;
- (void)setMenu:(NSMenu*)menu forSegment:(NSInteger)segment;
- (void)setSegmentCount:(NSInteger)count;
- (void)setSegmentStyle:(NSSegmentStyle)segmentStyle;
- (void)setSelected:(BOOL)selected forSegment:(NSInteger)segment;
- (void)setSelectedSegment:(NSInteger)selectedSegment;
- (void)setWidth:(CGFloat)width forSegment:(NSInteger)segment;
@interface NSShadow : NSObject
// Instance Members
- (CGFloat)shadowBlurRadius;
- (NSColor*)shadowColor;
- (NSSize)shadowOffset;
- (id)init;
- (void)set;
- (void)setShadowBlurRadius:(CGFloat)val;
- (void)setShadowColor:(NSColor*)color;
- (void)setShadowOffset:(NSSize)offset;
@interface NSSimpleHorizontalTypesetter : NSTypesetter
// Class Members
+ (id)sharedInstance;
// Instance Members
- (NSLayoutManager*)currentLayoutManager;
- (NSLayoutStatus)layoutControlGlyphForLineFragment:(NSRect)lineFrag;
- (NSLayoutStatus)layoutControlGlyphForLineFragment:(NSRect)lineFrag;
- (NSLayoutStatus)layoutGlyphsInHorizontalLineFragment:(NSRect*)lineFragmentRect baseline:(float*)baseline;
- (NSParagraphStyle*)currentParagraphStyle;
- (NSTextContainer*)currentContainer;
- (NSTextStorage*)currentTextStorage;
- (NSTypesetterGlyphInfo*)baseOfTypesetterGlyphInfo;
- (NSUInteger)capacityOfTypesetterGlyphInfo;
- (NSUInteger)firstGlyphIndexOfCurrentLineFragment;
- (NSUInteger)glyphIndexToBreakLineByHyphenatingWordAtIndex:(NSUInteger)charIndex;
- (NSUInteger)glyphIndexToBreakLineByWordWrappingAtIndex:(NSUInteger)charIndex;
- (NSUInteger)growGlyphCaches:(NSUInteger)desiredCapacity fillGlyphInfo:(BOOL)fillGlyphInfo;
- (NSUInteger)sizeOfTypesetterGlyphInfo;
- (void)breakLineAtIndex:(NSUInteger)location;
- (void)clearAttributesCache;
- (void)clearGlyphCache;
- (void)fillAttributesCache;
- (void)fullJustifyLineAtGlyphIndex:(NSUInteger)glyphIndexForLineBreak;
- (void)insertGlyph:(NSGlyph)glyph atGlyphIndex:(NSUInteger)glyphIndex characterIndex:(NSUInteger)charIndex;
- (void)layoutGlyphsInLayoutManager:(NSLayoutManager*)layoutManager startingAtGlyphIndex:(NSUInteger)startGlyphIndex maxNumberOfLineFragments:(NSUInteger)maxNumLines nextGlyphIndex:(NSUInteger*)nextGlyph;
- (void)layoutTab;
- (void)layoutTab;
- (void)updateCurGlyphOffset;
@interface NSSimpleHorizontalTypesetter (NSTypesetterSubclassExtensions)
// Instance Members
- (void)typesetterLaidOneGlyph:(NSTypesetterGlyphInfo*)gl;
- (void)willSetLineFragmentRect:(NSRect*)aRect forGlyphRange:(NSRange)aRange usedRect:(NSRect*)bRect;
@interface NSSlider : NSControl
// Instance Members
- (BOOL)acceptsFirstMouse:(NSEvent*)theEvent;
- (CGFloat)knobThickness;
- (NSColor*)titleColor;
- (NSFont*)titleFont;
- (NSImage*)image;
- (NSInteger)isVertical;
- (NSString*)title;
- (double)altIncrementValue;
- (double)maxValue;
- (double)minValue;
- (id)titleCell;
- (void)setAltIncrementValue:(double)incValue;
- (void)setImage:(NSImage*)backgroundImage;
- (void)setKnobThickness:(CGFloat)aFloat;
- (void)setMaxValue:(double)aDouble;
- (void)setMinValue:(double)aDouble;
- (void)setTitle:(NSString*)aString;
- (void)setTitleCell:(NSCell*)aCell;
- (void)setTitleColor:(NSColor*)newColor;
- (void)setTitleFont:(NSFont*)fontObj;
@interface NSSlider (NSTickMarkSupport)
// Instance Members
- (BOOL)allowsTickMarkValuesOnly;
- (NSInteger)indexOfTickMarkAtPoint:(NSPoint)point;
- (NSInteger)numberOfTickMarks;
- (NSRect)rectOfTickMarkAtIndex:(NSInteger)index;
- (NSTickMarkPosition)tickMarkPosition;
- (double)closestTickMarkValueToValue:(double)value;
- (double)tickMarkValueAtIndex:(NSInteger)index;
- (void)setAllowsTickMarkValuesOnly:(BOOL)yorn;
- (void)setNumberOfTickMarks:(NSInteger)count;
- (void)setTickMarkPosition:(NSTickMarkPosition)position;
@interface NSSliderCell : NSActionCell
// Class Members
+ (BOOL)prefersTrackingUntilMouseUp;
// Instance Members
- (CGFloat)knobThickness;
- (NSColor*)titleColor;
- (NSFont*)titleFont;
- (NSInteger)isVertical;
- (NSRect)knobRectFlipped:(BOOL)flipped;
- (NSRect)trackRect;
- (NSSliderType)sliderType;
- (NSString*)title;
- (double)altIncrementValue;
- (double)maxValue;
- (double)minValue;
- (id)titleCell;
- (void)drawBarInside:(NSRect)aRect flipped:(BOOL)flipped;
- (void)drawKnob;
- (void)drawKnob:(NSRect)knobRect;
- (void)setAltIncrementValue:(double)incValue;
- (void)setKnobThickness:(CGFloat)aFloat;
- (void)setMaxValue:(double)aDouble;
- (void)setMinValue:(double)aDouble;
- (void)setSliderType:(NSSliderType)sliderType;
- (void)setTitle:(NSString*)aString;
- (void)setTitleCell:(NSCell*)aCell;
- (void)setTitleColor:(NSColor*)newColor;
- (void)setTitleFont:(NSFont*)fontObj;
@interface NSSliderCell (NSTickMarkSupport)
// Instance Members
- (BOOL)allowsTickMarkValuesOnly;
- (NSInteger)indexOfTickMarkAtPoint:(NSPoint)point;
- (NSInteger)numberOfTickMarks;
- (NSRect)rectOfTickMarkAtIndex:(NSInteger)index;
- (NSTickMarkPosition)tickMarkPosition;
- (double)closestTickMarkValueToValue:(double)value;
- (double)tickMarkValueAtIndex:(NSInteger)index;
- (void)setAllowsTickMarkValuesOnly:(BOOL)yorn;
- (void)setNumberOfTickMarks:(NSInteger)count;
- (void)setTickMarkPosition:(NSTickMarkPosition)position;
@interface NSSound : NSObject
// Class Members
+ (BOOL)canInitWithPasteboard:(NSPasteboard*)pasteboard;
+ (NSArray*)soundUnfilteredTypes;
+ (id)soundNamed:(NSString*)name;
// Instance Members
- (BOOL)isPlaying;
- (BOOL)loops;
- (BOOL)pause;
- (BOOL)play;
- (BOOL)resume;
- (BOOL)setName:(NSString*)string;
- (BOOL)stop;
- (NSArray*)channelMapping;
- (NSString*)name;
- (NSString*)playbackDeviceIdentifier;
- (NSTimeInterval)currentTime;
- (NSTimeInterval)duration;
- (float)volume;
- (id)delegate;
- (id)initWithContentsOfFile:(NSString*)path byReference:(BOOL)byRef;
- (id)initWithContentsOfURL:(NSURL*)url byReference:(BOOL)byRef;
- (id)initWithData:(NSData*)data;
- (id)initWithPasteboard:(NSPasteboard*)pasteboard;
- (void)setChannelMapping:(NSArray*)channelMapping;
- (void)setCurrentTime:(NSTimeInterval)seconds;
- (void)setDelegate:(id)aDelegate;
- (void)setLoops:(BOOL)val;
- (void)setPlaybackDeviceIdentifier:(NSString*)deviceUID;
- (void)setVolume:(float)volume;
- (void)writeToPasteboard:(NSPasteboard*)pasteboard;
@interface NSSound (NSDeprecated)
// Class Members
+ (NSArray*)soundUnfilteredFileTypes;
+ (NSArray*)soundUnfilteredPasteboardTypes;
@interface NSObject (NSSoundDelegateMethods)
// Instance Members
- (void)sound:(NSSound*)sound didFinishPlaying:(BOOL)aBool;
@interface NSBundle (NSBundleSoundExtensions)
// Instance Members
- (NSString*)pathForSoundResource:(NSString*)name;
@interface NSSpeechRecognizer : NSObject
// Instance Members
- (BOOL)blocksOtherRecognizers;
- (BOOL)listensInForegroundOnly;
- (NSArray*)commands;
- (NSString*)displayedCommandsTitle;
- (id)delegate;
- (id)init;
- (void)setBlocksOtherRecognizers:(BOOL)flag;
- (void)setCommands:(NSArray*)commands;
- (void)setDelegate:(id)anObject;
- (void)setDisplayedCommandsTitle:(NSString*)title;
- (void)setListensInForegroundOnly:(BOOL)flag;
- (void)startListening;
- (void)stopListening;
@interface NSObject (NSSpeechRecognizerDelegate)
// Instance Members
- (void)speechRecognizer:(NSSpeechRecognizer*)sender didRecognizeCommand:(id)command;
@interface NSSpeechSynthesizer : NSObject
// Class Members
+ (BOOL)isAnyApplicationSpeaking;
+ (NSArray*)availableVoices;
+ (NSDictionary*)attributesForVoice:(NSString*)voice;
+ (NSString*)defaultVoice;
// Instance Members
- (BOOL)isSpeaking;
- (BOOL)setObject:(id)object forProperty:(NSString*)property error:(NSError**)outError;
- (BOOL)setVoice:(NSString*)voice;
- (BOOL)startSpeakingString:(NSString*)string toURL:(NSURL*)url;
- (BOOL)startSpeakingString:(NSString*)string;
- (BOOL)usesFeedbackWindow;
- (NSString*)phonemesFromText:(NSString*)text;
- (NSString*)voice;
- (float)rate;
- (float)volume;
- (id)delegate;
- (id)initWithVoice:(NSString*)voice;
- (id)objectForProperty:(NSString*)property error:(NSError**)outError;
- (void)addSpeechDictionary:(NSDictionary*)speechDictionary;
- (void)continueSpeaking;
- (void)pauseSpeakingAtBoundary:(NSSpeechBoundary)boundary;
- (void)setDelegate:(id)anObject;
- (void)setRate:(float)rate;
- (void)setUsesFeedbackWindow:(BOOL)flag;
- (void)setVolume:(float)volume;
- (void)stopSpeaking;
- (void)stopSpeakingAtBoundary:(NSSpeechBoundary)boundary;
@interface NSObject (NSSpeechSynthesizerDelegate)
// Instance Members
- (void)speechSynthesizer:(NSSpeechSynthesizer*)sender didFinishSpeaking:(BOOL)finishedSpeaking;
- (void)speechSynthesizer:(NSSpeechSynthesizer*)sender willSpeakWord:(NSRange)characterRange ofString:(NSString*)string;
- (void)speechSynthesizer:(NSSpeechSynthesizer*)sender willSpeakPhoneme:(short)phonemeOpcode;
- (void)speechSynthesizer:(NSSpeechSynthesizer*)sender didEncounterErrorAtIndex:(NSUInteger)characterIndex ofString:(NSString*)string message:(NSString*)message;
- (void)speechSynthesizer:(NSSpeechSynthesizer*)sender didEncounterSyncMessage:(NSString*)message;
@interface NSSpellChecker : NSObject
// Class Members
+ (BOOL)sharedSpellCheckerExists;
+ (NSInteger)uniqueSpellDocumentTag;
+ (NSSpellChecker*)sharedSpellChecker;
// Instance Members
- (BOOL)hasLearnedWord:(NSString*)word;
- (BOOL)setLanguage:(NSString*)language;
- (NSArray*)availableLanguages;
- (NSArray*)completionsForPartialWordRange:(NSRange)range inString:(NSString*)string language:(NSString*)language inSpellDocumentWithTag:(NSInteger)tag;
- (NSArray*)guessesForWord:(NSString*)word;
- (NSArray*)ignoredWordsInSpellDocumentWithTag:(NSInteger)tag;
- (NSInteger)countWordsInString:(NSString*)stringToCount language:(NSString*)language;
- (NSPanel*)spellingPanel;
- (NSRange)checkGrammarOfString:(NSString*)stringToCheck startingAt:(NSInteger)startingOffset language:(NSString*)language wrap:(BOOL)wrapFlag inSpellDocumentWithTag:(NSInteger)tag details:(NSArray**)details;
- (NSRange)checkSpellingOfString:(NSString*)stringToCheck startingAt:(NSInteger)startingOffset;
- (NSRange)checkSpellingOfString:(NSString*)stringToCheck startingAt:(NSInteger)startingOffset language:(NSString*)language wrap:(BOOL)wrapFlag inSpellDocumentWithTag:(NSInteger)tag wordCount:(NSInteger*)wordCount;
- (NSString*)language;
- (NSView*)accessoryView;
- (void)closeSpellDocumentWithTag:(NSInteger)tag;
- (void)ignoreWord:(NSString*)wordToIgnore inSpellDocumentWithTag:(NSInteger)tag;
- (void)learnWord:(NSString*)word;
- (void)setAccessoryView:(NSView*)aView;
- (void)setIgnoredWords:(NSArray*)words inSpellDocumentWithTag:(NSInteger)tag;
- (void)setWordFieldStringValue:(NSString*)aString;
- (void)unlearnWord:(NSString*)word;
- (void)updateSpellingPanelWithGrammarString:(NSString*)string detail:(NSDictionary*)detail;
- (void)updateSpellingPanelWithMisspelledWord:(NSString*)word;
@interface NSSpellChecker (NSDeprecated)
// Instance Members
- (void)forgetWord:(NSString*)word;
@interface NSSplitView : NSView
// Instance Members
- (BOOL)isPaneSplitter;
- (BOOL)isSubviewCollapsed:(NSView*)subview;
- (BOOL)isVertical;
- (CGFloat)dividerThickness;
- (CGFloat)maxPossiblePositionOfDividerAtIndex:(NSInteger)dividerIndex;
- (CGFloat)minPossiblePositionOfDividerAtIndex:(NSInteger)dividerIndex;
- (NSColor*)dividerColor;
- (NSSplitViewDividerStyle)dividerStyle;
- (NSString*)autosaveName;
- (id)delegate;
- (void)adjustSubviews;
- (void)drawDividerInRect:(NSRect)rect;
- (void)setAutosaveName:(NSString*)autosaveName;
- (void)setDelegate:(id)delegate;
- (void)setDividerStyle:(NSSplitViewDividerStyle)dividerStyle;
- (void)setIsPaneSplitter:(BOOL)flag;
- (void)setPosition:(CGFloat)position ofDividerAtIndex:(NSInteger)dividerIndex;
- (void)setVertical:(BOOL)flag;
@interface NSObject (NSSplitViewDelegate)
// Instance Members
- (BOOL)splitView:(NSSplitView*)splitView canCollapseSubview:(NSView*)subview;
- (BOOL)splitView:(NSSplitView*)splitView shouldCollapseSubview:(NSView*)subview forDoubleClickOnDividerAtIndex:(NSInteger)dividerIndex;
- (BOOL)splitView:(NSSplitView*)splitView shouldHideDividerAtIndex:(NSInteger)dividerIndex;
- (CGFloat)splitView:(NSSplitView*)splitView constrainMaxCoordinate:(CGFloat)proposedMaximumPosition ofSubviewAt:(NSInteger)dividerIndex;
- (CGFloat)splitView:(NSSplitView*)splitView constrainMinCoordinate:(CGFloat)proposedMinimumPosition ofSubviewAt:(NSInteger)dividerIndex;
- (CGFloat)splitView:(NSSplitView*)splitView constrainSplitPosition:(CGFloat)proposedPosition ofSubviewAt:(NSInteger)dividerIndex;
- (NSRect)splitView:(NSSplitView*)splitView additionalEffectiveRectOfDividerAtIndex:(NSInteger)dividerIndex;
- (NSRect)splitView:(NSSplitView*)splitView effectiveRect:(NSRect)proposedEffectiveRect forDrawnRect:(NSRect)drawnRect ofDividerAtIndex:(NSInteger)dividerIndex;
- (void)splitView:(NSSplitView*)splitView resizeSubviewsWithOldSize:(NSSize)oldSize;
- (void)splitViewDidResizeSubviews:(NSNotification*)notification;
- (void)splitViewWillResizeSubviews:(NSNotification*)notification;
@interface NSStatusBar : NSObject
// Class Members
+ (NSStatusBar*)systemStatusBar;
// Instance Members
- (BOOL)isVertical;
- (CGFloat)thickness;
- (NSStatusItem*)statusItemWithLength:(CGFloat)length;
- (void)removeStatusItem:(NSStatusItem*)item;
@interface NSStatusItem : NSObject
// Instance Members
- (CGFloat)length;
- (NSStatusBar*):(statusBar;)
- (void)setLength:(CGFloat)length;
@interface NSStatusItem (NSStatusItemCommon)
// Instance Members
- (BOOL)highlightMode;
- (BOOL)isEnabled;
- (NSAttributedString*):(attributedTitle;)
- (NSImage*):(image;)
- (NSImage*)alternateImage;
- (NSInteger)sendActionOn:(NSInteger)mask;
- (NSMenu*):(menu;)
- (NSString*):(title;)
- (NSString*):(toolTip;)
- (SEL)action;
- (SEL)doubleAction;
- (id)target;
- (void)drawStatusBarBackgroundInRect:(NSRect)rect withHighlight:(BOOL)highlight;
- (void)popUpStatusItemMenu:(NSMenu*)menu;
- (void)setAction:(SEL)action;
- (void)setAlternateImage:(NSImage*)image;
- (void)setAttributedTitle:(NSAttributedString*)title;
- (void)setDoubleAction:(SEL)action;
- (void)setEnabled:(BOOL)enabled;
- (void)setHighlightMode:(BOOL)highlightMode;
- (void)setImage:(NSImage*)image;
- (void)setMenu:(NSMenu*)menu;
- (void)setTarget:(id)target;
- (void)setTitle:(NSString*)title;
- (void)setToolTip:(NSString*)toolTip;
@interface NSStatusItem (NSStatusItemView)
// Instance Members
- (NSView*):(view;)
- (void)setView:(NSView*)view;
@interface NSStepper : NSControl
// Instance Members
- (BOOL)autorepeat;
- (BOOL)valueWraps;
- (double)increment;
- (double)maxValue;
- (double)minValue;
- (void)setAutorepeat:(BOOL)autorepeat;
- (void)setIncrement:(double)increment;
- (void)setMaxValue:(double)maxValue;
- (void)setMinValue:(double)minValue;
- (void)setValueWraps:(BOOL)valueWraps;
@interface NSStepperCell : NSActionCell
// Instance Members
- (BOOL)autorepeat;
- (BOOL)valueWraps;
- (double)increment;
- (double)maxValue;
- (double)minValue;
- (void)setAutorepeat:(BOOL)autorepeat;
- (void)setIncrement:(double)increment;
- (void)setMaxValue:(double)maxValue;
- (void)setMinValue:(double)minValue;
- (void)setValueWraps:(BOOL)valueWraps;
@interface NSString (NSStringDrawing)
// Instance Members
- (NSSize)sizeWithAttributes:(NSDictionary*)attrs;
- (void)drawAtPoint:(NSPoint)point withAttributes:(NSDictionary*)attrs;
- (void)drawInRect:(NSRect)rect withAttributes:(NSDictionary*)attrs;
@interface NSAttributedString (NSStringDrawing)
// Instance Members
- (NSSize)size;
- (void)drawAtPoint:(NSPoint)point;
- (void)drawInRect:(NSRect)rect;
@interface NSString (NSExtendedStringDrawing)
// Instance Members
- (NSRect)boundingRectWithSize:(NSSize)size options:(NSStringDrawingOptions)options attributes:(NSDictionary*)attributes;
- (void)drawWithRect:(NSRect)rect options:(NSStringDrawingOptions)options attributes:(NSDictionary*)attributes;
@interface NSAttributedString (NSExtendedStringDrawing)
// Instance Members
- (NSRect)boundingRectWithSize:(NSSize)size options:(NSStringDrawingOptions)options;
- (void)drawWithRect:(NSRect)rect options:(NSStringDrawingOptions)options;
@interface NSTableColumn : NSObject
// Instance Members
- (BOOL)isEditable;
- (BOOL)isHidden;
- (BOOL)isResizable;
- (CGFloat)maxWidth;
- (CGFloat)minWidth;
- (CGFloat)width;
- (NSSortDescriptor*)sortDescriptorPrototype;
- (NSString*)headerToolTip;
- (NSTableView*)tableView;
- (NSUInteger)resizingMask;
- (id)dataCell;
- (id)dataCellForRow:(NSInteger)row;
- (id)headerCell;
- (id)identifier;
- (id)initWithIdentifier:(id)identifier;
- (void)setDataCell:(NSCell*)cell;
- (void)setEditable:(BOOL)flag;
- (void)setHeaderCell:(NSCell*)cell;
- (void)setHeaderToolTip:(NSString*)string;
- (void)setHidden:(BOOL)hidden;
- (void)setIdentifier:(id)identifier;
- (void)setMaxWidth:(CGFloat)maxWidth;
- (void)setMinWidth:(CGFloat)minWidth;
- (void)setResizable:(BOOL)flag;
- (void)setResizingMask:(NSUInteger)resizingMask;
- (void)setSortDescriptorPrototype:(NSSortDescriptor*)sortDescriptor;
- (void)setTableView:(NSTableView*)tableView;
- (void)setWidth:(CGFloat)width;
- (void)sizeToFit;
@interface NSTableHeaderCell : NSTextFieldCell
// Instance Members
- (NSRect)sortIndicatorRectForBounds:(NSRect)theRect;
- (void)drawSortIndicatorWithFrame:(NSRect)cellFrame inView:(NSView*)controlView ascending:(BOOL)ascending priority:(NSInteger)priority;
@interface NSTableHeaderView : NSView
// Instance Members
- (CGFloat)draggedDistance;
- (NSInteger)columnAtPoint:(NSPoint)point;
- (NSInteger)draggedColumn;
- (NSInteger)resizedColumn;
- (NSRect)headerRectOfColumn:(NSInteger)column;
- (NSTableView*)tableView;
- (void)setTableView:(NSTableView*)tableView;
@interface NSTableView : NSControl
// Instance Members
- (BOOL)allowsColumnReordering;
- (BOOL)allowsColumnResizing;
- (BOOL)allowsColumnSelection;
- (BOOL)allowsEmptySelection;
- (BOOL)allowsMultipleSelection;
- (BOOL)allowsTypeSelect;
- (BOOL)autosaveTableColumns;
- (BOOL)canDragRowsWithIndexes:(NSIndexSet*)rowIndexes atPoint:(NSPoint)mouseDownPoint;
- (BOOL)isColumnSelected:(NSInteger)column;
- (BOOL)isRowSelected:(NSInteger)row;
- (BOOL)textShouldBeginEditing:(NSText*)textObject;
- (BOOL)textShouldEndEditing:(NSText*)textObject;
- (BOOL)usesAlternatingRowBackgroundColors;
- (BOOL)verticalMotionCanBeginDrag;
- (CGFloat)rowHeight;
- (NSArray*)sortDescriptors;
- (NSArray*)tableColumns;
- (NSCell*)preparedCellAtColumn:(NSInteger)column row:(NSInteger)row;
- (NSColor*)backgroundColor;
- (NSColor*)gridColor;
- (NSImage*)dragImageForRowsWithIndexes:(NSIndexSet*)dragRows tableColumns:(NSArray*)tableColumns event:(NSEvent*)dragEvent offset:(NSPointPointer)dragImageOffset;
- (NSImage*)indicatorImageInTableColumn:(NSTableColumn*)tc;
- (NSIndexSet*)columnIndexesInRect:(NSRect)rect;
- (NSIndexSet*)selectedColumnIndexes;
- (NSIndexSet*)selectedRowIndexes;
- (NSInteger)clickedColumn;
- (NSInteger)clickedRow;
- (NSInteger)columnAtPoint:(NSPoint)point;
- (NSInteger)columnWithIdentifier:(id)identifier;
- (NSInteger)editedColumn;
- (NSInteger)editedRow;
- (NSInteger)numberOfColumns;
- (NSInteger)numberOfRows;
- (NSInteger)numberOfSelectedColumns;
- (NSInteger)numberOfSelectedRows;
- (NSInteger)rowAtPoint:(NSPoint)point;
- (NSInteger)selectedColumn;
- (NSInteger)selectedRow;
- (NSRange)rowsInRect:(NSRect)rect;
- (NSRect)frameOfCellAtColumn:(NSInteger)column row:(NSInteger)row;
- (NSRect)rectOfColumn:(NSInteger)column;
- (NSRect)rectOfRow:(NSInteger)row;
- (NSSize)intercellSpacing;
- (NSString*)autosaveName;
- (NSTableColumn*)highlightedTableColumn;
- (NSTableColumn*)tableColumnWithIdentifier:(id)identifier;
- (NSTableHeaderView*)headerView;
- (NSTableViewColumnAutoresizingStyle)columnAutoresizingStyle;
- (NSTableViewSelectionHighlightStyle)selectionHighlightStyle;
- (NSUInteger)gridStyleMask;
- (NSView*)cornerView;
- (SEL)doubleAction;
- (id)dataSource;
- (id)delegate;
- (void)addTableColumn:(NSTableColumn*)column;
- (void)deselectAll:(id)sender;
- (void)deselectColumn:(NSInteger)column;
- (void)deselectRow:(NSInteger)row;
- (void)drawBackgroundInClipRect:(NSRect)clipRect;
- (void)drawGridInClipRect:(NSRect)clipRect;
- (void)drawRow:(NSInteger)row clipRect:(NSRect)clipRect;
- (void)editColumn:(NSInteger)column row:(NSInteger)row withEvent:(NSEvent*)theEvent select:(BOOL)select;
- (void)highlightSelectionInClipRect:(NSRect)clipRect;
- (void)moveColumn:(NSInteger)column toColumn:(NSInteger)newIndex;
- (void)noteHeightOfRowsWithIndexesChanged:(NSIndexSet*)indexSet;
- (void)noteNumberOfRowsChanged;
- (void)reloadData;
- (void)removeTableColumn:(NSTableColumn*)column;
- (void)scrollColumnToVisible:(NSInteger)column;
- (void)scrollRowToVisible:(NSInteger)row;
- (void)selectAll:(id)sender;
- (void)selectColumnIndexes:(NSIndexSet*)indexes byExtendingSelection:(BOOL)extend;
- (void)selectRowIndexes:(NSIndexSet*)indexes byExtendingSelection:(BOOL)extend;
- (void)setAllowsColumnReordering:(BOOL)flag;
- (void)setAllowsColumnResizing:(BOOL)flag;
- (void)setAllowsColumnSelection:(BOOL)flag;
- (void)setAllowsEmptySelection:(BOOL)flag;
- (void)setAllowsMultipleSelection:(BOOL)flag;
- (void)setAllowsTypeSelect:(BOOL)value;
- (void)setAutosaveName:(NSString*)name;
- (void)setAutosaveTableColumns:(BOOL)save;
- (void)setBackgroundColor:(NSColor*)color;
- (void)setColumnAutoresizingStyle:(NSTableViewColumnAutoresizingStyle)style;
- (void)setCornerView:(NSView*)cornerView;
- (void)setDataSource:(id)aSource;
- (void)setDelegate:(id)delegate;
- (void)setDoubleAction:(SEL)aSelector;
- (void)setDraggingSourceOperationMask:(NSDragOperation)mask forLocal:(BOOL)isLocal;
- (void)setDropRow:(NSInteger)row dropOperation:(NSTableViewDropOperation)op;
- (void)setGridColor:(NSColor*)color;
- (void)setGridStyleMask:(NSUInteger)gridType;
- (void)setHeaderView:(NSTableHeaderView*)headerView;
- (void)setHighlightedTableColumn:(NSTableColumn*)tc;
- (void)setIndicatorImage:(NSImage*)anImage inTableColumn:(NSTableColumn*)tc;
- (void)setIntercellSpacing:(NSSize)aSize;
- (void)setRowHeight:(CGFloat)rowHeight;
- (void)setSelectionHighlightStyle:(NSTableViewSelectionHighlightStyle)selectionHighlightStyle;
- (void)setSortDescriptors:(NSArray*)array;
- (void)setUsesAlternatingRowBackgroundColors:(BOOL)useAlternatingRowColors;
- (void)setVerticalMotionCanBeginDrag:(BOOL)flag;
- (void)sizeLastColumnToFit;
- (void)sizeToFit;
- (void)textDidBeginEditing:(NSNotification*)notification;
- (void)textDidChange:(NSNotification*)notification;
- (void)textDidEndEditing:(NSNotification*)notification;
- (void)tile;
@interface NSObject (NSTableViewDelegate)
// Instance Members
- (BOOL)selectionShouldChangeInTableView:(NSTableView*)tableView;
- (BOOL)tableView:(NSTableView*)tableView shouldSelectRow:(NSInteger)row;
- (BOOL)tableView:(NSTableView*)tableView isGroupRow:(NSInteger)row;
- (BOOL)tableView:(NSTableView*)tableView shouldEditTableColumn:(NSTableColumn*)tableColumn row:(NSInteger)row;
- (BOOL)tableView:(NSTableView*)tableView shouldTrackCell:(NSCell*)cell forTableColumn:(NSTableColumn*)tableColumn row:(NSInteger)row;
- (BOOL)tableView:(NSTableView*)tableView shouldSelectTableColumn:(NSTableColumn*)tableColumn;
- (BOOL)tableView:(NSTableView*)tableView shouldTypeSelectForEvent:(NSEvent*)event withCurrentSearchString:(NSString*)searchString;
- (BOOL)tableView:(NSTableView*)tableView shouldShowCellExpansionForTableColumn:(NSTableColumn*)tableColumn row:(NSInteger)row;
- (CGFloat)tableView:(NSTableView*)tableView heightOfRow:(NSInteger)row;
- (NSCell*)tableView:(NSTableView*)tableView dataCellForTableColumn:(NSTableColumn*)tableColumn row:(NSInteger)row;
- (NSIndexSet*)tableView:(NSTableView*)tableView selectionIndexesForProposedSelection:(NSIndexSet*)proposedSelectionIndexes;
- (NSInteger)tableView:(NSTableView*)tableView nextTypeSelectMatchFromRow:(NSInteger)startRow toRow:(NSInteger)endRow forString:(NSString*)searchString;
- (NSString*)tableView:(NSTableView*)tableView typeSelectStringForTableColumn:(NSTableColumn*)tableColumn row:(NSInteger)row;
- (NSString*)tableView:(NSTableView*)tableView toolTipForCell:(NSCell*)cell rect:(NSRectPointer)rect tableColumn:(NSTableColumn*)tableColumn row:(NSInteger)row mouseLocation:(NSPoint)mouseLocation;
- (void)tableView:(NSTableView*)tableView didDragTableColumn:(NSTableColumn*)tableColumn;
- (void)tableView:(NSTableView*)tableView didClickTableColumn:(NSTableColumn*)tableColumn;
- (void)tableView:(NSTableView*)tableView mouseDownInHeaderOfTableColumn:(NSTableColumn*)tableColumn;
- (void)tableView:(NSTableView*)tableView willDisplayCell:(id)cell forTableColumn:(NSTableColumn*)tableColumn row:(NSInteger)row;
@interface NSObject (NSTableViewNotifications)
// Instance Members
- (void)tableViewColumnDidMove:(NSNotification*)notification;
- (void)tableViewColumnDidResize:(NSNotification*)notification;
- (void)tableViewSelectionDidChange:(NSNotification*)notification;
- (void)tableViewSelectionIsChanging:(NSNotification*)notification;
@interface NSObject (NSTableDataSource)
// Instance Members
- (BOOL)tableView:(NSTableView*)tableView writeRows:(NSArray*)rows toPasteboard:(NSPasteboard*)pboard;
- (BOOL)tableView:(NSTableView*)tableView acceptDrop:(id)
- (BOOL)tableView:(NSTableView*)tableView writeRowsWithIndexes:(NSIndexSet*)rowIndexes toPasteboard:(NSPasteboard*)pboard;
- (NSArray*)tableView:(NSTableView*)tableView namesOfPromisedFilesDroppedAtDestination:(NSURL*)dropDestination forDraggedRowsWithIndexes:(NSIndexSet*)indexSet;
- (NSDragOperation)tableView:(NSTableView*)tableView validateDrop:(id)
- (NSInteger)numberOfRowsInTableView:(NSTableView*)tableView;
- (id)tableView:(NSTableView*)tableView objectValueForTableColumn:(NSTableColumn*)tableColumn row:(NSInteger)row;
- (void)tableView:(NSTableView*)tableView setObjectValue:(id)object forTableColumn:(NSTableColumn*)tableColumn row:(NSInteger)row;
- (void)tableView:(NSTableView*)tableView sortDescriptorsDidChange:(NSArray*)oldDescriptors;
@interface NSTableView (NSDeprecated )
// Instance Members
- (BOOL)autoresizesAllColumnsToFit;
- (BOOL)drawsGrid;
- (NSEnumerator*)selectedColumnEnumerator;
- (NSEnumerator*)selectedRowEnumerator;
- (NSImage*)dragImageForRows:(NSArray*)dragRows event:(NSEvent*)dragEvent dragImageOffset:(NSPointPointer)dragImageOffset;
- (NSRange)columnsInRect:(NSRect)rect;
- (void)selectColumn:(NSInteger)column byExtendingSelection:(BOOL)extend;
- (void)selectRow:(NSInteger)row byExtendingSelection:(BOOL)extend;
- (void)setAutoresizesAllColumnsToFit:(BOOL)flag;
- (void)setDrawsGrid:(BOOL)flag;
@interface NSTabView : NSView
// Instance Members
- (BOOL)allowsTruncatedLabels;
- (BOOL)drawsBackground;
- (NSArray*)tabViewItems;
- (NSControlSize)controlSize;
- (NSControlTint)controlTint;
- (NSFont*)font;
- (NSInteger)indexOfTabViewItem:(NSTabViewItem*)tabViewItem;
- (NSInteger)indexOfTabViewItemWithIdentifier:(id)identifier;
- (NSInteger)numberOfTabViewItems;
- (NSRect)contentRect;
- (NSSize)minimumSize;
- (NSTabViewItem*)selectedTabViewItem;
- (NSTabViewItem*)tabViewItemAtIndex:(NSInteger)index;
- (NSTabViewItem*)tabViewItemAtPoint:(NSPoint)point;
- (NSTabViewType)tabViewType;
- (id)delegate;
- (void)addTabViewItem:(NSTabViewItem*)tabViewItem;
- (void)insertTabViewItem:(NSTabViewItem*)tabViewItem atIndex:(NSInteger)index;
- (void)removeTabViewItem:(NSTabViewItem*)tabViewItem;
- (void)selectFirstTabViewItem:(id)sender;
- (void)selectLastTabViewItem:(id)sender;
- (void)selectNextTabViewItem:(id)sender;
- (void)selectPreviousTabViewItem:(id)sender;
- (void)selectTabViewItem:(NSTabViewItem*)tabViewItem;
- (void)selectTabViewItemAtIndex:(NSInteger)index;
- (void)selectTabViewItemWithIdentifier:(id)identifier;
- (void)setAllowsTruncatedLabels:(BOOL)allowTruncatedLabels;
- (void)setControlSize:(NSControlSize)controlSize;
- (void)setControlTint:(NSControlTint)controlTint;
- (void)setDelegate:(id)anObject;
- (void)setDrawsBackground:(BOOL)flag;
- (void)setFont:(NSFont*)font;
- (void)setTabViewType:(NSTabViewType)tabViewType;
- (void)takeSelectedTabViewItemFromSender:(id)sender;
@interface NSObject (NSTabViewDelegate)
// Instance Members
- (BOOL)tabView:(NSTabView*)tabView shouldSelectTabViewItem:(NSTabViewItem*)tabViewItem;
- (void)tabView:(NSTabView*)tabView willSelectTabViewItem:(NSTabViewItem*)tabViewItem;
- (void)tabView:(NSTabView*)tabView didSelectTabViewItem:(NSTabViewItem*)tabViewItem;
- (void)tabViewDidChangeNumberOfTabViewItems:(NSTabView*)TabView;
@interface NSTabViewItem : NSObject
// Instance Members
- (NSColor*)color;
- (NSSize)sizeOfLabel:(BOOL)computeMin;
- (NSString*)label;
- (NSTabState)tabState;
- (NSTabView*)tabView;
- (id)identifier;
- (id)initWithIdentifier:(id)identifier;
- (id)initialFirstResponder;
- (id)view;
- (void)drawLabel:(BOOL)shouldTruncateLabel inRect:(NSRect)labelRect;
- (void)setColor:(NSColor*)color;
- (void)setIdentifier:(id)identifier;
- (void)setInitialFirstResponder:(NSView*)view;
- (void)setLabel:(NSString*)label;
- (void)setView:(NSView*)view;
@interface NSText : NSView
// Instance Members
- (BOOL)drawsBackground;
- (BOOL)importsGraphics;
- (BOOL)isEditable;
- (BOOL)isFieldEditor;
- (BOOL)isHorizontallyResizable;
- (BOOL)isRichText;
- (BOOL)isRulerVisible;
- (BOOL)isSelectable;
- (BOOL)isVerticallyResizable;
- (BOOL)readRTFDFromFile:(NSString*)path;
- (BOOL)usesFontPanel;
- (BOOL)writeRTFDToFile:(NSString*)path atomically:(BOOL)flag;
- (NSColor*)backgroundColor;
- (NSColor*)textColor;
- (NSData*)RTFDFromRange:(NSRange)range;
- (NSData*)RTFFromRange:(NSRange)range;
- (NSFont*)font;
- (NSRange)selectedRange;
- (NSSize)maxSize;
- (NSSize)minSize;
- (NSString*)string;
- (NSTextAlignment)alignment;
- (NSWritingDirection)baseWritingDirection;
- (id)delegate;
- (void)alignCenter:(id)sender;
- (void)alignLeft:(id)sender;
- (void)alignRight:(id)sender;
- (void)changeFont:(id)sender;
- (void)checkSpelling:(id)sender;
- (void)copy:(id)sender;
- (void)copyFont:(id)sender;
- (void)copyRuler:(id)sender;
- (void)cut:(id)sender;
- (void)delete:(id)sender;
- (void)paste:(id)sender;
- (void)pasteFont:(id)sender;
- (void)pasteRuler:(id)sender;
- (void)replaceCharactersInRange:(NSRange)range withString:(NSString*)aString;
- (void)replaceCharactersInRange:(NSRange)range withRTF:(NSData*)rtfData;
- (void)replaceCharactersInRange:(NSRange)range withRTFD:(NSData*)rtfdData;
- (void)scrollRangeToVisible:(NSRange)range;
- (void)selectAll:(id)sender;
- (void)setAlignment:(NSTextAlignment)mode;
- (void)setBackgroundColor:(NSColor*)color;
- (void)setBaseWritingDirection:(NSWritingDirection)writingDirection;
- (void)setDelegate:(id)anObject;
- (void)setDrawsBackground:(BOOL)flag;
- (void)setEditable:(BOOL)flag;
- (void)setFieldEditor:(BOOL)flag;
- (void)setFont:(NSFont*)font range:(NSRange)range;
- (void)setFont:(NSFont*)obj;
- (void)setHorizontallyResizable:(BOOL)flag;
- (void)setImportsGraphics:(BOOL)flag;
- (void)setMaxSize:(NSSize)newMaxSize;
- (void)setMinSize:(NSSize)newMinSize;
- (void)setRichText:(BOOL)flag;
- (void)setSelectable:(BOOL)flag;
- (void)setSelectedRange:(NSRange)range;
- (void)setString:(NSString*)string;
- (void)setTextColor:(NSColor*)color range:(NSRange)range;
- (void)setTextColor:(NSColor*)color;
- (void)setUsesFontPanel:(BOOL)flag;
- (void)setVerticallyResizable:(BOOL)flag;
- (void)showGuessPanel:(id)sender;
- (void)sizeToFit;
- (void)subscript:(id)sender;
- (void)superscript:(id)sender;
- (void)toggleRuler:(id)sender;
- (void)underline:(id)sender;
- (void)unscript:(id)sender;
@interface NSObject (NSTextDelegate)
// Instance Members
- (BOOL)textShouldBeginEditing:(NSText*)textObject;
- (BOOL)textShouldEndEditing:(NSText*)textObject;
- (void)textDidBeginEditing:(NSNotification*)notification;
- (void)textDidChange:(NSNotification*)notification;
- (void)textDidEndEditing:(NSNotification*)notification;
@interface NSTextAttachmentCell : NSCell
@interface NSTextAttachment : NSObject
// Instance Members
- (NSFileWrapper*)fileWrapper;
- (id)
- (id)initWithFileWrapper:(NSFileWrapper*)fileWrapper;
- (void)setAttachmentCell:(id)
- (void)setFileWrapper:(NSFileWrapper*)fileWrapper;
@interface NSAttributedString (NSAttributedStringAttachmentConveniences)
// Class Members
+ (NSAttributedString*)attributedStringWithAttachment:(NSTextAttachment*)attachment;
@interface NSMutableAttributedString (NSMutableAttributedStringAttachmentConveniences)
// Instance Members
- (void)updateAttachmentsFromPath:(NSString*)path;
@interface NSTextContainer : NSObject
// Instance Members
- (BOOL)containsPoint:(NSPoint)point;
- (BOOL)heightTracksTextView;
- (BOOL)isSimpleRectangularTextContainer;
- (BOOL)widthTracksTextView;
- (CGFloat)lineFragmentPadding;
- (NSLayoutManager*)layoutManager;
- (NSRect)lineFragmentRectForProposedRect:(NSRect)proposedRect sweepDirection:(NSLineSweepDirection)sweepDirection movementDirection:(NSLineMovementDirection)movementDirection remainingRect:(NSRectPointer)remainingRect;
- (NSSize)containerSize;
- (NSTextView*)textView;
- (id)initWithContainerSize:(NSSize)size;
- (void)replaceLayoutManager:(NSLayoutManager*)newLayoutManager;
- (void)setContainerSize:(NSSize)size;
- (void)setHeightTracksTextView:(BOOL)flag;
- (void)setLayoutManager:(NSLayoutManager*)layoutManager;
- (void)setLineFragmentPadding:(CGFloat)pad;
- (void)setTextView:(NSTextView*)textView;
- (void)setWidthTracksTextView:(BOOL)flag;
@interface NSTextField : NSControl
// Instance Members
- (BOOL)acceptsFirstResponder;
- (BOOL)drawsBackground;
- (BOOL)isBezeled;
- (BOOL)isBordered;
- (BOOL)isEditable;
- (BOOL)isSelectable;
- (BOOL)textShouldBeginEditing:(NSText*)textObject;
- (BOOL)textShouldEndEditing:(NSText*)textObject;
- (NSColor*)backgroundColor;
- (NSColor*)textColor;
- (NSTextFieldBezelStyle)bezelStyle;
- (id)delegate;
- (void)selectText:(id)sender;
- (void)setBackgroundColor:(NSColor*)color;
- (void)setBezelStyle:(NSTextFieldBezelStyle)style;
- (void)setBezeled:(BOOL)flag;
- (void)setBordered:(BOOL)flag;
- (void)setDelegate:(id)anObject;
- (void)setDrawsBackground:(BOOL)flag;
- (void)setEditable:(BOOL)flag;
- (void)setSelectable:(BOOL)flag;
- (void)setTextColor:(NSColor*)color;
- (void)textDidBeginEditing:(NSNotification*)notification;
- (void)textDidChange:(NSNotification*)notification;
- (void)textDidEndEditing:(NSNotification*)notification;
@interface NSTextField (NSKeyboardUI)
// Instance Members
- (void)setTitleWithMnemonic:(NSString*)stringWithAmpersand;
@interface NSTextField (NSTextFieldAttributedStringMethods)
// Instance Members
- (BOOL)allowsEditingTextAttributes;
- (BOOL)importsGraphics;
- (void)setAllowsEditingTextAttributes:(BOOL)flag;
- (void)setImportsGraphics:(BOOL)flag;
@interface NSTextFieldCell : NSActionCell
// Instance Members
- (BOOL)drawsBackground;
- (NSArray*)allowedInputSourceLocales;
- (NSAttributedString*)placeholderAttributedString;
- (NSColor*)backgroundColor;
- (NSColor*)textColor;
- (NSString*)placeholderString;
- (NSText*)setUpFieldEditorAttributes:(NSText*)textObj;
- (NSTextFieldBezelStyle)bezelStyle;
- (void)setAllowedInputSourceLocales:(NSArray*)localeIdentifiers;
- (void)setBackgroundColor:(NSColor*)color;
- (void)setBezelStyle:(NSTextFieldBezelStyle)style;
- (void)setDrawsBackground:(BOOL)flag;
- (void)setPlaceholderAttributedString:(NSAttributedString*)string;
- (void)setPlaceholderString:(NSString*)string;
- (void)setTextColor:(NSColor*)color;
- (void)setWantsNotificationForMarkedText:(BOOL)flag;
@interface NSTextList : NSObject
// Instance Members
- (NSString*)markerForItemNumber:(NSInteger)itemNum;
- (NSString*)markerFormat;
- (NSUInteger)listOptions;
- (id)initWithMarkerFormat:(NSString*)format options:(NSUInteger)mask;
@interface NSTextStorage : NSMutableAttributedString
// Instance Members
- (BOOL)fixesAttributesLazily;
- (NSArray*)layoutManagers;
- (NSInteger)changeInLength;
- (NSRange)editedRange;
- (NSUInteger)editedMask;
- (id)delegate;
- (void)addLayoutManager:(NSLayoutManager*)obj;
- (void)edited:(NSUInteger)editedMask range:(NSRange)range changeInLength:(NSInteger)delta;
- (void)ensureAttributesAreFixedInRange:(NSRange)range;
- (void)invalidateAttributesInRange:(NSRange)range;
- (void)processEditing;
- (void)removeLayoutManager:(NSLayoutManager*)obj;
- (void)setDelegate:(id)delegate;
@interface NSObject (NSTextStorageDelegate)
// Instance Members
- (void)textStorageDidProcessEditing:(NSNotification*)notification;
- (void)textStorageWillProcessEditing:(NSNotification*)notification;
@interface NSTextStorage (Scripting)
// Instance Members
- (NSArray*)attributeRuns;
- (NSArray*)characters;
- (NSArray*)paragraphs;
- (NSArray*)words;
- (NSColor*)foregroundColor;
- (NSFont*)font;
- (void)setAttributeRuns:(NSArray*)attributeRuns;
- (void)setCharacters:(NSArray*)characters;
- (void)setFont:(NSFont*)font;
- (void)setForegroundColor:(NSColor*)color;
- (void)setParagraphs:(NSArray*)paragraphs;
- (void)setWords:(NSArray*)words;
@interface NSTextBlock : NSObject
// Instance Members
- (CGFloat)contentWidth;
- (CGFloat)valueForDimension:(NSTextBlockDimension)dimension;
- (CGFloat)widthForLayer:(NSTextBlockLayer)layer edge:(NSRectEdge)edge;
- (NSColor*)backgroundColor;
- (NSColor*)borderColorForEdge:(NSRectEdge)edge;
- (NSRect)boundsRectForContentRect:(NSRect)contentRect inRect:(NSRect)rect textContainer:(NSTextContainer*)textContainer characterRange:(NSRange)charRange;
- (NSRect)rectForLayoutAtPoint:(NSPoint)startingPoint inRect:(NSRect)rect textContainer:(NSTextContainer*)textContainer characterRange:(NSRange)charRange;
- (NSTextBlockValueType)contentWidthValueType;
- (NSTextBlockValueType)valueTypeForDimension:(NSTextBlockDimension)dimension;
- (NSTextBlockValueType)widthValueTypeForLayer:(NSTextBlockLayer)layer edge:(NSRectEdge)edge;
- (NSTextBlockVerticalAlignment)verticalAlignment;
- (id)init;
- (void)drawBackgroundWithFrame:(NSRect)frameRect inView:(NSView*)controlView characterRange:(NSRange)charRange layoutManager:(NSLayoutManager*)layoutManager;
- (void)setBackgroundColor:(NSColor*)color;
- (void)setBorderColor:(NSColor*)color forEdge:(NSRectEdge)edge;
- (void)setBorderColor:(NSColor*)color;
- (void)setContentWidth:(CGFloat)val type:(NSTextBlockValueType)type;
- (void)setValue:(CGFloat)val type:(NSTextBlockValueType)type forDimension:(NSTextBlockDimension)dimension;
- (void)setVerticalAlignment:(NSTextBlockVerticalAlignment)alignment;
- (void)setWidth:(CGFloat)val type:(NSTextBlockValueType)type forLayer:(NSTextBlockLayer)layer edge:(NSRectEdge)edge;
- (void)setWidth:(CGFloat)val type:(NSTextBlockValueType)type forLayer:(NSTextBlockLayer)layer;
@interface NSTextTableBlock : NSTextBlock
// Instance Members
- (NSInteger)columnSpan;
- (NSInteger)rowSpan;
- (NSInteger)startingColumn;
- (NSInteger)startingRow;
- (NSTextTable*)table;
- (id)initWithTable:(NSTextTable*)table startingRow:(NSInteger)row rowSpan:(NSInteger)rowSpan startingColumn:(NSInteger)col columnSpan:(NSInteger)colSpan;
@interface NSTextTable : NSTextBlock
// Instance Members
- (BOOL)collapsesBorders;
- (BOOL)hidesEmptyCells;
- (NSRect)boundsRectForBlock:(NSTextTableBlock*)block contentRect:(NSRect)contentRect inRect:(NSRect)rect textContainer:(NSTextContainer*)textContainer characterRange:(NSRange)charRange;
- (NSRect)rectForBlock:(NSTextTableBlock*)block layoutAtPoint:(NSPoint)startingPoint inRect:(NSRect)rect textContainer:(NSTextContainer*)textContainer characterRange:(NSRange)charRange;
- (NSTextTableLayoutAlgorithm)layoutAlgorithm;
- (NSUInteger)numberOfColumns;
- (void)drawBackgroundForBlock:(NSTextTableBlock*)block withFrame:(NSRect)frameRect inView:(NSView*)controlView characterRange:(NSRange)charRange layoutManager:(NSLayoutManager*)layoutManager;
- (void)setCollapsesBorders:(BOOL)flag;
- (void)setHidesEmptyCells:(BOOL)flag;
- (void)setLayoutAlgorithm:(NSTextTableLayoutAlgorithm)algorithm;
- (void)setNumberOfColumns:(NSUInteger)numCols;
@interface NSTextView : NSText
// Instance Members
- (BOOL)rulerView:(NSRulerView*)ruler shouldMoveMarker:(NSRulerMarker*)marker;
- (BOOL)rulerView:(NSRulerView*)ruler shouldAddMarker:(NSRulerMarker*)marker;
- (BOOL)rulerView:(NSRulerView*)ruler shouldRemoveMarker:(NSRulerMarker*)marker;
- (BOOL)shouldDrawInsertionPoint;
- (CGFloat)rulerView:(NSRulerView*)ruler willMoveMarker:(NSRulerMarker*)marker toLocation:(CGFloat)location;
- (CGFloat)rulerView:(NSRulerView*)ruler willAddMarker:(NSRulerMarker*)marker atLocation:(CGFloat)location;
- (NSLayoutManager*)layoutManager;
- (NSPoint)textContainerOrigin;
- (NSRange)selectionRangeForProposedRange:(NSRange)proposedCharRange granularity:(NSSelectionGranularity)granularity;
- (NSSize)textContainerInset;
- (NSTextContainer*)textContainer;
- (NSTextStorage*)textStorage;
- (NSUInteger)characterIndexForInsertionAtPoint:(NSPoint)point;
- (id)initWithFrame:(NSRect)frameRect;
- (id)initWithFrame:(NSRect)frameRect textContainer:(NSTextContainer*)container;
- (void)alignJustified:(id)sender;
- (void)changeAttributes:(id)sender;
- (void)changeColor:(id)sender;
- (void)changeDocumentBackgroundColor:(id)sender;
- (void)clickedOnLink:(id)link atIndex:(NSUInteger)charIndex;
- (void)drawInsertionPointInRect:(NSRect)rect color:(NSColor*)color turnedOn:(BOOL)flag;
- (void)drawViewBackgroundInRect:(NSRect)rect;
- (void)insertText:(id)insertString;
- (void)invalidateTextContainerOrigin;
- (void)loosenKerning:(id)sender;
- (void)lowerBaseline:(id)sender;
- (void)orderFrontLinkPanel:(id)sender;
- (void)orderFrontListPanel:(id)sender;
- (void)orderFrontSpacingPanel:(id)sender;
- (void)orderFrontTablePanel:(id)sender;
- (void)outline:(id)sender;
- (void)performFindPanelAction:(id)sender;
- (void)raiseBaseline:(id)sender;
- (void)replaceTextContainer:(NSTextContainer*)newContainer;
- (void)rulerView:(NSRulerView*)ruler handleMouseDown:(NSEvent*)event;
- (void)rulerView:(NSRulerView*)ruler didAddMarker:(NSRulerMarker*)marker;
- (void)rulerView:(NSRulerView*)ruler didRemoveMarker:(NSRulerMarker*)marker;
- (void)rulerView:(NSRulerView*)ruler didMoveMarker:(NSRulerMarker*)marker;
- (void)setAlignment:(NSTextAlignment)alignment range:(NSRange)range;
- (void)setBaseWritingDirection:(NSWritingDirection)writingDirection range:(NSRange)range;
- (void)setConstrainedFrameSize:(NSSize)desiredSize;
- (void)setNeedsDisplayInRect:(NSRect)rect avoidAdditionalLayout:(BOOL)flag;
- (void)setTextContainer:(NSTextContainer*)container;
- (void)setTextContainerInset:(NSSize)inset;
- (void)startSpeaking:(id)sender;
- (void)stopSpeaking:(id)sender;
- (void)tightenKerning:(id)sender;
- (void)toggleBaseWritingDirection:(id)sender;
- (void)toggleTraditionalCharacterShape:(id)sender;
- (void)turnOffKerning:(id)sender;
- (void)turnOffLigatures:(id)sender;
- (void)updateDragTypeRegistration;
- (void)updateFontPanel;
- (void)updateRuler;
- (void)useAllLigatures:(id)sender;
- (void)useStandardKerning:(id)sender;
- (void)useStandardLigatures:(id)sender;
@interface NSTextView (NSCompletion)
// Instance Members
- (NSArray*)completionsForPartialWordRange:(NSRange)charRange indexOfSelectedItem:(NSInteger*)index;
- (NSRange)rangeForUserCompletion;
- (void)complete:(id)sender;
- (void)insertCompletion:(NSString*)word forPartialWordRange:(NSRange)charRange movement:(NSInteger)movement isFinal:(BOOL)flag;
@interface NSTextView (NSPasteboard)
// Class Members
+ (void)registerForServices;
// Instance Members
- (BOOL)readSelectionFromPasteboard:(NSPasteboard*)pboard type:(NSString*)type;
- (BOOL)readSelectionFromPasteboard:(NSPasteboard*)pboard;
- (BOOL)writeSelectionToPasteboard:(NSPasteboard*)pboard type:(NSString*)type;
- (BOOL)writeSelectionToPasteboard:(NSPasteboard*)pboard types:(NSArray*)types;
- (NSArray*)readablePasteboardTypes;
- (NSArray*)writablePasteboardTypes;
- (NSString*)preferredPasteboardTypeFromArray:(NSArray*)availableTypes restrictedToTypesFromArray:(NSArray*)allowedTypes;
- (id)validRequestorForSendType:(NSString*)sendType returnType:(NSString*)returnType;
- (void)pasteAsPlainText:(id)sender;
- (void)pasteAsRichText:(id)sender;
@interface NSTextView (NSDragging)
// Instance Members
- (BOOL)dragSelectionWithEvent:(NSEvent*)event offset:(NSSize)mouseOffset slideBack:(BOOL)slideBack;
- (NSArray*)acceptableDragTypes;
- (NSDragOperation)dragOperationForDraggingInfo:(id)
- (NSImage*)dragImageForSelectionWithEvent:(NSEvent*)event origin:(NSPointPointer)origin;
- (void)cleanUpAfterDragOperation;
@interface NSTextView (NSSharing)
// Instance Members
- (BOOL)acceptsGlyphInfo;
- (BOOL)allowsDocumentBackgroundColorChange;
- (BOOL)allowsImageEditing;
- (BOOL)allowsUndo;
- (BOOL)displaysLinkToolTips;
- (BOOL)drawsBackground;
- (BOOL)importsGraphics;
- (BOOL)isAutomaticLinkDetectionEnabled;
- (BOOL)isAutomaticQuoteSubstitutionEnabled;
- (BOOL)isContinuousSpellCheckingEnabled;
- (BOOL)isEditable;
- (BOOL)isFieldEditor;
- (BOOL)isGrammarCheckingEnabled;
- (BOOL)isRichText;
- (BOOL)isRulerVisible;
- (BOOL)isSelectable;
- (BOOL)shouldChangeTextInRange:(NSRange)affectedCharRange replacementString:(NSString*)replacementString;
- (BOOL)shouldChangeTextInRanges:(NSArray*)affectedRanges replacementStrings:(NSArray*)replacementStrings;
- (BOOL)smartInsertDeleteEnabled;
- (BOOL)usesFindPanel;
- (BOOL)usesFontPanel;
- (BOOL)usesRuler;
- (NSArray*)allowedInputSourceLocales;
- (NSArray*)rangesForUserCharacterAttributeChange;
- (NSArray*)rangesForUserParagraphAttributeChange;
- (NSArray*)rangesForUserTextChange;
- (NSArray*)selectedRanges;
- (NSColor*)backgroundColor;
- (NSColor*)insertionPointColor;
- (NSDictionary*)linkTextAttributes;
- (NSDictionary*)markedTextAttributes;
- (NSDictionary*)selectedTextAttributes;
- (NSDictionary*)typingAttributes;
- (NSInteger)spellCheckerDocumentTag;
- (NSParagraphStyle*)defaultParagraphStyle;
- (NSRange)rangeForUserCharacterAttributeChange;
- (NSRange)rangeForUserParagraphAttributeChange;
- (NSRange)rangeForUserTextChange;
- (NSRange)smartDeleteRangeForProposedRange:(NSRange)proposedCharRange;
- (NSSelectionAffinity)selectionAffinity;
- (NSSelectionGranularity)selectionGranularity;
- (NSString*)smartInsertAfterStringForString:(NSString*)pasteString replacingRange:(NSRange)charRangeToReplace;
- (NSString*)smartInsertBeforeStringForString:(NSString*)pasteString replacingRange:(NSRange)charRangeToReplace;
- (id)delegate;
- (void)breakUndoCoalescing;
- (void)didChangeText;
- (void)setAcceptsGlyphInfo:(BOOL)flag;
- (void)setAllowedInputSourceLocales:(NSArray*)localeIdentifiers;
- (void)setAllowsDocumentBackgroundColorChange:(BOOL)flag;
- (void)setAllowsImageEditing:(BOOL)flag;
- (void)setAllowsUndo:(BOOL)flag;
- (void)setAutomaticLinkDetectionEnabled:(BOOL)flag;
- (void)setAutomaticQuoteSubstitutionEnabled:(BOOL)flag;
- (void)setBackgroundColor:(NSColor*)color;
- (void)setContinuousSpellCheckingEnabled:(BOOL)flag;
- (void)setDefaultParagraphStyle:(NSParagraphStyle*)paragraphStyle;
- (void)setDelegate:(id)anObject;
- (void)setDisplaysLinkToolTips:(BOOL)flag;
- (void)setDrawsBackground:(BOOL)flag;
- (void)setEditable:(BOOL)flag;
- (void)setFieldEditor:(BOOL)flag;
- (void)setGrammarCheckingEnabled:(BOOL)flag;
- (void)setImportsGraphics:(BOOL)flag;
- (void)setInsertionPointColor:(NSColor*)color;
- (void)setLinkTextAttributes:(NSDictionary*)attributeDictionary;
- (void)setMarkedTextAttributes:(NSDictionary*)attributeDictionary;
- (void)setRichText:(BOOL)flag;
- (void)setRulerVisible:(BOOL)flag;
- (void)setSelectable:(BOOL)flag;
- (void)setSelectedRange:(NSRange)charRange;
- (void)setSelectedRange:(NSRange)charRange affinity:(NSSelectionAffinity)affinity stillSelecting:(BOOL)stillSelectingFlag;
- (void)setSelectedRanges:(NSArray*)ranges;
- (void)setSelectedRanges:(NSArray*)ranges affinity:(NSSelectionAffinity)affinity stillSelecting:(BOOL)stillSelectingFlag;
- (void)setSelectedTextAttributes:(NSDictionary*)attributeDictionary;
- (void)setSelectionGranularity:(NSSelectionGranularity)granularity;
- (void)setSmartInsertDeleteEnabled:(BOOL)flag;
- (void)setSpellingState:(NSInteger)value range:(NSRange)charRange;
- (void)setTypingAttributes:(NSDictionary*)attrs;
- (void)setUsesFindPanel:(BOOL)flag;
- (void)setUsesFontPanel:(BOOL)flag;
- (void)setUsesRuler:(BOOL)flag;
- (void)showFindIndicatorForRange:(NSRange)charRange;
- (void)smartInsertForString:(NSString*)pasteString replacingRange:(NSRange)charRangeToReplace beforeString:(NSString**)beforeString afterString:(NSString**)afterString;
- (void)toggleAutomaticLinkDetection:(id)sender;
- (void)toggleAutomaticQuoteSubstitution:(id)sender;
- (void)toggleContinuousSpellChecking:(id)sender;
- (void)toggleGrammarChecking:(id)sender;
- (void)toggleSmartInsertDelete:(id)sender;
- (void)updateInsertionPointStateAndRestartTimer:(BOOL)restartFlag;
@interface NSObject (NSTextViewDelegate)
// Instance Members
- (BOOL)textView:(NSTextView*)textView clickedOnLink:(id)link atIndex:(NSUInteger)charIndex;
- (BOOL)textView:(NSTextView*)textView clickedOnLink:(id)link;
- (BOOL)textView:(NSTextView*)textView shouldChangeTextInRange:(NSRange)affectedCharRange replacementString:(NSString*)replacementString;
- (BOOL)textView:(NSTextView*)textView doCommandBySelector:(SEL)commandSelector;
- (BOOL)textView:(NSTextView*)textView shouldChangeTextInRanges:(NSArray*)affectedRanges replacementStrings:(NSArray*)replacementStrings;
- (BOOL)textView:(NSTextView*)view writeCell:(id)
- (NSArray*)textView:(NSTextView*)textView willChangeSelectionFromCharacterRanges:(NSArray*)oldSelectedCharRanges toCharacterRanges:(NSArray*)newSelectedCharRanges;
- (NSArray*)textView:(NSTextView*)textView completions:(NSArray*)words forPartialWordRange:(NSRange)charRange indexOfSelectedItem:(NSInteger*)index;
- (NSArray*)textView:(NSTextView*)view writablePasteboardTypesForCell:(id)
- (NSDictionary*)textView:(NSTextView*)textView shouldChangeTypingAttributes:(NSDictionary*)oldTypingAttributes toAttributes:(NSDictionary*)newTypingAttributes;
- (NSInteger)textView:(NSTextView*)textView shouldSetSpellingState:(NSInteger)value range:(NSRange)affectedCharRange;
- (NSMenu*)textView:(NSTextView*)view menu:(NSMenu*)menu forEvent:(NSEvent*)event atIndex:(NSUInteger)charIndex;
- (NSRange)textView:(NSTextView*)textView willChangeSelectionFromCharacterRange:(NSRange)oldSelectedCharRange toCharacterRange:(NSRange)newSelectedCharRange;
- (NSString*)textView:(NSTextView*)textView willDisplayToolTip:(NSString*)tooltip forCharacterAtIndex:(NSUInteger)characterIndex;
- (NSUndoManager*)undoManagerForTextView:(NSTextView*)view;
- (void)textView:(NSTextView*)textView clickedOnCell:(id)
- (void)textView:(NSTextView*)view draggedCell:(id)
- (void)textView:(NSTextView*)textView doubleClickedOnCell:(id)
- (void)textView:(NSTextView*)textView clickedOnCell:(id)
- (void)textView:(NSTextView*)view draggedCell:(id)
- (void)textView:(NSTextView*)textView doubleClickedOnCell:(id)
- (void)textViewDidChangeSelection:(NSNotification*)notification;
- (void)textViewDidChangeTypingAttributes:(NSNotification*)notification;
@interface NSTokenField : NSTextField
// Class Members
+ (NSCharacterSet*)defaultTokenizingCharacterSet;
+ (NSTimeInterval)defaultCompletionDelay;
// Instance Members
- (NSCharacterSet*)tokenizingCharacterSet;
- (NSTimeInterval)completionDelay;
- (NSTokenStyle)tokenStyle;
- (void)setCompletionDelay:()NSTimeInterval delay;
- (void)setTokenStyle:()NSTokenStyle style;
- (void)setTokenizingCharacterSet:(NSCharacterSet*)characterSet;
@interface NSObject (NSTokenFieldDelegate)
// Instance Members
- (BOOL)tokenField:(NSTokenField*)tokenField writeRepresentedObjects:(NSArray*)objects toPasteboard:(NSPasteboard*)pboard;
- (BOOL)tokenField:(NSTokenField*)tokenField hasMenuForRepresentedObject:(id)representedObject;
- (NSArray*)tokenField:(NSTokenField*)tokenField completionsForSubstring:(NSString*)substring indexOfToken:(NSInteger)tokenIndex indexOfSelectedItem:(NSInteger*)selectedIndex;
- (NSArray*)tokenField:(NSTokenField*)tokenField readFromPasteboard:(NSPasteboard*)pboard;
- (NSArray*)tokenField:(NSTokenField*)tokenField shouldAddObjects:(NSArray*)tokens atIndex:(NSUInteger)index;
- (NSMenu*)tokenField:(NSTokenField*)tokenField menuForRepresentedObject:(id)representedObject;
- (NSString*)tokenField:(NSTokenField*)tokenField editingStringForRepresentedObject:(id)representedObject;
- (NSString*)tokenField:(NSTokenField*)tokenField displayStringForRepresentedObject:(id)representedObject;
- (NSTokenStyle)tokenField:(NSTokenField*)tokenField styleForRepresentedObject:(id)representedObject;
- (id)tokenField:(NSTokenField*)tokenField representedObjectForEditingString:()NSString* editingString;
@interface NSTokenFieldCell : NSTextFieldCell
// Class Members
+ (NSCharacterSet*)defaultTokenizingCharacterSet;
+ (NSTimeInterval)defaultCompletionDelay;
// Instance Members
- (NSCharacterSet*)tokenizingCharacterSet;
- (NSTimeInterval)completionDelay;
- (NSTokenStyle)tokenStyle;
- (id)delegate;
- (void)setCompletionDelay:(NSTimeInterval)delay;
- (void)setDelegate:(id)anObject;
- (void)setTokenStyle:(NSTokenStyle)style;
- (void)setTokenizingCharacterSet:(NSCharacterSet*)characterSet;
@interface NSObject (NSTokenFieldCellDelegate)
// Instance Members
- (BOOL)tokenFieldCell:(NSTokenFieldCell*)tokenFieldCell writeRepresentedObjects:(NSArray*)objects toPasteboard:(NSPasteboard*)pboard;
- (BOOL)tokenFieldCell:(NSTokenFieldCell*)tokenFieldCell hasMenuForRepresentedObject:(id)representedObject;
- (NSArray*)tokenFieldCell:(NSTokenFieldCell*)tokenFieldCell completionsForSubstring:(NSString*)substring indexOfToken:(NSInteger)tokenIndex indexOfSelectedItem:(NSInteger*)selectedIndex;
- (NSArray*)tokenFieldCell:(NSTokenFieldCell*)tokenFieldCell readFromPasteboard:(NSPasteboard*)pboard;
- (NSArray*)tokenFieldCell:(NSTokenFieldCell*)tokenFieldCell shouldAddObjects:(NSArray*)tokens atIndex:(NSUInteger)index;
- (NSMenu*)tokenFieldCell:(NSTokenFieldCell*)tokenFieldCell menuForRepresentedObject:(id)representedObject;
- (NSString*)tokenFieldCell:(NSTokenFieldCell*)tokenFieldCell editingStringForRepresentedObject:(id)representedObject;
- (NSString*)tokenFieldCell:(NSTokenFieldCell*)tokenFieldCell displayStringForRepresentedObject:(id)representedObject;
- (NSTokenStyle)tokenFieldCell:(NSTokenFieldCell*)tokenFieldCell styleForRepresentedObject:(id)representedObject;
- (id)tokenFieldCell:(NSTokenFieldCell*)tokenFieldCell representedObjectForEditingString:()NSString* editingString;
@interface NSToolbar : NSObject
// Instance Members
- (BOOL)allowsUserCustomization;
- (BOOL)autosavesConfiguration;
- (BOOL)customizationPaletteIsRunning;
- (BOOL)isVisible;
- (BOOL)showsBaselineSeparator;
- (NSArray*)items;
- (NSArray*)visibleItems;
- (NSDictionary*)configurationDictionary;
- (NSString*)identifier;
- (NSString*)selectedItemIdentifier;
- (NSToolbarDisplayMode)displayMode;
- (NSToolbarSizeMode)sizeMode;
- (id)delegate;
- (id)initWithIdentifier:(NSString*)identifier;
- (void)insertItemWithItemIdentifier:(NSString*)itemIdentifier atIndex:(NSInteger)index;
- (void)removeItemAtIndex:(NSInteger)index;
- (void)runCustomizationPalette:(id)sender;
- (void)setAllowsUserCustomization:(BOOL)allowCustomization;
- (void)setAutosavesConfiguration:(BOOL)flag;
- (void)setConfigurationFromDictionary:(NSDictionary*)configDict;
- (void)setDelegate:(id)delegate;
- (void)setDisplayMode:(NSToolbarDisplayMode)displayMode;
- (void)setSelectedItemIdentifier:(NSString*)itemIdentifier;
- (void)setShowsBaselineSeparator:(BOOL)flag;
- (void)setSizeMode:(NSToolbarSizeMode)sizeMode;
- (void)setVisible:(BOOL)shown;
- (void)validateVisibleItems;
@interface NSObject (NSToolbarDelegate)
// Instance Members
- (NSArray*)toolbarAllowedItemIdentifiers:(NSToolbar*)toolbar;
- (NSArray*)toolbarDefaultItemIdentifiers:(NSToolbar*)toolbar;
- (NSArray*)toolbarSelectableItemIdentifiers:(NSToolbar*)toolbar;
- (NSToolbarItem*)toolbar:(NSToolbar*)toolbar itemForItemIdentifier:(NSString*)itemIdentifier willBeInsertedIntoToolbar:(BOOL)flag;
@interface NSObject (NSToolbarNotifications)
// Instance Members
- (void)toolbarDidRemoveItem:()NSNotification* notification;
- (void)toolbarWillAddItem:()NSNotification* notification;
@interface NSToolbarItem : NSObject
// Instance Members
- (BOOL)allowsDuplicatesInToolbar;
- (BOOL)autovalidates;
- (BOOL)isEnabled;
- (NSImage*)image;
- (NSInteger)tag;
- (NSInteger)visibilityPriority;
- (NSMenuItem*)menuFormRepresentation;
- (NSSize)maxSize;
- (NSSize)minSize;
- (NSString*)itemIdentifier;
- (NSString*)label;
- (NSString*)paletteLabel;
- (NSString*)toolTip;
- (NSToolbar*)toolbar;
- (NSView*)view;
- (SEL)action;
- (id)initWithItemIdentifier:(NSString*)itemIdentifier;
- (id)target;
- (void)setAction:(SEL)action;
- (void)setAutovalidates:(BOOL)resistance;
- (void)setEnabled:(BOOL)enabled;
- (void)setImage:(NSImage*)image;
- (void)setLabel:(NSString*)label;
- (void)setMaxSize:(NSSize)size;
- (void)setMenuFormRepresentation:(NSMenuItem*)menuItem;
- (void)setMinSize:(NSSize)size;
- (void)setPaletteLabel:(NSString*)paletteLabel;
- (void)setTag:(NSInteger)tag;
- (void)setTarget:(id)target;
- (void)setToolTip:(NSString*)toolTip;
- (void)setView:(NSView*)view;
- (void)setVisibilityPriority:(NSInteger)visibilityPriority;
- (void)validate;
@interface NSObject (NSToolbarItemValidation)
// Instance Members
- (BOOL)validateToolbarItem:(NSToolbarItem*)theItem;
@interface NSToolbarItemGroup : NSToolbarItem
// Instance Members
- (NSArray*)subitems;
- (void)setSubitems:(NSArray*)subitems;
@interface NSTrackingArea : NSObject
// Instance Members
- (NSDictionary*)userInfo;
- (NSRect)rect;
- (NSTrackingArea*)initWithRect:(NSRect)rect options:(NSTrackingAreaOptions)options owner:(id)owner userInfo:(NSDictionary*)userInfo;
- (NSTrackingAreaOptions)options;
- (id)owner;
@interface NSTreeController : NSObjectController
// Instance Members
- (BOOL)addSelectionIndexPaths:(NSArray*)indexPaths;
- (BOOL)alwaysUsesMultipleValuesMarker;
- (BOOL)avoidsEmptySelection;
- (BOOL)canAddChild;
- (BOOL)canInsert;
- (BOOL)canInsertChild;
- (BOOL)preservesSelection;
- (BOOL)removeSelectionIndexPaths:(NSArray*)indexPaths;
- (BOOL)selectsInsertedObjects;
- (BOOL)setSelectionIndexPath:(NSIndexPath*)indexPath;
- (BOOL)setSelectionIndexPaths:(NSArray*)indexPaths;
- (NSArray*)selectedNodes;
- (NSArray*)selectedObjects;
- (NSArray*)selectionIndexPaths;
- (NSArray*)sortDescriptors;
- (NSIndexPath*)selectionIndexPath;
- (NSString*)childrenKeyPath;
- (NSString*)childrenKeyPathForNode:(NSTreeNode*)node;
- (NSString*)countKeyPath;
- (NSString*)countKeyPathForNode:(NSTreeNode*)node;
- (NSString*)leafKeyPath;
- (NSString*)leafKeyPathForNode:(NSTreeNode*)node;
- (id)arrangedObjects;
- (id)content;
- (void)add:(id)sender;
- (void)addChild:(id)sender;
- (void)insert:(id)sender;
- (void)insertChild:(id)sender;
- (void)insertObject:(id)object atArrangedObjectIndexPath:(NSIndexPath*)indexPath;
- (void)insertObjects:(NSArray*)objects atArrangedObjectIndexPaths:(NSArray*)indexPaths;
- (void)moveNode:(NSTreeNode*)node toIndexPath:(NSIndexPath*)indexPath;
- (void)moveNodes:(NSArray*)nodes toIndexPath:(NSIndexPath*)startingIndexPath;
- (void)rearrangeObjects;
- (void)remove:(id)sender;
- (void)removeObjectAtArrangedObjectIndexPath:(NSIndexPath*)indexPath;
- (void)removeObjectsAtArrangedObjectIndexPaths:(NSArray*)indexPaths;
- (void)setAlwaysUsesMultipleValuesMarker:(BOOL)flag;
- (void)setAvoidsEmptySelection:(BOOL)flag;
- (void)setChildrenKeyPath:(NSString*)keyPath;
- (void)setContent:(id)content;
- (void)setCountKeyPath:(NSString*)keyPath;
- (void)setLeafKeyPath:(NSString*)keyPath;
- (void)setPreservesSelection:(BOOL)flag;
- (void)setSelectsInsertedObjects:(BOOL)flag;
- (void)setSortDescriptors:(NSArray*)sortDescriptors;
@interface NSTreeNode : NSObject
// Class Members
+ (id)treeNodeWithRepresentedObject:(id)modelObject;
// Instance Members
- (BOOL)isLeaf;
- (NSArray*)childNodes;
- (NSIndexPath*)indexPath;
- (NSMutableArray*)mutableChildNodes;
- (NSTreeNode*)descendantNodeAtIndexPath:(NSIndexPath*)indexPath;
- (NSTreeNode*)parentNode;
- (id)initWithRepresentedObject:(id)modelObject;
- (id)representedObject;
- (void)sortWithSortDescriptors:(NSArray*)sortDescriptors recursively:(BOOL)recursively;
@interface NSTypesetter : NSObject
// Class Members
+ (NSSize)printingAdjustmentInLayoutManager:(NSLayoutManager*)layoutMgr forNominallySpacedGlyphRange:(NSRange)nominallySpacedGlyphsRange packedGlyphs:(const)unsigned char*:(packedGlyphs)count: NSUInteger:(packedGlyphsCount;)
+ (NSTypesetterBehavior)defaultTypesetterBehavior;
+ (id)sharedSystemTypesetter;
+ (id)sharedSystemTypesetterForBehavior:(NSTypesetterBehavior)theBehavior;
// Instance Members
- (BOOL)bidiProcessingEnabled;
- (BOOL)usesFontLeading;
- (CGFloat)baselineOffsetInLayoutManager:(NSLayoutManager*)layoutMgr glyphIndex:(NSUInteger)glyphIndex;
- (CGFloat)lineFragmentPadding;
- (CGFloat)lineSpacingAfterGlyphAtIndex:(NSUInteger)glyphIndex withProposedLineFragmentRect:(NSRect)rect;
- (CGFloat)paragraphSpacingAfterGlyphAtIndex:(NSUInteger)glyphIndex withProposedLineFragmentRect:(NSRect)rect;
- (CGFloat)paragraphSpacingBeforeGlyphAtIndex:(NSUInteger)glyphIndex withProposedLineFragmentRect:(NSRect)rect;
- (NSArray*)textContainers;
- (NSAttributedString*)attributedString;
- (NSDictionary*)attributesForExtraLineFragment;
- (NSFont*)substituteFontForFont:(NSFont*)originalFont;
- (NSLayoutManager*)layoutManager;
- (NSParagraphStyle*)currentParagraphStyle;
- (NSRange)layoutCharactersInRange:(NSRange)characterRange forLayoutManager:(NSLayoutManager*)layoutManager maximumNumberOfLineFragments:(NSUInteger)maxNumLines AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
- (NSRange)paragraphCharacterRange;
- (NSRange)paragraphGlyphRange;
- (NSRange)paragraphSeparatorCharacterRange;
- (NSRange)paragraphSeparatorGlyphRange;
- (NSTextContainer*)currentTextContainer;
- (NSTextTab*)textTabForGlyphLocation:(CGFloat)glyphLocation writingDirection:(NSWritingDirection)direction maxLocation:(CGFloat)maxLocation;
- (NSTypesetterBehavior)typesetterBehavior;
- (NSTypesetterControlCharacterAction)actionForControlCharacterAtIndex:(NSUInteger)charIndex;
- (NSUInteger)layoutParagraphAtPoint:(NSPointPointer)lineFragmentOrigin;
- (float)hyphenationFactor;
- (void)beginLineWithGlyphAtIndex:(NSUInteger)glyphIndex;
- (void)beginParagraph;
- (void)endLineWithGlyphRange:(NSRange)lineGlyphRange;
- (void)endParagraph;
- (void)getLineFragmentRect:(NSRectPointer)lineFragmentRect usedRect:(NSRectPointer)lineFragmentUsedRect forParagraphSeparatorGlyphRange:(NSRange)paragraphSeparatorGlyphRange atProposedOrigin:(NSPoint)lineOrigin;
- (void)layoutGlyphsInLayoutManager:(NSLayoutManager*)layoutManager startingAtGlyphIndex:(NSUInteger)startGlyphIndex maxNumberOfLineFragments:(NSUInteger)maxNumLines nextGlyphIndex:(NSUInteger*)nextGlyph;
- (void)setAttributedString:(NSAttributedString*)attrString;
- (void)setBidiProcessingEnabled:(BOOL)flag;
- (void)setHardInvalidation:(BOOL)flag forGlyphRange:(NSRange)glyphRange;
- (void)setHyphenationFactor:(float)factor;
- (void)setLineFragmentPadding:(CGFloat)padding;
- (void)setParagraphGlyphRange:(NSRange)paragraphRange separatorGlyphRange:(NSRange)paragraphSeparatorRange;
- (void)setTypesetterBehavior:(NSTypesetterBehavior)behavior;
- (void)setUsesFontLeading:(BOOL)flag;
@interface NSTypesetter (NSLayoutPhaseInterface)
// Instance Members
- (BOOL)shouldBreakLineByHyphenatingBeforeCharacterAtIndex:(NSUInteger)charIndex;
- (BOOL)shouldBreakLineByWordBeforeCharacterAtIndex:(NSUInteger)charIndex;
- (NSRect)boundingBoxForControlGlyphAtIndex:(NSUInteger)glyphIndex forTextContainer:(NSTextContainer*)textContainer proposedLineFragment:(NSRect)proposedRect glyphPosition:(NSPoint)glyphPosition characterIndex:(NSUInteger)charIndex;
- (UTF32Char)hyphenCharacterForGlyphAtIndex:(NSUInteger)glyphIndex;
- (float)hyphenationFactorForGlyphAtIndex:(NSUInteger)glyphIndex;
- (void)willSetLineFragmentRect:(NSRectPointer)lineRect forGlyphRange:(NSRange)glyphRange usedRect:(NSRectPointer)usedRect baselineOffset:(CGFloat*)baselineOffset;
@interface NSTypesetter (NSGlyphStorageInterface)
// Instance Members
- (NSRange)characterRangeForGlyphRange:(NSRange)glyphRange actualGlyphRange:(NSRangePointer)actualGlyphRange;
- (NSRange)glyphRangeForCharacterRange:(NSRange)charRange actualCharacterRange:(NSRangePointer)actualCharRange;
- (NSUInteger)getGlyphsInRange:(NSRange)glyphsRange glyphs:(NSGlyph*)glyphBuffer characterIndexes:(NSUInteger*)charIndexBuffer glyphInscriptions:(NSGlyphInscription*)inscribeBuffer elasticBits:(BOOL*)elasticBuffer bidiLevels:(unsigned)char* bidiLevelBuffer;
- (void)deleteGlyphsInRange:(NSRange)glyphRange;
- (void)getLineFragmentRect:(NSRectPointer)lineFragmentRect usedRect:(NSRectPointer)lineFragmentUsedRect remainingRect:(NSRectPointer)remainingRect forStartingGlyphAtIndex:(NSUInteger)startingGlyphIndex proposedRect:(NSRect)proposedRect lineSpacing:(CGFloat)lineSpacing paragraphSpacingBefore:(CGFloat)paragraphSpacingBefore paragraphSpacingAfter:(CGFloat)paragraphSpacingAfter;
- (void)insertGlyph:(NSGlyph)glyph atGlyphIndex:(NSUInteger)glyphIndex characterIndex:(NSUInteger)characterIndex;
- (void)setAttachmentSize:(NSSize)attachmentSize forGlyphRange:(NSRange)glyphRange;
- (void)setBidiLevels:(const)uint8_t* levels:(forGlyphRange:)NSRange glyphRange;
- (void)setDrawsOutsideLineFragment:(BOOL)flag forGlyphRange:(NSRange)glyphRange;
- (void)setLineFragmentRect:(NSRect)fragmentRect forGlyphRange:(NSRange)glyphRange usedRect:(NSRect)usedRect baselineOffset:(CGFloat)baselineOffset;
- (void)setLocation:(NSPoint)location withAdvancements:(const)CGFloat* advancements:(forStartOfGlyphRange:)NSRange glyphRange;
- (void)setNotShownAttribute:(BOOL)flag forGlyphRange:(NSRange)glyphRange;
- (void)substituteGlyphsInRange:(NSRange)glyphRange withGlyphs:(NSGlyph*)glyphs;
@interface NSUserDefaultsController : NSController
// Class Members
+ (id)sharedUserDefaultsController;
// Instance Members
- (BOOL)appliesImmediately;
- (BOOL)hasUnappliedChanges;
- (NSDictionary*)initialValues;
- (NSUserDefaults*)defaults;
- (id)initWithDefaults:(NSUserDefaults*)defaults initialValues:(NSDictionary*)initialValues;
- (id)values;
- (void)revert:(id)sender;
- (void)revertToInitialValues:(id)sender;
- (void)save:(id)sender;
- (void)setAppliesImmediately:(BOOL)flag;
- (void)setInitialValues:(NSDictionary*)initialValues;
@interface NSView : NSResponder
// Class Members
+ (NSMenu*)defaultMenu;
+ (NSView*)focusView;
// Instance Members
- (BOOL)acceptsFirstMouse:(NSEvent*)theEvent;
- (BOOL)autoresizesSubviews;
- (BOOL)autoscroll:(NSEvent*)theEvent;
- (BOOL)canDraw;
- (BOOL)inLiveResize;
- (BOOL)isDescendantOf:(NSView*)aView;
- (BOOL)isFlipped;
- (BOOL)isHidden;
- (BOOL)isHiddenOrHasHiddenAncestor;
- (BOOL)isOpaque;
- (BOOL)isRotatedFromBase;
- (BOOL)isRotatedOrScaledFromBase;
- (BOOL)lockFocusIfCanDraw;
- (BOOL)lockFocusIfCanDrawInContext:(NSGraphicsContext*)context;
- (BOOL)mouse:(NSPoint)aPoint inRect:(NSRect)aRect;
- (BOOL)mouseDownCanMoveWindow;
- (BOOL)needsDisplay;
- (BOOL)needsPanelToBecomeKey;
- (BOOL)needsToDrawRect:(NSRect)aRect;
- (BOOL)performKeyEquivalent:(NSEvent*)theEvent;
- (BOOL)postsBoundsChangedNotifications;
- (BOOL)postsFrameChangedNotifications;
- (BOOL)preservesContentDuringLiveResize;
- (BOOL)scrollRectToVisible:(NSRect)aRect;
- (BOOL)shouldDelayWindowOrderingForEvent:(NSEvent*)theEvent;
- (BOOL)shouldDrawColor;
- (BOOL)wantsDefaultClipping;
- (BOOL)wantsLayer;
- (CALayer*)layer;
- (CGFloat)alphaValue;
- (CGFloat)boundsRotation;
- (CGFloat)frameCenterRotation;
- (CGFloat)frameRotation;
- (CIFilter*)compositingFilter;
- (NSArray*)backgroundFilters;
- (NSArray*)contentFilters;
- (NSArray*)subviews;
- (NSArray*)trackingAreas;
- (NSBitmapImageRep*)bitmapImageRepForCachingDisplayInRect:(NSRect)rect;
- (NSInteger)gState;
- (NSInteger)tag;
- (NSMenu*)menuForEvent:(NSEvent*)event;
- (NSPoint)convertPoint:(NSPoint)aPoint fromView:(NSView*)aView;
- (NSPoint)convertPoint:(NSPoint)aPoint toView:(NSView*)aView;
- (NSPoint)convertPointFromBase:(NSPoint)aPoint;
- (NSPoint)convertPointToBase:(NSPoint)aPoint;
- (NSRect)adjustScroll:(NSRect)newVisible;
- (NSRect)bounds;
- (NSRect)centerScanRect:(NSRect)aRect;
- (NSRect)convertRect:(NSRect)aRect toView:(NSView*)aView;
- (NSRect)convertRect:(NSRect)aRect fromView:(NSView*)aView;
- (NSRect)convertRectFromBase:(NSRect)aRect;
- (NSRect)convertRectToBase:(NSRect)aRect;
- (NSRect)frame;
- (NSRect)rectPreservedDuringLiveResize;
- (NSRect)visibleRect;
- (NSScrollView*)enclosingScrollView;
- (NSShadow*)shadow;
- (NSSize)convertSize:(NSSize)aSize toView:(NSView*)aView;
- (NSSize)convertSize:(NSSize)aSize fromView:(NSView*)aView;
- (NSSize)convertSizeFromBase:(NSSize)aSize;
- (NSSize)convertSizeToBase:(NSSize)aSize;
- (NSString*)toolTip;
- (NSToolTipTag)addToolTipRect:(NSRect)aRect owner:(id)anObject userData:(void*)data;
- (NSTrackingRectTag)addTrackingRect:(NSRect)aRect owner:(id)anObject userData:(void*)data assumeInside:(BOOL)flag;
- (NSUInteger)autoresizingMask;
- (NSView*)ancestorSharedWithView:(NSView*)aView;
- (NSView*)hitTest:(NSPoint)aPoint;
- (NSView*)opaqueAncestor;
- (NSView*)superview;
- (NSWindow*)window;
- (id)initWithFrame:(NSRect)frameRect;
- (id)viewWithTag:(NSInteger)aTag;
- (void)addCursorRect:(NSRect)aRect cursor:(NSCursor*)anObj;
- (void)addSubview:(NSView*)aView positioned:(NSWindowOrderingMode)place relativeTo:(NSView*)otherView;
- (void)addSubview:(NSView*)aView;
- (void)addTrackingArea:(NSTrackingArea*)trackingArea;
- (void)allocateGState;
- (void)cacheDisplayInRect:(NSRect)rect toBitmapImageRep:(NSBitmapImageRep*)bitmapImageRep;
- (void)didAddSubview:(NSView*)subview;
- (void)discardCursorRects;
- (void)display;
- (void)displayIfNeeded;
- (void)displayIfNeededIgnoringOpacity;
- (void)displayIfNeededInRect:(NSRect)rect;
- (void)displayIfNeededInRectIgnoringOpacity:(NSRect)rect;
- (void)displayRect:(NSRect)rect;
- (void)displayRectIgnoringOpacity:(NSRect)aRect inContext:(NSGraphicsContext*)context;
- (void)displayRectIgnoringOpacity:(NSRect)rect;
- (void)drawRect:(NSRect)rect;
- (void)getRectsBeingDrawn:(const)NSRect** rects:(count:)NSInteger* count;
- (void)getRectsExposedDuringLiveResize:(NSRect[4])exposedRects count:(NSInteger*)count;
- (void)lockFocus;
- (void)releaseGState;
- (void)removeAllToolTips;
- (void)removeCursorRect:(NSRect)aRect cursor:(NSCursor*)anObj;
- (void)removeFromSuperview;
- (void)removeFromSuperviewWithoutNeedingDisplay;
- (void)removeToolTip:(NSToolTipTag)tag;
- (void)removeTrackingArea:(NSTrackingArea*)trackingArea;
- (void)removeTrackingRect:(NSTrackingRectTag)tag;
- (void)renewGState;
- (void)replaceSubview:(NSView*)oldView with:(NSView*)newView;
- (void)resetCursorRects;
- (void)resizeSubviewsWithOldSize:(NSSize)oldSize;
- (void)resizeWithOldSuperviewSize:(NSSize)oldSize;
- (void)rotateByAngle:(CGFloat)angle;
- (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
- (void)scrollPoint:(NSPoint)aPoint;
- (void)scrollRect:(NSRect)aRect by:(NSSize)delta;
- (void)setAlphaValue:(CGFloat)viewAlpha;
- (void)setAutoresizesSubviews:(BOOL)flag;
- (void)setAutoresizingMask:(NSUInteger)mask;
- (void)setBackgroundFilters:(NSArray*)filters;
- (void)setBounds:(NSRect)aRect;
- (void)setBoundsOrigin:(NSPoint)newOrigin;
- (void)setBoundsRotation:(CGFloat)angle;
- (void)setBoundsSize:(NSSize)newSize;
- (void)setCompositingFilter:(CIFilter*)filter;
- (void)setContentFilters:(NSArray*)filters;
- (void)setFrame:(NSRect)frameRect;
- (void)setFrameCenterRotation:(CGFloat)angle;
- (void)setFrameOrigin:(NSPoint)newOrigin;
- (void)setFrameRotation:(CGFloat)angle;
- (void)setFrameSize:(NSSize)newSize;
- (void)setHidden:(BOOL)flag;
- (void)setLayer:(CALayer*)newLayer;
- (void)setNeedsDisplay:(BOOL)flag;
- (void)setNeedsDisplayInRect:(NSRect)invalidRect;
- (void)setPostsBoundsChangedNotifications:(BOOL)flag;
- (void)setPostsFrameChangedNotifications:(BOOL)flag;
- (void)setShadow:(NSShadow*)shadow;
- (void)setSubviews:(NSArray*)newSubviews;
- (void)setToolTip:(NSString*)string;
- (void)setUpGState;
- (void)setWantsLayer:(BOOL)flag;
- (void)sortSubviewsUsingFunction:(NSComparisonResult) *:()id, id,:(void*) compare:(context:)void* context;
- (void)translateOriginToPoint:(NSPoint)translation;
- (void)translateRectsNeedingDisplayInRect:(NSRect)clipRect by:(NSSize)delta;
- (void)unlockFocus;
- (void)updateTrackingAreas;
- (void)viewDidEndLiveResize;
- (void)viewDidHide;
- (void)viewDidMoveToSuperview;
- (void)viewDidMoveToWindow;
- (void)viewDidUnhide;
- (void)viewWillDraw;
- (void)viewWillMoveToSuperview:(NSView*)newSuperview;
- (void)viewWillMoveToWindow:(NSWindow*)newWindow;
- (void)viewWillStartLiveResize;
- (void)willRemoveSubview:(NSView*)subview;
@interface NSObject (NSToolTipOwner)
// Instance Members
- (NSString*)view:(NSView*)view stringForToolTip:(NSToolTipTag)tag point:(NSPoint)point userData:(void*)data;
@interface NSView (NSKeyboardUI)
// Class Members
+ (NSFocusRingType)defaultFocusRingType;
// Instance Members
- (BOOL)canBecomeKeyView;
- (BOOL)performMnemonic:(NSString*)theString;
- (NSFocusRingType)focusRingType;
- (NSView*)nextKeyView;
- (NSView*)nextValidKeyView;
- (NSView*)previousKeyView;
- (NSView*)previousValidKeyView;
- (void)setFocusRingType:(NSFocusRingType)focusRingType;
- (void)setKeyboardFocusRingNeedsDisplayInRect:(NSRect)rect;
- (void)setNextKeyView:(NSView*)next;
@interface NSView (NSPrinting)
// Instance Members
- (BOOL)knowsPageRange:(NSRangePointer)range;
- (CGFloat)heightAdjustLimit;
- (CGFloat)widthAdjustLimit;
- (NSAttributedString*)pageFooter;
- (NSAttributedString*)pageHeader;
- (NSData*)dataWithEPSInsideRect:(NSRect)rect;
- (NSData*)dataWithPDFInsideRect:(NSRect)rect;
- (NSPoint)locationOfPrintRect:(NSRect)aRect;
- (NSRect)rectForPage:(NSInteger)page;
- (NSString*)printJobTitle;
- (void)adjustPageHeightNew:(CGFloat*)newBottom top:(CGFloat)oldTop bottom:(CGFloat)oldBottom limit:(CGFloat)bottomLimit;
- (void)adjustPageWidthNew:(CGFloat*)newRight left:(CGFloat)oldLeft right:(CGFloat)oldRight limit:(CGFloat)rightLimit;
- (void)beginDocument;
- (void)beginPageInRect:(NSRect)aRect atPlacement:(NSPoint)location;
- (void)drawPageBorderWithSize:(NSSize)borderSize;
- (void)drawSheetBorderWithSize:(NSSize)borderSize;
- (void)endDocument;
- (void)endPage;
- (void)print:(id)sender;
- (void)writeEPSInsideRect:(NSRect)rect toPasteboard:(NSPasteboard*)pasteboard;
- (void)writePDFInsideRect:(NSRect)rect toPasteboard:(NSPasteboard*)pasteboard;
@interface NSView (NSDrag)
// Instance Members
- (BOOL)dragFile:(NSString*)filename fromRect:(NSRect)rect slideBack:(BOOL)aFlag event:(NSEvent*)event;
- (BOOL)dragPromisedFilesOfTypes:(NSArray*)typeArray fromRect:(NSRect)rect source:(id)sourceObject slideBack:(BOOL)aFlag event:(NSEvent*)event;
- (NSArray*)registeredDraggedTypes;
- (void)dragImage:(NSImage*)anImage at:(NSPoint)viewLocation offset:(NSSize)initialOffset event:(NSEvent*)event pasteboard:(NSPasteboard*)pboard source:(id)sourceObj slideBack:(BOOL)slideFlag;
- (void)registerForDraggedTypes:(NSArray*)newTypes;
- (void)unregisterDraggedTypes;
@interface NSView (NSFullScreenMode )
// Instance Members
- (BOOL)enterFullScreenMode:(NSScreen*)screen withOptions:(NSDictionary*)options;
- (BOOL)isInFullScreenMode;
- (void)exitFullScreenModeWithOptions:(NSDictionary*)options;
@interface NSViewController : NSResponder
// Instance Members
- (BOOL)commitEditing;
- (NSBundle*)nibBundle;
- (NSString*)nibName;
- (NSString*)title;
- (NSView*)view;
- (id)initWithNibName:(NSString*)nibNameOrNil bundle:(NSBundle*)nibBundleOrNil;
- (id)representedObject;
- (void)commitEditingWithDelegate:(id)delegate didCommitSelector:(SEL)didCommitSelector contextInfo:(void*)contextInfo;
- (void)discardEditing;
- (void)loadView;
- (void)setRepresentedObject:(id)representedObject;
- (void)setTitle:(NSString*)title;
- (void)setView:(NSView*)view;
@interface NSWindow : NSResponder
// Class Members
+ (CGFloat)minFrameWidthWithTitle:(NSString*)aTitle styleMask:(NSUInteger)aStyle;
+ (NSButton*)standardWindowButton:(NSWindowButton)b forStyleMask:(NSUInteger)styleMask;
+ (NSRect)contentRectForFrameRect:(NSRect)fRect styleMask:(NSUInteger)aStyle;
+ (NSRect)frameRectForContentRect:(NSRect)cRect styleMask:(NSUInteger)aStyle;
+ (NSWindowDepth)defaultDepthLimit;
+ (void)menuChanged:(NSMenu*)menu;
+ (void)removeFrameUsingName:(NSString*)name;
// Instance Members
- (BOOL)acceptsMouseMovedEvents;
- (BOOL)allowsToolTipsWhenApplicationIsInactive;
- (BOOL)areCursorRectsEnabled;
- (BOOL)autorecalculatesContentBorderThicknessForEdge:(NSRectEdge)edge;
- (BOOL)canBecomeKeyWindow;
- (BOOL)canBecomeMainWindow;
- (BOOL)canBecomeVisibleWithoutLogin;
- (BOOL)canHide;
- (BOOL)canStoreColor;
- (BOOL)displaysWhenScreenProfileChanges;
- (BOOL)hasDynamicDepthLimit;
- (BOOL)hasShadow;
- (BOOL)hidesOnDeactivate;
- (BOOL)ignoresMouseEvents;
- (BOOL)isAutodisplay;
- (BOOL)isDocumentEdited;
- (BOOL)isExcludedFromWindowsMenu;
- (BOOL)isFlushWindowDisabled;
- (BOOL)isKeyWindow;
- (BOOL)isMainWindow;
- (BOOL)isMiniaturized;
- (BOOL)isMovableByWindowBackground;
- (BOOL)isOneShot;
- (BOOL)isOpaque;
- (BOOL)isReleasedWhenClosed;
- (BOOL)isSheet;
- (BOOL)isVisible;
- (BOOL)isZoomed;
- (BOOL)makeFirstResponder:(NSResponder*)aResponder;
- (BOOL)preservesContentDuringLiveResize;
- (BOOL)setFrameAutosaveName:(NSString*)name;
- (BOOL)setFrameUsingName:(NSString*)name force:(BOOL)force;
- (BOOL)setFrameUsingName:(NSString*)name;
- (BOOL)showsResizeIndicator;
- (BOOL)tryToPerform:(SEL)anAction with:(id)anObject;
- (BOOL)viewsNeedDisplay;
- (BOOL)worksWhenModal;
- (CGFloat)alphaValue;
- (CGFloat)contentBorderThicknessForEdge:(NSRectEdge)edge;
- (CGFloat)userSpaceScaleFactor;
- (NSArray*)childWindows;
- (NSBackingStoreType)backingType;
- (NSButton*)standardWindowButton:(NSWindowButton)b;
- (NSColor*)backgroundColor;
- (NSData*)dataWithEPSInsideRect:(NSRect)rect;
- (NSData*)dataWithPDFInsideRect:(NSRect)rect;
- (NSDictionary*)deviceDescription;
- (NSDockTile*)dockTile;
- (NSEvent*)currentEvent;
- (NSEvent*)nextEventMatchingMask:(NSUInteger)mask;
- (NSEvent*)nextEventMatchingMask:(NSUInteger)mask untilDate:(NSDate*)expiration inMode:(NSString*)mode dequeue:(BOOL)deqFlag;
- (NSGraphicsContext*)graphicsContext;
- (NSImage*)miniwindowImage;
- (NSInteger)gState;
- (NSInteger)level;
- (NSInteger)resizeFlags;
- (NSInteger)windowNumber;
- (NSPoint)cascadeTopLeftFromPoint:(NSPoint)topLeftPoint;
- (NSPoint)convertBaseToScreen:(NSPoint)aPoint;
- (NSPoint)convertScreenToBase:(NSPoint)aPoint;
- (NSPoint)mouseLocationOutsideOfEventStream;
- (NSRect)constrainFrameRect:(NSRect)frameRect toScreen:(NSScreen*)screen;
- (NSRect)contentRectForFrameRect:(NSRect)frameRect;
- (NSRect)frame;
- (NSRect)frameRectForContentRect:(NSRect)contentRect;
- (NSResponder*)firstResponder;
- (NSScreen*)deepestScreen;
- (NSScreen*)screen;
- (NSSize)aspectRatio;
- (NSSize)contentAspectRatio;
- (NSSize)contentMaxSize;
- (NSSize)contentMinSize;
- (NSSize)contentResizeIncrements;
- (NSSize)maxSize;
- (NSSize)minSize;
- (NSSize)resizeIncrements;
- (NSString*)frameAutosaveName;
- (NSString*)miniwindowTitle;
- (NSString*)representedFilename;
- (NSString*)stringWithSavedFrame;
- (NSString*)title;
- (NSText*)fieldEditor:(BOOL)createFlag forObject:(id)anObject;
- (NSTimeInterval)animationResizeTime:(NSRect)newFrame;
- (NSUInteger)styleMask;
- (NSURL*)representedURL;
- (NSWindow*)attachedSheet;
- (NSWindow*)parentWindow;
- (NSWindowBackingLocation)backingLocation;
- (NSWindowBackingLocation)preferredBackingLocation;
- (NSWindowCollectionBehavior)collectionBehavior;
- (NSWindowDepth)depthLimit;
- (NSWindowSharingType)sharingType;
- (id)contentView;
- (id)delegate;
- (id)initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)aStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)flag screen:(NSScreen*)screen;
- (id)initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)aStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)flag;
- (id)validRequestorForSendType:(NSString*)sendType returnType:(NSString*)returnType;
- (id)windowController;
- (void)addChildWindow:(NSWindow*)childWin ordered:(NSWindowOrderingMode)place;
- (void)becomeKeyWindow;
- (void)becomeMainWindow;
- (void)cacheImageInRect:(NSRect)aRect;
- (void)center;
- (void)close;
- (void)deminiaturize:(id)sender;
- (void)disableCursorRects;
- (void)disableFlushWindow;
- (void)disableScreenUpdatesUntilFlush;
- (void)discardCachedImage;
- (void)discardCursorRects;
- (void)discardEventsMatchingMask:(NSUInteger)mask beforeEvent:(NSEvent*)lastEvent;
- (void)display;
- (void)displayIfNeeded;
- (void)enableCursorRects;
- (void)enableFlushWindow;
- (void)endEditingFor:(id)anObject;
- (void)flushWindow;
- (void)flushWindowIfNeeded;
- (void)invalidateCursorRectsForView:(NSView*)aView;
- (void)invalidateShadow;
- (void)keyDown:(NSEvent*)theEvent;
- (void)makeKeyAndOrderFront:(id)sender;
- (void)makeKeyWindow;
- (void)makeMainWindow;
- (void)miniaturize:(id)sender;
- (void)orderBack:(id)sender;
- (void)orderFront:(id)sender;
- (void)orderFrontRegardless;
- (void)orderOut:(id)sender;
- (void)orderWindow:(NSWindowOrderingMode)place relativeTo:(NSInteger)otherWin;
- (void)performClose:(id)sender;
- (void)performMiniaturize:(id)sender;
- (void)performZoom:(id)sender;
- (void)postEvent:(NSEvent*)event atStart:(BOOL)flag;
- (void)print:(id)sender;
- (void)removeChildWindow:(NSWindow*)childWin;
- (void)resetCursorRects;
- (void)resignKeyWindow;
- (void)resignMainWindow;
- (void)restoreCachedImage;
- (void)saveFrameUsingName:(NSString*)name;
- (void)sendEvent:(NSEvent*)theEvent;
- (void)setAcceptsMouseMovedEvents:(BOOL)flag;
- (void)setAllowsToolTipsWhenApplicationIsInactive:(BOOL)allowWhenInactive;
- (void)setAlphaValue:(CGFloat)windowAlpha;
- (void)setAspectRatio:(NSSize)ratio;
- (void)setAutodisplay:(BOOL)flag;
- (void)setAutorecalculatesContentBorderThickness:(BOOL)flag forEdge:(NSRectEdge)edge;
- (void)setBackgroundColor:(NSColor*)color;
- (void)setBackingType:(NSBackingStoreType)bufferingType;
- (void)setCanBecomeVisibleWithoutLogin:(BOOL)flag;
- (void)setCanHide:(BOOL)flag;
- (void)setCollectionBehavior:(NSWindowCollectionBehavior)behavior;
- (void)setContentAspectRatio:(NSSize)ratio;
- (void)setContentBorderThickness:(CGFloat)thickness forEdge:(NSRectEdge)edge;
- (void)setContentMaxSize:(NSSize)size;
- (void)setContentMinSize:(NSSize)size;
- (void)setContentResizeIncrements:(NSSize)increments;
- (void)setContentSize:(NSSize)aSize;
- (void)setContentView:(NSView*)aView;
- (void)setDelegate:(id)anObject;
- (void)setDepthLimit:(NSWindowDepth)limit;
- (void)setDisplaysWhenScreenProfileChanges:(BOOL)flag;
- (void)setDocumentEdited:(BOOL)flag;
- (void)setDynamicDepthLimit:(BOOL)flag;
- (void)setExcludedFromWindowsMenu:(BOOL)flag;
- (void)setFrame:(NSRect)frameRect display:(BOOL)displayFlag animate:(BOOL)animateFlag;
- (void)setFrame:(NSRect)frameRect display:(BOOL)flag;
- (void)setFrameFromString:(NSString*)string;
- (void)setFrameOrigin:(NSPoint)aPoint;
- (void)setFrameTopLeftPoint:(NSPoint)aPoint;
- (void)setHasShadow:(BOOL)hasShadow;
- (void)setHidesOnDeactivate:(BOOL)flag;
- (void)setIgnoresMouseEvents:(BOOL)flag;
- (void)setLevel:(NSInteger)newLevel;
- (void)setMaxSize:(NSSize)size;
- (void)setMinSize:(NSSize)size;
- (void)setMiniwindowImage:(NSImage*)image;
- (void)setMiniwindowTitle:(NSString*)title;
- (void)setMovableByWindowBackground:(BOOL)flag;
- (void)setOneShot:(BOOL)flag;
- (void)setOpaque:(BOOL)isOpaque;
- (void)setParentWindow:(NSWindow*)window;
- (void)setPreferredBackingLocation:(NSWindowBackingLocation)backingLocation;
- (void)setPreservesContentDuringLiveResize:(BOOL)flag;
- (void)setReleasedWhenClosed:(BOOL)flag;
- (void)setRepresentedFilename:(NSString*)aString;
- (void)setRepresentedURL:(NSURL*)url;
- (void)setResizeIncrements:(NSSize)increments;
- (void)setSharingType:(NSWindowSharingType)type;
- (void)setShowsResizeIndicator:(BOOL)show;
- (void)setTitle:(NSString*)aString;
- (void)setTitleWithRepresentedFilename:(NSString*)filename;
- (void)setViewsNeedDisplay:(BOOL)flag;
- (void)setWindowController:(NSWindowController*)windowController;
- (void)update;
- (void)useOptimizedDrawing:(BOOL)flag;
- (void)zoom:(id)sender;
@interface NSWindow (NSKeyboardUI)
// Instance Members
- (BOOL)autorecalculatesKeyViewLoop;
- (NSButtonCell*)defaultButtonCell;
- (NSSelectionDirection)keyViewSelectionDirection;
- (NSView*)initialFirstResponder;
- (void)disableKeyEquivalentForDefaultButtonCell;
- (void)enableKeyEquivalentForDefaultButtonCell;
- (void)recalculateKeyViewLoop;
- (void)selectKeyViewFollowingView:(NSView*)aView;
- (void)selectKeyViewPrecedingView:(NSView*)aView;
- (void)selectNextKeyView:(id)sender;
- (void)selectPreviousKeyView:(id)sender;
- (void)setAutorecalculatesKeyViewLoop:(BOOL)flag;
- (void)setDefaultButtonCell:(NSButtonCell*)defButt;
- (void)setInitialFirstResponder:(NSView*)view;
@interface NSWindow (NSToolbarSupport)
// Instance Members
- (BOOL)showsToolbarButton;
- (NSToolbar*)toolbar;
- (void)runToolbarCustomizationPalette:(id)sender;
- (void)setShowsToolbarButton:(BOOL)show;
- (void)setToolbar:(NSToolbar*)toolbar;
- (void)toggleToolbarShown:(id)sender;
@interface NSWindow (NSDrag)
// Instance Members
- (void)dragImage:(NSImage*)anImage at:(NSPoint)baseLocation offset:(NSSize)initialOffset event:(NSEvent*)event pasteboard:(NSPasteboard*)pboard source:(id)sourceObj slideBack:(BOOL)slideFlag;
- (void)registerForDraggedTypes:(NSArray*)newTypes;
- (void)unregisterDraggedTypes;
@interface NSWindow (NSCarbonExtensions)
// Instance Members
- (NSWindow*)initWithWindowRef:(void*)/* WindowRef*/:(windowRef;)
- (void*)/*:(WindowRef*/)windowRef;
@interface NSObject (NSWindowNotifications)
// Instance Members
- (void)windowDidBecomeKey:(NSNotification*)notification;
- (void)windowDidBecomeMain:(NSNotification*)notification;
- (void)windowDidChangeScreen:(NSNotification*)notification;
- (void)windowDidChangeScreenProfile:(NSNotification*)notification;
- (void)windowDidDeminiaturize:(NSNotification*)notification;
- (void)windowDidEndSheet:(NSNotification*)notification;
- (void)windowDidExpose:(NSNotification*)notification;
- (void)windowDidMiniaturize:(NSNotification*)notification;
- (void)windowDidMove:(NSNotification*)notification;
- (void)windowDidResignKey:(NSNotification*)notification;
- (void)windowDidResignMain:(NSNotification*)notification;
- (void)windowDidResize:(NSNotification*)notification;
- (void)windowDidUpdate:(NSNotification*)notification;
- (void)windowWillBeginSheet:(NSNotification*)notification;
- (void)windowWillClose:(NSNotification*)notification;
- (void)windowWillMiniaturize:(NSNotification*)notification;
- (void)windowWillMove:(NSNotification*)notification;
@interface NSObject (NSWindowDelegate)
// Instance Members
- (BOOL)window:(NSWindow*)window shouldDragDocumentWithEvent:(NSEvent*)event from:(NSPoint)dragImageLocation withPasteboard:(NSPasteboard*)pasteboard;
- (BOOL)window:(NSWindow*)window shouldPopUpDocumentPathMenu:(NSMenu*)menu;
- (BOOL)windowShouldClose:(id)sender;
- (BOOL)windowShouldZoom:(NSWindow*)window toFrame:(NSRect)newFrame;
- (NSRect)window:(NSWindow*)window willPositionSheet:(NSWindow*)sheet usingRect:(NSRect)rect;
- (NSRect)windowWillUseStandardFrame:(NSWindow*)window defaultFrame:(NSRect)newFrame;
- (NSSize)windowWillResize:(NSWindow*)sender toSize:(NSSize)frameSize;
- (NSUndoManager*)windowWillReturnUndoManager:(NSWindow*)window;
- (id)windowWillReturnFieldEditor:(NSWindow*)sender toObject:(id)client;
@interface NSWindowController : NSResponder
// Instance Members
- (BOOL)isWindowLoaded;
- (BOOL)shouldCascadeWindows;
- (BOOL)shouldCloseDocument;
- (IBAction)showWindow:(id)sender;
- (NSString*)windowFrameAutosaveName;
- (NSString*)windowNibName;
- (NSString*)windowNibPath;
- (NSString*)windowTitleForDocumentDisplayName:(NSString*)displayName;
- (NSWindow*)window;
- (id)document;
- (id)initWithWindow:(NSWindow*)window;
- (id)initWithWindowNibName:(NSString*)windowNibName owner:(id)owner;
- (id)initWithWindowNibName:(NSString*)windowNibName;
- (id)initWithWindowNibPath:(NSString*)windowNibPath owner:(id)owner;
- (id)owner;
- (void)close;
- (void)loadWindow;
- (void)setDocument:(NSDocument*)document;
- (void)setDocumentEdited:(BOOL)dirtyFlag;
- (void)setShouldCascadeWindows:(BOOL)flag;
- (void)setShouldCloseDocument:(BOOL)flag;
- (void)setWindow:(NSWindow*)window;
- (void)setWindowFrameAutosaveName:(NSString*)name;
- (void)synchronizeWindowTitleWithDocumentName;
- (void)windowDidLoad;
- (void)windowWillLoad;
@interface NSWindow (NSScripting)
// Instance Members
- (BOOL)hasCloseBox;
- (BOOL)hasTitleBar;
- (BOOL)isFloatingPanel;
- (BOOL)isMiniaturizable;
- (BOOL)isModalPanel;
- (BOOL)isResizable;
- (BOOL)isZoomable;
- (NSInteger)orderedIndex;
- (id)handleCloseScriptCommand:(NSCloseCommand*)command;
- (id)handlePrintScriptCommand:(NSScriptCommand*)command;
- (id)handleSaveScriptCommand:(NSScriptCommand*)command;
- (void)setIsMiniaturized:(BOOL)flag;
- (void)setIsVisible:(BOOL)flag;
- (void)setIsZoomed:(BOOL)flag;
- (void)setOrderedIndex:(NSInteger)index;
@interface NSWorkspace : NSObject
// Class Members
+ (NSWorkspace*)sharedWorkspace;
// Instance Members
- (BOOL)fileSystemChanged;
- (BOOL)filenameExtension:(NSString*)filenameExtension isValidForType:(NSString*)typeName;
- (BOOL)getFileSystemInfoForPath:(NSString*)fullPath isRemovable:(BOOL*)removableFlag isWritable:(BOOL*)writableFlag isUnmountable:(BOOL*)unmountableFlag description:(NSString**)description type:(NSString**)fileSystemType;
- (BOOL)getInfoForFile:(NSString*)fullPath application:(NSString**)appName type:(NSString**)type;
- (BOOL)isFilePackageAtPath:(NSString*)fullPath;
- (BOOL)launchAppWithBundleIdentifier:(NSString*)bundleIdentifier options:(NSWorkspaceLaunchOptions)options additionalEventParamDescriptor:(NSAppleEventDescriptor*)descriptor launchIdentifier:(NSNumber**)identifier;
- (BOOL)launchApplication:(NSString*)appName;
- (BOOL)launchApplication:(NSString*)appName showIcon:(BOOL)showIcon autolaunch:(BOOL)autolaunch;
- (BOOL)openFile:(NSString*)fullPath fromImage:(NSImage*)anImage at:(NSPoint)point inView:(NSView*)aView;
- (BOOL)openFile:(NSString*)fullPath;
- (BOOL)openFile:(NSString*)fullPath withApplication:(NSString*)appName;
- (BOOL)openFile:(NSString*)fullPath withApplication:(NSString*)appName andDeactivate:(BOOL)flag;
- (BOOL)openTempFile:(NSString*)fullPath;
- (BOOL)openURL:(NSURL*)url;
- (BOOL)openURLs:(NSArray*)urls withAppBundleIdentifier:(NSString*)bundleIdentifier options:(NSWorkspaceLaunchOptions)options additionalEventParamDescriptor:(NSAppleEventDescriptor*)descriptor launchIdentifiers:(NSArray**)identifiers;
- (BOOL)performFileOperation:(NSString*)operation source:(NSString*)source destination:(NSString*)destination files:(NSArray*)files tag:(NSInteger*)tag;
- (BOOL)selectFile:(NSString*)fullPath inFileViewerRootedAtPath:(NSString*)rootFullpath;
- (BOOL)setIcon:(NSImage*)image forFile:(NSString*)fullPath options:(NSWorkspaceIconCreationOptions)options;
- (BOOL)type:(NSString*)firstTypeName conformsToType:(NSString*)secondTypeName;
- (BOOL)unmountAndEjectDeviceAtPath:(NSString*)path;
- (BOOL)userDefaultsChanged;
- (NSArray*)launchedApplications;
- (NSArray*)mountNewRemovableMedia;
- (NSArray*)mountedLocalVolumePaths;
- (NSArray*)mountedRemovableMedia;
- (NSDictionary*)activeApplication;
- (NSImage*)iconForFile:(NSString*)fullPath;
- (NSImage*)iconForFileType:(NSString*)fileType;
- (NSImage*)iconForFiles:(NSArray*)fullPaths;
- (NSInteger)extendPowerOffBy:(NSInteger)requested;
- (NSNotificationCenter*)notificationCenter;
- (NSString*)absolutePathForAppBundleWithIdentifier:(NSString*)bundleIdentifier;
- (NSString*)fullPathForApplication:(NSString*)appName;
- (NSString*)localizedDescriptionForType:(NSString*)typeName;
- (NSString*)preferredFilenameExtensionForType:(NSString*)typeName;
- (NSString*)typeOfFile:(NSString*)absoluteFilePath error:(NSError**)outError;
- (void)checkForRemovableMedia;
- (void)findApplications;
- (void)hideOtherApplications;
- (void)noteFileSystemChanged;
- (void)noteFileSystemChanged:(NSString*)path;
- (void)noteUserDefaultsChanged;
- (void)slideImage:(NSImage*)image from:(NSPoint)fromPoint to:(NSPoint)toPoint;