MonobjcMonobjc Documented Class Library
NSDocument Class
NamespacesMonobjc.AppKitNSDocument

[Missing <summary> documentation for "T:Monobjc.AppKit.NSDocument"]

Declaration Syntax
C#Visual BasicVisual C++
Public Class NSDocument _
	Inherits NSObject _
	Implements IManagedWrapper, INSUserInterfaceValidations
public ref class NSDocument : public NSObject, 
	IManagedWrapper, INSUserInterfaceValidations
Members
All MembersConstructorsMethodsPropertiesFields



IconMemberDescription
NSDocument(NSURL, NSString, NSError%)

Initializes a document located by a URL of a specified type.

Original signature is '- (id)initWithContentsOfURL:(NSURL *)absoluteURL ofType:(NSString *)typeName error:(NSError **)outError'

Available in Mac OS X v10.4 and later.


NSDocument(NSString, NSError%)

Initializes a document of a specified type.

Original signature is '- (id)initWithType:(NSString *)typeName error:(NSError **)outError'

Available in Mac OS X v10.4 and later.


NSDocument()()()()
Initializes a new instance of the NSDocument class.

NSDocument(IntPtr)
Initializes a new instance of the NSDocument class.

NSDocument(String, Object, array<Object>[]()[][])
Initializes a new instance of the NSDocument class.

AddObserverForKeyPathOptionsContext(NSObject, NSString, NSKeyValueObservingOptions, IntPtr)

Registers anObserver to receive KVO notifications for the specified key-path relative to the receiver.

Original signature is '- (void)addObserver:(NSObject *)anObserver forKeyPath:(NSString *)keyPath options:(NSKeyValueObservingOptions)options context:(void *)context'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
AddWindowController(NSWindowController)

Adds the specified window controller to the array of window controllers associated with the receiver.

Original signature is '- (void)addWindowController:(NSWindowController *)aController'

Available in Mac OS X v10.0 and later.


Alloc()()()()
Allocates a new native instance.
(Inherited from Id.)
AttributeKeys

Returns an array of NSString objects containing the names of immutable values that instances of the receiver's class contain.

Original signature is '- (NSArray *)attributeKeys'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
AutoContentAccessingProxy

Creates and returns an autoreleased proxy for the receiving object

Original signature is '- (id)autoContentAccessingProxy'

Available in Mac OS X v10.6 and later.

(Inherited from NSObject.)
Autorelease()()()()

Adds the receiver to the current autorelease pool.

Original signature is '- (id)autorelease'

Available in Mac OS X v10.0 and later.

(Inherited from Id.)
AutosavedContentsFileURL

Returns the location of the most recently autosaved document contents.

Original signature is '- (NSURL *)autosavedContentsFileURL'

Available in Mac OS X v10.4 and later.


AutosaveDocumentWithDelegateDidAutosaveSelectorContextInfo(Id, IntPtr, IntPtr)

Autosaves the document’s contents at an appropriate location.

Original signature is '- (void)autosaveDocumentWithDelegate:(id)delegate didAutosaveSelector:(SEL)didAutosaveSelector contextInfo:(void *)contextInfo'

Available in Mac OS X v10.4 and later.


AutosavingFileType

Returns the document type that should be used for an autosave operation.

Original signature is '- (NSString *)autosavingFileType'

Available in Mac OS X v10.4 and later.


AwakeAfterUsingCoder(NSCoder)

Overridden by subclasses to substitute another object in place of the object that was decoded and subsequently received this message.

Original signature is '- (id)awakeAfterUsingCoder:(NSCoder *)aDecoder'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
BindToObjectWithKeyPathOptions(NSString, Id, NSString, NSDictionary)

Establishes a binding between a given property of the receiver and the property of a given object specified by a given key path.

Original signature is '- (void)bind:(NSString *)binding toObject:(id)observableController withKeyPath:(NSString *)keyPath options:(NSDictionary *)options'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
CanCloseDocument

This method is no longer supported. (Available in Mac OS X v10.0 through Mac OS X v10.3. Use canCloseDocumentWithDelegate:shouldCloseSelector:contextInfo: instead.)

Original signature is '- (BOOL)canCloseDocument'

Available in Mac OS X v10.0 and later.


CanCloseDocumentWithDelegateShouldCloseSelectorContextInfo(Id, IntPtr, IntPtr)

If the receiver is not dirty, this method immediately calls the shouldCloseSelector callback on the specified delegate with YES.

Original signature is '- (void)canCloseDocumentWithDelegate:(id)delegate shouldCloseSelector:(SEL)shouldCloseSelector contextInfo:(void *)contextInfo'

Available in Mac OS X v10.0 and later.


CanConcurrentlyReadDocumentsOfType(NSString)

Returns a Boolean value indicating whether the receiver reads multiple documents of the given type concurrently.

Original signature is '+ (BOOL)canConcurrentlyReadDocumentsOfType:(NSString *)typeName'

Available in Mac OS X v10.6 and later.


CastAs<(Of <<'(T>)>>)()()()()
Try to cast the current instance to the given type. The cast is dynamically tested for safety.
(Inherited from Id.)
CastTo<(Of <<'(T>)>>)()()()()
Cast the current instance to the given type. The cast is dynamically tested for safety.
(Inherited from Id.)
Class

Gets the class of the underlying instance.

(Inherited from Id.)
ClassCode

Returns the receiver's Apple event type code, as stored in the NSScriptClassDescription object for the object’s class.

Original signature is '- (FourCharCode)classCode'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ClassDescription

Returns an object containing information about the attributes and relationships of the receiver’s class.

Original signature is '- (NSClassDescription *)classDescription'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ClassForArchiver

Overridden by subclasses to substitute a class other than its own during archiving.

Original signature is '- (Class)classForArchiver'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ClassForCoder

Overridden by subclasses to substitute a class other than its own during coding.

Original signature is '- (Class)classForCoder'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ClassForKeyedArchiver

Overridden by subclasses to substitute a new class for instances during keyed archiving.

Original signature is '- (Class)classForKeyedArchiver'

Available in Mac OS X v10.2 and later.

(Inherited from NSObject.)
ClassForPortCoder

Overridden by subclasses to substitute a class other than its own for distribution encoding.

Original signature is '- (Class)classForPortCoder'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ClassName

Returns a string containing the name of the class.

Original signature is '- (NSString *)className'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
Close()()()()

Closes all windows owned by the receiver and removes the receiver from the list of documents maintained by the document controller, which consequently releases it.

Original signature is '- (void)close'

Available in Mac OS X v10.0 and later.


CoerceValueForKey(Id, NSString)

Uses type info from the class description and NSScriptCoercionHandler to attempt to convert value for key to the proper type, if necessary.

Original signature is '- (id)coerceValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ConformsToProtocol(IntPtr)

Returns a Boolean value that indicates whether the receiver conforms to a given protocol. (required)

Original signature is '- (BOOL)conformsToProtocol:(Protocol *)aProtocol'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
Copy()()()()

Returns the object returned by copyWithZone:, where the zone is nil.

Original signature is '- (id)copy'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
CopyScriptingValueForKeyWithProperties(Id, NSString, NSDictionary)

Creates and returns one or more scripting objects to be inserted into the specified relationship by copying the passed-in value and setting the properties in the copied object or objects.

Original signature is '- (id)copyScriptingValue:(id)value forKey:(NSString *)key withProperties:(NSDictionary *)properties'

Available in Mac OS X v10.5 and later.

(Inherited from NSObject.)
DataOfTypeError(NSString, NSError%)

Creates and returns a data object that contains the contents of the document, formatted to a specified type.

Original signature is '- (NSData *)dataOfType:(NSString *)typeName error:(NSError **)outError'

Available in Mac OS X v10.4 and later.


DataRepresentationOfType(NSString) Obsolete.

A primitive method overridden by subclasses to return a data object that represents the data of the receiver in a given type. (Deprecated in Mac OS X v10.4. Use dataOfType:error: instead.)

Original signature is '- (NSData *)dataRepresentationOfType:(NSString *)aType'

Available in Mac OS X v10.0 and later.


Dealloc()()()()

Deallocates the memory occupied by the receiver.

Original signature is '- (void)dealloc'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
Description

Returns a string that describes the contents of the receiver. (required)

Original signature is '- (NSString *)description'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
DictionaryWithValuesForKeys(NSArray)

Returns a dictionary containing the property values identified by each of the keys in a given array.

Original signature is '- (NSDictionary *)dictionaryWithValuesForKeys:(NSArray *)keys'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
DidChangeValueForKey(NSString)

Invoked to inform the receiver that the value of a given property has changed.

Original signature is '- (void)didChangeValueForKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
DidChangeValueForKeyWithSetMutationUsingObjects(NSString, NSKeyValueSetMutationKind, NSSet)

Invoked to inform the receiver that the specified change was made to a specified unordered to-many relationship.

Original signature is '- (void)didChangeValueForKey:(NSString *)key withSetMutation:(NSKeyValueSetMutationKind)mutationKind usingObjects:(NSSet *)objects'

Available in Mac OS X v10.4 and later.

(Inherited from NSObject.)
DidChangeValuesAtIndexesForKey(NSKeyValueChange, NSIndexSet, NSString)

Invoked to inform the receiver that the specified change has occurred on the indexes for a specified ordered to-many relationship.

Original signature is '- (void)didChange:(NSKeyValueChange)change valuesAtIndexes:(NSIndexSet *)indexes forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
DisplayName

Returns the name of the receiver as displayed in the title bars of the document’s windows and in alert dialogs related to the document.

Original signature is '- (NSString *)displayName'

Available in Mac OS X v10.0 and later.


Dispose()()()()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from Id.)
Dispose(Boolean)
Releases unmanaged and - optionally - managed resources
(Inherited from Id.)
DoesNotRecognizeSelector(IntPtr)

Handles messages the receiver doesn’t recognize.

Original signature is '- (void)doesNotRecognizeSelector:(SEL)aSelector'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
Equals(Id)
Indicates whether the current object is equal to another object of the same type.
(Inherited from Id.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Id.)
ExposedBindings

Returns an array containing the bindings exposed by the receiver.

Original signature is '- (NSArray *)exposedBindings'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
FileAttributesToWriteToFileOfTypeSaveOperation(NSString, NSString, NSSaveOperationType) Obsolete.

Returns the file attributes that should be written to the named document file of the specified type. (Deprecated in Mac OS X v10.4. Use fileAttributesToWriteToURL:ofType:forSaveOperation:originalContentsURL:error: instead.)

Original signature is '- (NSDictionary *)fileAttributesToWriteToFile:(NSString *)fullDocumentPath ofType:(NSString *)docType saveOperation:(NSSaveOperationType)saveOperationType'

Available in Mac OS X v10.1 and later.


FileAttributesToWriteToURLOfTypeForSaveOperationOriginalContentsURLError(NSURL, NSString, NSSaveOperationType, NSURL, NSError%)

As a file is being saved, returns the attributes that should be written to a file or file package located by a URL, formatted to a specified type, for a particular kind of save operation.

Original signature is '- (NSDictionary *)fileAttributesToWriteToURL:(NSURL *)absoluteURL ofType:(NSString *)typeName forSaveOperation:(NSSaveOperationType)saveOperation originalContentsURL:(NSURL *)absoluteOriginalContentsURL error:(NSError **)outError'

Available in Mac OS X v10.4 and later.


FileModificationDate

Returns the last known modification date of the document's on-disk representation.

Original signature is '- (NSDate *)fileModificationDate'

Available in Mac OS X v10.4 and later.


FileName Obsolete.

Returns the filename (as a fully qualified path) under which the receiver has been saved. (Deprecated in Mac OS X v10.4. Use fileURL instead.)

Original signature is '- (NSString *)fileName'

Available in Mac OS X v10.0 and later.


FileNameExtensionForTypeSaveOperation(NSString, NSSaveOperationType)

Returns a filename extension that can be appended to a base filename, for a specified file type and kind of save operation.

Original signature is '- (NSString *)fileNameExtensionForType:(NSString *)typeName saveOperation:(NSSaveOperationType)saveOperation'

Available in Mac OS X v10.5 and later.


FileNameExtensionWasHiddenInLastRunSavePanel

Returns YES if a Save panel was presented by this document and the user chose to hide the name extension of the file that was selected in that Save panel.

Original signature is '- (BOOL)fileNameExtensionWasHiddenInLastRunSavePanel'

Available in Mac OS X v10.1 and later.


FileNameFromRunningSavePanelForSaveOperation(NSSaveOperationType)

Returns the filename entered into the Save panel. (Available in Mac OS X v10.0 through Mac OS X v10.3. Use saveDocumentWithDelegate:didSaveSelector:contextInfo: instead.)

Original signature is '- (NSString *)fileNameFromRunningSavePanelForSaveOperation:(NSSaveOperationType)saveOperation'

Available in Mac OS X v10.0 and later.


FileType

Returns the document type under which the receiver is saved.

Original signature is '- (NSString *)fileType'

Available in Mac OS X v10.0 and later.


FileTypeFromLastRunSavePanel

Returns the file type that was last selected in the Save panel.

Original signature is '- (NSString *)fileTypeFromLastRunSavePanel'

Available in Mac OS X v10.0 and later.


FileURL

Returns the location of the document's on-disk representation.

Original signature is '- (NSURL *)fileURL'

Available in Mac OS X v10.4 and later.


FileWrapperOfTypeError(NSString, NSError%)

Creates and returns a file wrapper that contains the contents of the document, formatted to the specified type.

Original signature is '- (NSFileWrapper *)fileWrapperOfType:(NSString *)typeName error:(NSError **)outError'

Available in Mac OS X v10.4 and later.


FileWrapperRepresentationOfType(NSString) Obsolete.

Returns an NSFileWrapper object that represents the data of the receiver in a given type. (Deprecated in Mac OS X v10.4. Use fileWrapperOfType:error: instead.)

Original signature is '- (NSFileWrapper *)fileWrapperRepresentationOfType:(NSString *)aType'

Available in Mac OS X v10.0 and later.


Finalize()()()()
Releases unmanaged resources and performs other cleanup operations before the Id is reclaimed by garbage collection.
(Inherited from Id.)
ForwardingTargetForSelector(IntPtr)

Returns the object to which unrecognized messages should first be directed.

Original signature is '- (id)forwardingTargetForSelector:(SEL)aSelector'

Available in Mac OS X v10.6 and later.

(Inherited from NSObject.)
ForwardInvocation(NSInvocation)

Overridden by subclasses to forward messages to other objects.

Original signature is '- (void)forwardInvocation:(NSInvocation *)anInvocation'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Id.)
GetInstanceVariable<(Of <<'(T>)>>)(String)
Gets the instance variable of the specified name.
(Inherited from Id.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
HandleCloseScriptCommand(NSCloseCommand)

Handles the Close AppleScript command by attempting to close the document.

Original signature is '- (id)handleCloseScriptCommand:(NSCloseCommand *)command'

Available in Mac OS X v10.0 and later.


HandlePrintScriptCommand(NSScriptCommand)

Handles the Print AppleScript command by attempting to print the document.

Original signature is '- (id)handlePrintScriptCommand:(NSScriptCommand *)command'

Available in Mac OS X v10.0 and later.


HandleSaveScriptCommand(NSScriptCommand)

Handles the Save AppleScript command by attempting to save the document.

Original signature is '- (id)handleSaveScriptCommand:(NSScriptCommand *)command'

Available in Mac OS X v10.0 and later.


Hash

Returns an integer that can be used as a table address in a hash table structure. (required)

Original signature is '- (NSUInteger)hash'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
HasUnautosavedChanges

Return YES if the document has changes that have not been autosaved, as determined by the history of previous invocations of updateChangeCount:.

Original signature is '- (BOOL)hasUnautosavedChanges'

Available in Mac OS X v10.4 and later.


HasUndoManager

Returns a Boolean value indicating whether the receiver owns or should own an NSUndoManager object.

Original signature is '- (BOOL)hasUndoManager'

Available in Mac OS X v10.0 and later.


InfoForBinding(NSString)

Returns a dictionary describing the receiver’s binding.

Original signature is '- (NSDictionary *)infoForBinding:(NSString *)binding'

Available in Mac OS X v10.4 and later.

(Inherited from NSObject.)
Init()()()()

Implemented by subclasses to initialize a new object (the receiver) immediately after memory for it has been allocated.

Original signature is '- (id)init'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
InitForURLWithContentsOfURLOfTypeError(NSURL, NSURL, NSString, NSError%)

Initializes a document located by a URL of a specified type, but by reading the contents for the document from a different URL.

Original signature is '- (id)initForURL:(NSURL *)absoluteDocumentURL withContentsOfURL:(NSURL *)absoluteDocumentContentsURL ofType:(NSString *)typeName error:(NSError **)outError'

Available in Mac OS X v10.4 and later.


InitWithContentsOfFileOfType(NSString, NSString) Obsolete.

Initializes and returns an NSDocument object. (Deprecated in Mac OS X v10.4. Use initWithContentsOfURL:ofType:error: instead.)

Original signature is '- (id)initWithContentsOfFile:(NSString *)fileName ofType:(NSString *)docType'

Available in Mac OS X v10.0 and later.


InitWithContentsOfURLOfType(NSURL, NSString) Obsolete.

Initializes and returns an NSDocument object of a given document type. (Deprecated in Mac OS X v10.4. Use initWithContentsOfURL:ofType:error: instead.)

Original signature is '- (id)initWithContentsOfURL:(NSURL *)aURL ofType:(NSString *)docType'

Available in Mac OS X v10.0 and later.


InitWithContentsOfURLOfTypeError(NSURL, NSString, NSError%)

Initializes a document located by a URL of a specified type.

Original signature is '- (id)initWithContentsOfURL:(NSURL *)absoluteURL ofType:(NSString *)typeName error:(NSError **)outError'

Available in Mac OS X v10.4 and later.


InitWithTypeError(NSString, NSError%)

Initializes a document of a specified type.

Original signature is '- (id)initWithType:(NSString *)typeName error:(NSError **)outError'

Available in Mac OS X v10.4 and later.


InsertValueAtIndexInPropertyWithKey(Id, NSUInteger, NSString)

Inserts an object at the specified index in the collection specified by the passed key.

Original signature is '- (void)insertValue:(id)value atIndex:(NSUInteger)index inPropertyWithKey:(NSString *)key'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
InsertValueInPropertyWithKey(Id, NSString)

Inserts an object in the collection specified by the passed key.

Original signature is '- (void)insertValue:(id)value inPropertyWithKey:(NSString *)key'

Available in Mac OS X v10.2 and later.

(Inherited from NSObject.)
InverseForRelationshipKey(NSString)

For a given key that defines the name of the relationship from the receiver’s class to another class, returns the name of the relationship from the other class to the receiver’s class.

Original signature is '- (NSString *)inverseForRelationshipKey:(NSString *)relationshipKey'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
IsDocumentEdited

Returns YES if the receiver has changes that have not been saved, NO otherwise.

Original signature is '- (BOOL)isDocumentEdited'

Available in Mac OS X v10.0 and later.


IsEqual(Id)

Returns a Boolean value that indicates whether the receiver and a given object are equal. (required)

Original signature is '- (BOOL)isEqual:(id)anObject'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
IsKindOfClass(Class)

Returns a Boolean value that indicates whether the receiver is an instance of given class or an instance of any class that inherits from that class. (required)

Original signature is '- (BOOL)isKindOfClass:(Class)aClass'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
IsMemberOfClass(Class)

Returns a Boolean value that indicates whether the receiver is an instance of a given class. (required)

Original signature is '- (BOOL)isMemberOfClass:(Class)aClass'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
IsNativeType(NSString)

Returns a Boolean value indicating whether document data of the specified type is a native type—one the receiver can both read and write.

Original signature is '+ (BOOL)isNativeType:(NSString *)aType'

Available in Mac OS X v10.0 and later.


IsProxy

Returns a Boolean value that indicates whether the receiver does not descend from NSObject. (required)

Original signature is '- (BOOL)isProxy'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
KeepBackupFile

Returns a Boolean value indicating whether the receiver should keep the backup files created before document data is written to a file (NO by default).

Original signature is '- (BOOL)keepBackupFile'

Available in Mac OS X v10.0 and later.


LastComponentOfFileName

Returns the document name in terms of the scripting name property (the name a script writer would use to specify the document in a script).

Original signature is '- (NSString *)lastComponentOfFileName'

Available in Mac OS X v10.0 and later.


LoadDataRepresentationOfType(NSData, NSString) Obsolete.

Overridden by subclasses to load document data. (Deprecated in Mac OS X v10.4. Use readFromData:ofType:error: instead.)

Original signature is '- (BOOL)loadDataRepresentation:(NSData *)docData ofType:(NSString *)docType'

Available in Mac OS X v10.0 and later.


LoadFileWrapperRepresentationOfType(NSFileWrapper, NSString) Obsolete.

Loads document data from a given file wrapper. (Deprecated in Mac OS X v10.4. Use readFromFileWrapper:ofType:error: instead.)

Original signature is '- (BOOL)loadFileWrapperRepresentation:(NSFileWrapper *)wrapper ofType:(NSString *)docType'

Available in Mac OS X v10.0 and later.


MakeWindowControllers()()()()

Subclasses may override this method to create the initial window controller(s) for the document.

Original signature is '- (void)makeWindowControllers'

Available in Mac OS X v10.0 and later.


MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
MethodForSelector(IntPtr)

Locates and returns the address of the receiver’s implementation of a method so it can be called as a function.

Original signature is '- (IMP)methodForSelector:(SEL)aSelector'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
MethodSignatureForSelector(IntPtr)

Returns an NSMethodSignature object that contains a description of the method identified by a given selector.

Original signature is '- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
MutableArrayValueForKey(NSString)

Returns a mutable array proxy that provides read-write access to an ordered to-many relationship specified by a given key.

Original signature is '- (NSMutableArray *)mutableArrayValueForKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
MutableArrayValueForKeyPath(NSString)

Returns a mutable array that provides read-write access to the ordered to-many relationship specified by a given key path.

Original signature is '- (NSMutableArray *)mutableArrayValueForKeyPath:(NSString *)keyPath'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
MutableCopy()()()()

Returns the object returned by mutableCopyWithZone: where the zone is nil.

Original signature is '- (id)mutableCopy'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
MutableSetValueForKey(NSString)

Returns a mutable set proxy that provides read-write access to the unordered to-many relationship specified by a given key.

Original signature is '- (NSMutableSet *)mutableSetValueForKey:(NSString *)key'

Available in Mac OS X v10.4 and later.

(Inherited from NSObject.)
MutableSetValueForKeyPath(NSString)

Returns a mutable set that provides read-write access to the unordered to-many relationship specified by a given key path.

Original signature is '- (NSMutableSet *)mutableSetValueForKeyPath:(NSString *)keyPath'

Available in Mac OS X v10.4 and later.

(Inherited from NSObject.)
NativePointer
Gets or sets the native pointer.
(Inherited from Id.)
NewScriptingObjectOfClassForValueForKeyWithContentsValueProperties(Class, NSString, Id, NSDictionary)

Creates and returns an instance of a scriptable class, setting its contents and properties, for insertion into the relationship identified by the key.

Original signature is '- (id)newScriptingObjectOfClass:(Class)class forValueForKey:(NSString *)key withContentsValue:(id)contentsValue properties:(NSDictionary *)properties'

Available in Mac OS X v10.5 and later.

(Inherited from NSObject.)
NSDocumentClass
Static field for a quick access to the NSDocument class.

ObjectSpecifier

Returns an object specifier for the document.

Original signature is '- (NSScriptObjectSpecifier *)objectSpecifier'

Available in Mac OS X v10.0 and later.


ObservationInfo

Returns a pointer that identifies information about all of the observers that are registered with the receiver.

Original signature is '- (void *)observationInfo'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
ObserveValueForKeyPathOfObjectChangeContext(NSString, Id, NSDictionary, IntPtr)

This message is sent to the receiver when the value at the specified key path relative to the given object has changed.

Original signature is '- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
OptionDescriptionsForBinding(NSString)

Returns an array describing the options for the specified binding.

Original signature is '- (NSArray *)optionDescriptionsForBinding:(NSString *)binding'

Available in Mac OS X v10.5 and later.

(Inherited from NSObject.)
PerformSelector(IntPtr)

Sends a specified message to the receiver and returns the result of the message. (required)

Original signature is '- (id)performSelector:(SEL)aSelector'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
PerformSelectorInBackgroundWithObject(IntPtr, Id)

Invokes a method of the receiver on a new background thread.

Original signature is '- (void)performSelectorInBackground:(SEL)aSelector withObject:(id)arg'

Available in Mac OS X v10.5 and later.

(Inherited from NSObject.)
PerformSelectorOnMainThreadWithObjectWaitUntilDone(IntPtr, Id, Boolean)

Invokes a method of the receiver on the main thread using the default mode.

Original signature is '- (void)performSelectorOnMainThread:(SEL)aSelector withObject:(id)arg waitUntilDone:(BOOL)wait'

Available in Mac OS X v10.2 and later.

(Inherited from NSObject.)
PerformSelectorOnMainThreadWithObjectWaitUntilDoneModes(IntPtr, Id, Boolean, NSArray)

Invokes a method of the receiver on the main thread using the specified modes.

Original signature is '- (void)performSelectorOnMainThread:(SEL)aSelector withObject:(id)arg waitUntilDone:(BOOL)wait modes:(NSArray *)array'

Available in Mac OS X v10.2 and later.

(Inherited from NSObject.)
PerformSelectorOnThreadWithObjectWaitUntilDone(IntPtr, NSThread, Id, Boolean)

Invokes a method of the receiver on the specified thread using the default mode.

Original signature is '- (void)performSelector:(SEL)aSelector onThread:(NSThread *)thr withObject:(id)arg waitUntilDone:(BOOL)wait'

Available in Mac OS X v10.5 and later.

(Inherited from NSObject.)
PerformSelectorOnThreadWithObjectWaitUntilDoneModes(IntPtr, NSThread, Id, Boolean, NSArray)

Invokes a method of the receiver on the specified thread using the specified modes.

Original signature is '- (void)performSelector:(SEL)aSelector onThread:(NSThread *)thr withObject:(id)arg waitUntilDone:(BOOL)wait modes:(NSArray *)array'

Available in Mac OS X v10.5 and later.

(Inherited from NSObject.)
PerformSelectorWithObject(IntPtr, Id)

Sends a message to the receiver with an object as the argument. (required)

Original signature is '- (id)performSelector:(SEL)aSelector withObject:(id)anObject'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
PerformSelectorWithObjectAfterDelay(IntPtr, Id, Double)

Invokes a method of the receiver on the current thread using the default mode after a delay.

Original signature is '- (void)performSelector:(SEL)aSelector withObject:(id)anArgument afterDelay:(NSTimeInterval)delay'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
PerformSelectorWithObjectAfterDelayInModes(IntPtr, Id, Double, NSArray)

Invokes a method of the receiver on the current thread using the specified modes after a delay.

Original signature is '- (void)performSelector:(SEL)aSelector withObject:(id)anArgument afterDelay:(NSTimeInterval)delay inModes:(NSArray *)modes'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
PerformSelectorWithObjectWithObject(IntPtr, Id, Id)

Sends a message to the receiver with two objects as arguments. (required)

Original signature is '- (id)performSelector:(SEL)aSelector withObject:(id)anObject withObject:(id)anotherObject'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
PreparePageLayout(NSPageLayout)

Invoked by runModalPageLayoutWithPrintInfo: and runModalPageLayoutWithPrintInfo:delegate:didRunSelector:contextInfo: to do any customization of the Page Layout panel pageLayout, such as adding an accessory view.

Original signature is '- (BOOL)preparePageLayout:(NSPageLayout *)pageLayout'

Available in Mac OS X v10.0 and later.


PrepareSavePanel(NSSavePanel)

Invoked by runModalSavePanelForSaveOperation:delegate:didSaveSelector:contextInfo: to do any customization of the given Save panel.

Original signature is '- (BOOL)prepareSavePanel:(NSSavePanel *)savePanel'

Available in Mac OS X v10.0 and later.


PresentError(NSError)

Presents an error alert to the user as a modal panel.

Original signature is '- (BOOL)presentError:(NSError *)error'

Available in Mac OS X v10.4 and later.


PresentErrorModalForWindowDelegateDidPresentSelectorContextInfo(NSError, NSWindow, Id, IntPtr, IntPtr)

Presents an error alert to the user as a modal panel.

Original signature is '- (void)presentError:(NSError *)error modalForWindow:(NSWindow *)window delegate:(id)delegate didPresentSelector:(SEL)didPresentSelector contextInfo:(void *)contextInfo'

Available in Mac OS X v10.4 and later.


PrintDocument(Id)

Prints the receiver in response to the user choosing the Print menu command.

Original signature is '- (void)printDocument:(id)sender'

Available in Mac OS X v10.0 and later.


PrintDocumentWithSettingsShowPrintPanelDelegateDidPrintSelectorContextInfo(NSDictionary, Boolean, Id, IntPtr, IntPtr)

Prints the document.

Original signature is '- (void)printDocumentWithSettings:(NSDictionary *)printSettings showPrintPanel:(BOOL)showPrintPanel delegate:(id)delegate didPrintSelector:(SEL)didPrintSelector contextInfo:(void *)contextInfo'

Available in Mac OS X v10.4 and later.


PrintInfo

Returns the receiver’s customized NSPrintInfo object or the default NSPrintInfo instance.

Original signature is '- (NSPrintInfo *)printInfo'

Available in Mac OS X v10.0 and later.


PrintOperationWithSettingsError(NSDictionary, NSError%)

Creates a print operation and returns it if successful.

Original signature is '- (NSPrintOperation *)printOperationWithSettings:(NSDictionary *)printSettings error:(NSError **)outError'

Available in Mac OS X v10.4 and later.


PrintShowingPrintPanel(Boolean) Obsolete.

Overridden by subclasses to print the current document’s (the receiver’s) data. (Deprecated in Mac OS X v10.4. Use printDocumentWithSettings:showPrintPanel:delegate:didPrintSelector:contextInfo: instead.)

Original signature is '- (void)printShowingPrintPanel:(BOOL)flag'

Available in Mac OS X v10.0 and later.


ReadableTypes

Returns the types of data the receiver can read natively and any types filterable to that native type.

Original signature is '+ (NSArray *)readableTypes'

Available in Mac OS X v10.0 and later.


ReadFromDataOfTypeError(NSData, NSString, NSError%)

Sets the contents of this document by reading from data of a specified type and returns YES if successful.

Original signature is '- (BOOL)readFromData:(NSData *)data ofType:(NSString *)typeName error:(NSError **)outError'

Available in Mac OS X v10.4 and later.


ReadFromFileOfType(NSString, NSString) Obsolete.

Reads and loads document data of the given type from the given file. (Deprecated in Mac OS X v10.4. Use readFromURL:ofType:error: instead.)

Original signature is '- (BOOL)readFromFile:(NSString *)fileName ofType:(NSString *)docType'

Available in Mac OS X v10.0 and later.


ReadFromFileWrapperOfTypeError(NSFileWrapper, NSString, NSError%)

Sets the contents of this document by reading from a file wrapper of a specified type.

Original signature is '- (BOOL)readFromFileWrapper:(NSFileWrapper *)fileWrapper ofType:(NSString *)typeName error:(NSError **)outError'

Available in Mac OS X v10.4 and later.


ReadFromURLOfType(NSURL, NSString) Obsolete.

Reads and loads document data. (Deprecated in Mac OS X v10.4. Use readFromURL:ofType:error: instead.)

Original signature is '- (BOOL)readFromURL:(NSURL *)aURL ofType:(NSString *)docType'

Available in Mac OS X v10.0 and later.


ReadFromURLOfTypeError(NSURL, NSString, NSError%)

Sets the contents of this document by reading from a file or file package, of a specified type, located by a URL.

Original signature is '- (BOOL)readFromURL:(NSURL *)absoluteURL ofType:(NSString *)typeName error:(NSError **)outError'

Available in Mac OS X v10.4 and later.


Release()()()()

Decrements the receiver�s reference count.

Original signature is '- (oneway void)release'

Available in Mac OS X v10.0 and later.

(Inherited from Id.)
RemoveObserverForKeyPath(NSObject, NSString)

Stops a given object from receiving change notifications for the property specified by a given key-path relative to the receiver.

Original signature is '- (void)removeObserver:(NSObject *)anObserver forKeyPath:(NSString *)keyPath'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
RemoveValueAtIndexFromPropertyWithKey(NSUInteger, NSString)

Removes the object at the specified index from the collection specified by the passed key.

Original signature is '- (void)removeValueAtIndex:(NSUInteger)index fromPropertyWithKey:(NSString *)key'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
RemoveWindowController(NSWindowController)

Removes the specified window controller from the receiver’s array of window controllers.

Original signature is '- (void)removeWindowController:(NSWindowController *)windowController'

Available in Mac OS X v10.0 and later.


ReplacementObjectForArchiver(NSArchiver)

Overridden by subclasses to substitute another object for itself during archiving.

Original signature is '- (id)replacementObjectForArchiver:(NSArchiver *)anArchiver'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ReplacementObjectForCoder(NSCoder)

Overridden by subclasses to substitute another object for itself during encoding.

Original signature is '- (id)replacementObjectForCoder:(NSCoder *)aCoder'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ReplacementObjectForKeyedArchiver(NSKeyedArchiver)

Overridden by subclasses to substitute another object for itself during keyed archiving.

Original signature is '- (id)replacementObjectForKeyedArchiver:(NSKeyedArchiver *)archiver'

Available in Mac OS X v10.2 and later.

(Inherited from NSObject.)
ReplacementObjectForPortCoder(NSPortCoder)

Overridden by subclasses to substitute another object or a copy for itself during distribution encoding.

Original signature is '- (id)replacementObjectForPortCoder:(NSPortCoder *)aCoder'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ReplaceValueAtIndexInPropertyWithKeyWithValue(NSUInteger, NSString, Id)

Replaces the object at the specified index in the collection specified by the passed key.

Original signature is '- (void)replaceValueAtIndex:(NSUInteger)index inPropertyWithKey:(NSString *)key withValue:(id)value'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
RespondsToSelector(IntPtr)

Returns a Boolean value that indicates whether the receiver implements or inherits a method that can respond to a specified message. (required)

Original signature is '- (BOOL)respondsToSelector:(SEL)aSelector'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
RespondsToSelector(String)

Returns a Boolean value that indicates whether the receiver implements or inherits a method that can respond to a specified message.

Original signature is '- (BOOL)respondsToSelector:(SEL)aSelector'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
Retain()()()()

Increments the receiver�s reference count.

Original signature is '- (id)retain'

Available in Mac OS X v10.0 and later.

(Inherited from Id.)
RetainCount

Returns the receiver’s reference count. (required)

Original signature is '- (NSUInteger)retainCount'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
RevertDocumentToSaved(Id)

The action of the File menu item Revert in a document-based application.

Original signature is '- (void)revertDocumentToSaved:(id)sender'

Available in Mac OS X v10.0 and later.


RevertToContentsOfURLOfTypeError(NSURL, NSString, NSError%)

Discards all unsaved document modifications and replaces the document's contents by reading a file or file package located by a URL of a specified type.

Original signature is '- (BOOL)revertToContentsOfURL:(NSURL *)absoluteURL ofType:(NSString *)typeName error:(NSError **)outError'

Available in Mac OS X v10.4 and later.


RevertToSavedFromFileOfType(NSString, NSString) Obsolete.

Reverts the receiver to the data stored in the file system. (Deprecated in Mac OS X v10.4. Use revertToContentsOfURL:ofType:error: instead.)

Original signature is '- (BOOL)revertToSavedFromFile:(NSString *)fileName ofType:(NSString *)type'

Available in Mac OS X v10.0 and later.


RevertToSavedFromURLOfType(NSURL, NSString) Obsolete.

Reverts the receiver. (Deprecated in Mac OS X v10.4. Use revertToContentsOfURL:ofType:error: instead.)

Original signature is '- (BOOL)revertToSavedFromURL:(NSURL *)aURL ofType:(NSString *)type'

Available in Mac OS X v10.0 and later.


RunModalPageLayoutWithPrintInfo(NSPrintInfo) Obsolete.

Runs the page layout modal panel with the receiver’s printing information object. (Deprecated in Mac OS X v10.4. Use runModalPageLayoutWithPrintInfo:delegate:didRunSelector:contextInfo: instead.)

Original signature is '- (NSInteger)runModalPageLayoutWithPrintInfo:(NSPrintInfo *)printInfo'

Available in Mac OS X v10.0 and later.


RunModalPageLayoutWithPrintInfoDelegateDidRunSelectorContextInfo(NSPrintInfo, Id, IntPtr, IntPtr)

Runs the modal page layout panel with the receiver’s printing information object

Original signature is '- (void)runModalPageLayoutWithPrintInfo:(NSPrintInfo *)printInfo delegate:(id)delegate didRunSelector:(SEL)didRunSelector contextInfo:(void *)contextInfo'

Available in Mac OS X v10.0 and later.


RunModalPrintOperationDelegateDidRunSelectorContextInfo(NSPrintOperation, Id, IntPtr, IntPtr)

Runs the specified print operation modally.

Original signature is '- (void)runModalPrintOperation:(NSPrintOperation *)printOperation delegate:(id)delegate didRunSelector:(SEL)didRunSelector contextInfo:(void *)contextInfo'

Available in Mac OS X v10.0 and later.


RunModalSavePanelForSaveOperationDelegateDidSaveSelectorContextInfo(NSSaveOperationType, Id, IntPtr, IntPtr)

Presents a modal Save panel to the user, then tries to save the document if the user approves the panel.

Original signature is '- (void)runModalSavePanelForSaveOperation:(NSSaveOperationType)saveOperation delegate:(id)delegate didSaveSelector:(SEL)didSaveSelector contextInfo:(void *)contextInfo'

Available in Mac OS X v10.0 and later.


RunPageLayout(Id)

The action method invoked in the receiver as first responder when the user chooses the Page Setup menu command.

Original signature is '- (void)runPageLayout:(id)sender'

Available in Mac OS X v10.0 and later.


SafeCastAs<(Of <<'(TInstance>)>>)(Id)
Try to cast the current instance to the given type. The cast is dynamically tested for safety.
(Inherited from IdExtensions.)
SafeCastTo<(Of <<'(TInstance>)>>)(Id)
Cast the current instance to the given type. the cast is dynamically tested for safety
(Inherited from IdExtensions.)
SafeRelease(Id)

Performs a safe release operation on the given instance.

The equivalent code is:

CopyC#
if (instance != null) instance.Release();
(Inherited from IdExtensions.)
SaveDocument(Id)

The action method invoked in the receiver as first responder when the user chooses the Save menu command.

Original signature is '- (void)saveDocument:(id)sender'

Available in Mac OS X v10.0 and later.


SaveDocumentAs(Id)

The action method invoked in the receiver as first responder when the user chooses the Save As menu command.

Original signature is '- (void)saveDocumentAs:(id)sender'

Available in Mac OS X v10.0 and later.


SaveDocumentTo(Id)

The action method invoked in the receiver as first responder when the user chooses the Save To menu command.

Original signature is '- (void)saveDocumentTo:(id)sender'

Available in Mac OS X v10.0 and later.


SaveDocumentWithDelegateDidSaveSelectorContextInfo(Id, IntPtr, IntPtr)

Saves the document.

Original signature is '- (void)saveDocumentWithDelegate:(id)delegate didSaveSelector:(SEL)didSaveSelector contextInfo:(void *)contextInfo'

Available in Mac OS X v10.0 and later.


SaveToFileSaveOperationDelegateDidSaveSelectorContextInfo(NSString, NSSaveOperationType, Id, IntPtr, IntPtr) Obsolete.

Called after the user has been given the opportunity to select a destination through the modal Save panel. (Deprecated in Mac OS X v10.4. Use saveToURL:ofType:forSaveOperation:delegate:didSaveSelector:contextInfo: instead.)

Original signature is '- (void)saveToFile:(NSString *)fileName saveOperation:(NSSaveOperationType)saveOperation delegate:(id)delegate didSaveSelector:(SEL)didSaveSelector contextInfo:(void *)contextInfo'

Available in Mac OS X v10.0 and later.


SaveToURLOfTypeForSaveOperationDelegateDidSaveSelectorContextInfo(NSURL, NSString, NSSaveOperationType, Id, IntPtr, IntPtr)

Saves the contents of the document to a file or file package located by a URL, formatted to a specified type, for a particular kind of save operation.

Original signature is '- (void)saveToURL:(NSURL *)absoluteURL ofType:(NSString *)typeName forSaveOperation:(NSSaveOperationType)saveOperation delegate:(id)delegate didSaveSelector:(SEL)didSaveSelector contextInfo:(void *)contextInfo'

Available in Mac OS X v10.4 and later.


SaveToURLOfTypeForSaveOperationError(NSURL, NSString, NSSaveOperationType, NSError%)

Saves the contents of the document to a file or file package located by a URL, formatted to a specified type, for a particular kind of save operation, and returns YES if successful.

Original signature is '- (BOOL)saveToURL:(NSURL *)absoluteURL ofType:(NSString *)typeName forSaveOperation:(NSSaveOperationType)saveOperation error:(NSError **)outError'

Available in Mac OS X v10.4 and later.


ScriptingProperties

Returns an NSString-keyed dictionary of the receiver's scriptable properties.

Original signature is '- (NSDictionary *)scriptingProperties'

Available in Mac OS X v10.2 and later.

(Inherited from NSObject.)
ScriptingValueForSpecifier(NSScriptObjectSpecifier)

Given an object specifier, returns the specified object or objects in the receiving container.

Original signature is '- (id)scriptingValueForSpecifier:(NSScriptObjectSpecifier *)objectSpecifier'

Available in Mac OS X v10.5 and later.

(Inherited from NSObject.)
Self

Returns the receiver. (required)

Original signature is '- (id)self'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
SendMessage(String, array<Object>[]()[][])
Sends a message to this receiver (either a Class or an object instance).
(Inherited from Id.)
SendMessageSuper(Class, String, array<Object>[]()[][])

Sends a message to the super instance of this receiver.

(Inherited from Id.)
SendMessageSuperVarArgs(Class, String, array<Object>[]()[][])

Sends a message to the super instance of this receiver.

The last parameter passed must be an object array that contains the variable list of arguments

(Inherited from Id.)
SendMessageVarArgs(String, array<Object>[]()[][])

Sends a message to this receiver (either a Class or an object instance).

The last parameter passed must be an object array that contains the variable list of arguments

(Inherited from Id.)
SetInstanceVariable<(Of <<'(T>)>>)(String, T)
Sets the instance variable of the specified name.
(Inherited from Id.)
SetNilValueForKey(NSString)

Invoked by setValue:forKey: when it’s given a nil value for a scalar value (such as an int or float).

Original signature is '- (void)setNilValueForKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKey(Id, NSString)

Sets the property of the receiver specified by a given key to a given value.

Original signature is '- (void)setValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKey(String, String)

Sets the property of the receiver specified by a given key to a given value.

Original signature is '- (void)setValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKey(Int16, String)

Sets the property of the receiver specified by a given key to a given value.

Original signature is '- (void)setValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKey(Int64, String)

Sets the property of the receiver specified by a given key to a given value.

Original signature is '- (void)setValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKey(Int32, String)

Sets the property of the receiver specified by a given key to a given value.

Original signature is '- (void)setValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKey(Single, String)

Sets the property of the receiver specified by a given key to a given value.

Original signature is '- (void)setValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKey(Double, String)

Sets the property of the receiver specified by a given key to a given value.

Original signature is '- (void)setValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKey(Char, String)

Sets the property of the receiver specified by a given key to a given value.

Original signature is '- (void)setValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKey(Boolean, String)

Sets the property of the receiver specified by a given key to a given value.

Original signature is '- (void)setValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKeyPath(Id, NSString)

Sets the value for the property identified by a given key path to a given value.

Original signature is '- (void)setValue:(id)value forKeyPath:(NSString *)keyPath'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForUndefinedKey(Id, NSString)

Invoked by setValue:forKey: when it finds no property for a given key.

Original signature is '- (void)setValue:(id)value forUndefinedKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValuesForKeysWithDictionary(NSDictionary)

Sets properties of the receiver with values from a given dictionary, using its keys to identify the properties.

Original signature is '- (void)setValuesForKeysWithDictionary:(NSDictionary *)keyedValues'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetWindow(NSWindow)

Sets the window Interface Builder outlet of this class.

Original signature is '- (void)setWindow:(NSWindow *)aWindow'

Available in Mac OS X v10.0 and later.


ShouldChangePrintInfo(NSPrintInfo)

Returns a Boolean value indicating whether the receiver should allow changes to the default NSPrintInfo object used in printing the document.

Original signature is '- (BOOL)shouldChangePrintInfo:(NSPrintInfo *)newPrintInfo'

Available in Mac OS X v10.0 and later.


ShouldCloseWindowController(NSWindowController)

Gives the user an opportunity to save the document. (Available in Mac OS X v10.0 through Mac OS X v10.3. Use shouldCloseWindowController:delegate:shouldCloseSelector:contextInfo: instead.)

Original signature is '- (BOOL)shouldCloseWindowController:(NSWindowController *)windowController'

Available in Mac OS X v10.0 and later.


ShouldCloseWindowControllerDelegateShouldCloseSelectorContextInfo(NSWindowController, Id, IntPtr, IntPtr)

Invokes shouldCloseSelector with the result of canCloseDocumentWithDelegate:shouldCloseSelector:contextInfo: if the the specified window controller that is closing is the last one or is marked as causing the document to close.

Original signature is '- (void)shouldCloseWindowController:(NSWindowController *)windowController delegate:(id)delegate shouldCloseSelector:(SEL)shouldCloseSelector contextInfo:(void *)contextInfo'

Available in Mac OS X v10.0 and later.


ShouldRunSavePanelWithAccessoryView

Returns YES by default; as a result, when NSDocument displays the Save panel, it includes an accessory view containing a pop-up menu of supported writable document types.

Original signature is '- (BOOL)shouldRunSavePanelWithAccessoryView'

Available in Mac OS X v10.0 and later.


ShowWindows()()()()

Displays all of the document’s windows, bringing them to the front and making them main or key as necessary.

Original signature is '- (void)showWindows'

Available in Mac OS X v10.0 and later.


Superclass

Returns the class object for the receiver’s superclass. (required)

Original signature is '- (Class)superclass'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ToManyRelationshipKeys

Returns array containing the keys for the to-many relationship properties of the receiver.

Original signature is '- (NSArray *)toManyRelationshipKeys'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ToOneRelationshipKeys

Returns the keys for the to-one relationship properties of the receiver, if any.

Original signature is '- (NSArray *)toOneRelationshipKeys'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ToString()()()()
Returns a String that represents this instance.
(Inherited from NSObject.)
Unbind(NSString)

Removes a given binding between the receiver and a controller.

Original signature is '- (void)unbind:(NSString *)binding'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
UndoManager

Returns the receiver’s undo manager.

Original signature is '- (NSUndoManager *)undoManager'

Available in Mac OS X v10.0 and later.


UpdateChangeCount(NSDocumentChangeType)

Updates the receiver’s change count according to the given change type.

Original signature is '- (void)updateChangeCount:(NSDocumentChangeType)changeType'

Available in Mac OS X v10.0 and later.


ValidateMenuItem(NSMenuItem)

Validates the Revert menu item and items selected from the Save panel’s pop-up list of writable document types items. (Available in Mac OS X v10.0 through Mac OS X v10.3. Use validateUserInterfaceItem: instead.)

Original signature is '- (BOOL)validateMenuItem:(NSMenuItem *)anItem'

Available in Mac OS X v10.0 and later.


ValidateUserInterfaceItem(INSValidatedUserInterfaceItem)

Validates the specified user interface item that the receiver manages.

Original signature is '- (BOOL)validateUserInterfaceItem:(id < NSValidatedUserInterfaceItem >)anItem'

Available in Mac OS X v10.0 and later.


ValidateValueForKeyError(Id%, NSString, NSError%)

Returns a Boolean value that indicates whether the value specified by a given pointer is valid for the property identified by a given key.

Original signature is '- (BOOL)validateValue:(id *)ioValue forKey:(NSString *)key error:(NSError **)outError'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
ValidateValueForKeyPathError(Id%, NSString, NSError%)

Returns a Boolean value that indicates whether the value specified by a given pointer is valid for a given key path relative to the receiver.

Original signature is '- (BOOL)validateValue:(id *)ioValue forKeyPath:(NSString *)inKeyPath error:(NSError **)outError'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
ValueAtIndexInPropertyWithKey(NSUInteger, NSString)

Retrieves an indexed object from the collection specified by the passed key.

Original signature is '- (id)valueAtIndex:(NSUInteger)index inPropertyWithKey:(NSString *)key'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ValueClassForBinding(NSString)

Returns the class of the value that will be returned for the specified binding.

Original signature is '- (Class)valueClassForBinding:(NSString *)binding'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
ValueForKey(NSString)

Returns the value for the property identified by a given key.

Original signature is '- (id)valueForKey:(NSString *)key'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ValueForKeyPath(NSString)

Returns the value for the derived property identified by a given key path.

Original signature is '- (id)valueForKeyPath:(NSString *)keyPath'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ValueForUndefinedKey(NSString)

Invoked by valueForKey: when it finds no property corresponding to a given key.

Original signature is '- (id)valueForUndefinedKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
ValueWithNameInPropertyWithKey(NSString, NSString)

Retrieves a named object from the collection specified by the passed key.

Original signature is '- (id)valueWithName:(NSString *)name inPropertyWithKey:(NSString *)key'

Available in Mac OS X v10.2 and later.

(Inherited from NSObject.)
ValueWithUniqueIDInPropertyWithKey(Id, NSString)

Retrieves an object by ID from the collection specified by the passed key.

Original signature is '- (id)valueWithUniqueID:(id)uniqueID inPropertyWithKey:(NSString *)key'

Available in Mac OS X v10.2 and later.

(Inherited from NSObject.)
WillChangeValueForKey(NSString)

Invoked to inform the receiver that the value of a given property is about to change.

Original signature is '- (void)willChangeValueForKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
WillChangeValueForKeyWithSetMutationUsingObjects(NSString, NSKeyValueSetMutationKind, NSSet)

Invoked to inform the receiver that the specified change is about to be made to a specified unordered to-many relationship.

Original signature is '- (void)willChangeValueForKey:(NSString *)key withSetMutation:(NSKeyValueSetMutationKind)mutationKind usingObjects:(NSSet *)objects'

Available in Mac OS X v10.4 and later.

(Inherited from NSObject.)
WillChangeValuesAtIndexesForKey(NSKeyValueChange, NSIndexSet, NSString)

Invoked to inform the receiver that the specified change is about to be executed at given indexes for a specified ordered to-many relationship.

Original signature is '- (void)willChange:(NSKeyValueChange)change valuesAtIndexes:(NSIndexSet *)indexes forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
WillPresentError(NSError)

Called when the receiver is about to present an error.

Original signature is '- (NSError *)willPresentError:(NSError *)error'

Available in Mac OS X v10.4 and later.


WindowControllerDidLoadNib(NSWindowController)

Sent after the specified window controller loads a nib file if the receiver is the nib file's owner.

Original signature is '- (void)windowControllerDidLoadNib:(NSWindowController *)windowController'

Available in Mac OS X v10.0 and later.


WindowControllers

Returns the receiver’s current window controllers.

Original signature is '- (NSArray *)windowControllers'

Available in Mac OS X v10.0 and later.


WindowControllerWillLoadNib(NSWindowController)

Sent before the specified window controller loads a nib file if the receiver is the nib file's owner.

Original signature is '- (void)windowControllerWillLoadNib:(NSWindowController *)windowController'

Available in Mac OS X v10.0 and later.


WindowForSheet

Returns the most appropriate window, of the windows associated with the receiver, to use as the parent window of a document-modal sheet.

Original signature is '- (NSWindow *)windowForSheet'

Available in Mac OS X v10.3 and later.


WindowNibName

Overridden by subclasses to return the name of the document’s sole nib file.

Original signature is '- (NSString *)windowNibName'

Available in Mac OS X v10.0 and later.


WritableTypes

Returns the types of data the receiver can write natively and any types filterable to that native type.

Original signature is '+ (NSArray *)writableTypes'

Available in Mac OS X v10.0 and later.


WritableTypesForSaveOperation(NSSaveOperationType)

Returns the names of the types to which this document can be saved for a specified kind of save operation.

Original signature is '- (NSArray *)writableTypesForSaveOperation:(NSSaveOperationType)saveOperation'

Available in Mac OS X v10.4 and later.


WriteSafelyToURLOfTypeForSaveOperationError(NSURL, NSString, NSSaveOperationType, NSError%)

Writes the contents of the document to a file or file package located by a URL.

Original signature is '- (BOOL)writeSafelyToURL:(NSURL *)absoluteURL ofType:(NSString *)typeName forSaveOperation:(NSSaveOperationType)saveOperation error:(NSError **)outError'

Available in Mac OS X v10.4 and later.


WriteToFileOfType(NSString, NSString) Obsolete.

Writes document data to a file. (Deprecated in Mac OS X v10.4. Use writeToURL:ofType:error: instead.)

Original signature is '- (BOOL)writeToFile:(NSString *)fileName ofType:(NSString *)docType'

Available in Mac OS X v10.0 and later.


WriteToFileOfTypeOriginalFileSaveOperation(NSString, NSString, NSString, NSSaveOperationType) Obsolete.

Writes the receiver document’s contents to a file. (Deprecated in Mac OS X v10.4. Use writeToURL:ofType:forSaveOperation:originalContentsURL:error: instead.)

Original signature is '- (BOOL)writeToFile:(NSString *)fullDocumentPath ofType:(NSString *)docType originalFile:(NSString *)fullOriginalDocumentPath saveOperation:(NSSaveOperationType)saveOperationType'

Available in Mac OS X v10.0 and later.


WriteToURLOfType(NSURL, NSString) Obsolete.

Writes document data to a URL. (Deprecated in Mac OS X v10.4. Use writeToURL:ofType:error: instead.)

Original signature is '- (BOOL)writeToURL:(NSURL *)aURL ofType:(NSString *)docType'

Available in Mac OS X v10.0 and later.


WriteToURLOfTypeError(NSURL, NSString, NSError%)

Writes the contents of the document to a file or file package located by a URL, formatted to a specified type.

Original signature is '- (BOOL)writeToURL:(NSURL *)absoluteURL ofType:(NSString *)typeName error:(NSError **)outError'

Available in Mac OS X v10.4 and later.


WriteToURLOfTypeForSaveOperationOriginalContentsURLError(NSURL, NSString, NSSaveOperationType, NSURL, NSError%)

Writes the contents of the document to a file or file package located by a URL.

Original signature is '- (BOOL)writeToURL:(NSURL *)absoluteURL ofType:(NSString *)typeName forSaveOperation:(NSSaveOperationType)saveOperation originalContentsURL:(NSURL *)absoluteOriginalContentsURL error:(NSError **)outError'

Available in Mac OS X v10.4 and later.


WriteWithBackupToFileOfTypeSaveOperation(NSString, NSString, NSSaveOperationType) Obsolete.

This method is called by action methods to save document contents to a file. (Deprecated in Mac OS X v10.4. Use writeSafelyToURL:ofType:forSaveOperation:error: instead.)

Original signature is '- (BOOL)writeWithBackupToFile:(NSString *)fullDocumentPath ofType:(NSString *)docType saveOperation:(NSSaveOperationType)saveOperationType'

Available in Mac OS X v10.0 and later.


Zone

Returns a pointer to the zone from which the receiver was allocated. (required)

Original signature is '- (NSZone *)zone'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
Inheritance Hierarchy
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)