Bewerken

Delen via


Foundation Namespace

The Foundation namespace provides lower-level classes in the Objective-C world. Often these classes have equivalents in the .NET Base Class Library.

Classes

ActionAttribute

Flags a method to respond to an Objective-C action

AdviceAttribute

An attribute that can be used to give programming advice to a user of a function or class.

ConnectAttribute

Exposes a property as an Interface Builder Outlet.

DictionaryContainer

Convenience base class used by strongly-typed classes that wrap NSDictionary-based settings.

EncodingDetectionOptions

A DictionaryContainer containing hints for detecting the encoding of an NSString.

ExportAttribute

Exports a method or property to the Objective-C world.

FieldAttribute

This attribute is present on properties to indicate that they reflect an underlying unmanaged global variable.

LinkerSafeAttribute

Assembly-level attributed used to inform MonoTouch's linker that this assembly can be safely linked, regardless of the system linker settings.

LoadInPlaceResult
ModelAttribute

Flag a class as a model.

ModelNotImplementedException

An convenience exception used in Model method implementations.

MonoTouchException

Exception throw to wrap NSExceptions.

NotImplementedAttribute
NSAffineTransform
NSAppleEventDescriptor
NSAppleEventManager
NSAppleScript
NSArchiveReplaceEventArgs

Provides data for the ReplacingObject and E:Foundation.NSArchiveReplaceEventArgs.ReplacingObject events.

NSArray

An untyped Objective-C array.

NSArray<TKey>
NSAttributedString

Strings that can be annotated with a set of attributes.

NSAttributedStringDocumentAttributes

A DictionaryContainer that provides document attributes for NSAttributedStrings.

NSAutoreleasePool

A class used to keep track of objects to be released at a later time.

NSBindingSelectionMarker
NSBlockOperation

A subtype of NSOperation that concurrently executes multiple blocks.

NSBundle

Application bundle support; Introspection services.

NSBundleResourceRequest

Requests on-demand downloadable resources available from the App Store.

NSBundleResourceRequest.Notifications
NSByteCountFormatter

A class that can format a string for displaying a count of bytes.

NSCache

A collection of key-value pairs, often containing values of type INSDiscardableContent, intended to hold transient, but expensive-to-calculate, data.

NSCacheDelegate

When overridden, allows the application developer fine-grained control over the eviction or removal of elements from an NSCache.

NSCacheDelegate_Extensions

Extension methods to the INSCacheDelegate interface to support all the methods from the NSCacheDelegate protocol.

NSCachedUrlResponse

An object that can be stored and retrieved by instances of NSUrlCache, combining objects representing the response, data, and application-specific information.

NSCalendar

Calendar reprensetation.

NSCalendar.Notifications

Notification posted by the NSCalendar class.

NSCalendarDate
NSCharacterSet

A class that encapsulates an immutable set of Unicode characters.

NSCoder

Serialization framework for NSObjects.

NSCoding

Defines the methods that must be implemented for serializing and deserializing objects using Cocoa's serialization technology.

NSComparisonPredicate

A subtype of NSPredicate that is used to compare NSExpressions.

NSCompoundPredicate

A subtype of NSPredicate that is used to calculate Boolean logical operations.

NSCondition

Encapsulates POSIX-like conditions.

NSConditionLock

Allows objects to acquire thread locks based on NSCondition objects.

NSConnection
NSConnectionDelegate
NSConnectionDelegate_Extensions
NSCopying

Concrete implementation of the INSCopying interface.

NSData

Byte buffer manipulation.

NSDataDetector

Subclass of NSRegularExpression with support for specific types of data (dates, addresses, etc.).

NSDate

Date operations.

NSDateComponents

Represents a date in a specific NSCalendar.

NSDateComponentsFormatter

Formats NSDateComponents objects as localized strings. Can represent, for instance, hours and minutes as "2h 20m".

NSDateFormatter

Used to parse and render dates in various forms.

NSDateInterval

Native class for calculating the difference between dates.

NSDateIntervalFormatter

Outputs date ranges in localized format (for instance, "Tuesday, Sept 2, 2014 - Thursday, Sept 4, 2014").

NSDecimalNumber

Objective-C Decimal number.

NSDictionary

Dictionary that provides mapping from keys to values.

NSDictionary<TKey,TValue>
NSDimension

Base class for NSUnit objects that represent dimensional quantities.

NSDirectoryEnumerator

Enumerates the contents of a directory.

NSDistantObjectRequest
NSDistributedLock
NSDistributedNotificationCenter

Allows notifications to be sent to objects in other tasks.

NSEnergyFormatter

Formats Joule and Calorie data as a localized string.

NSEnumerator

Abstract class used to enumerate certain MonoTouch.Foundation classes.

NSError

Encapsulates an error.

NSErrorEventArgs

Provides data for the Failed and E:Foundation.NSErrorEventArgs.LoadingMapFailed, E:Foundation.NSErrorEventArgs.DeferredUpdatesFinished and E:Foundation.NSErrorEventArgs.Failed and E:Foundation.NSErrorEventArgs.Failed and E:Foundation.NSErrorEventArgs.AdvertisingStarted, E:Foundation.NSErrorEventArgs.DiscoveredService and E:Foundation.NSErrorEventArgs.RssiUpdated events.

NSErrorException

Exception that wraps an Objective-C NSError.

NSException

Objective-C Exception.

NSExpression

Encapsulates an expression to be used with a NSComparisonPredicates.

NSExtensionContext

The context in which an extension is running.

NSExtensionContext.Notifications

Class that contains handlers for extension context notifications.

NSExtensionItem

An immutable collection of data regarding the object which the extension is manipulating.

NSExtensionRequestHandling

Defines the BeginRequestWithExtensionContext(NSExtensionContext) lifecycle hook.

NSFileAccessIntent

Holds the details of asynchronous read and write operations being coordinated by a NSFileCoordinator.

NSFileAttributes

Encapsulates file attributes for use with NSFileManager.

NSFileCoordinator

A class that helps coordinate simultaneous reading and writing to files among multiple processes and multiple objects.

NSFileHandle

Encapsulates a file descriptor.

NSFileHandle.Notifications

Notification posted by the NSFileHandle class.

NSFileHandleConnectionAcceptedEventArgs

Provides data for the event.

NSFileHandleReadEventArgs

Provides data for the event.

NSFileManager

An abstraction over the underlying file system that allows for common file discovery and manipulation actions.

NSFileManager_NSUserInformation
NSFileManager.Notifications

Notification posted by the NSFileManager class.

NSFileManagerDelegate

A delegate that, when overridden, allows the application developer fine-grained control over events relating to common file discovery and manipulation actions.

NSFileManagerDelegate_Extensions

Extension methods to the INSFileManagerDelegate interface to support all the methods from the NSFileManagerDelegate protocol.

NSFilePresenter

In conjunction with a NSFileCoordinator, allows the application developer to respond to events relating to the presentation of a file.

NSFilePresenter_Extensions

Extension methods to the INSFilePresenter interface to support all the methods from the NSFilePresenter protocol.

NSFileProviderService

A communication channel between the developer's app and a File Provider extension.

NSFileSystemAttributes

File system attributes (size, blocks and free information).

NSFileVersion

A snapshot of a file at a specific point in time.

NSFileWrapper

Encapsulates the attributes and contents of file-system nodes, which include files, directories, and symbolic links.

NSFormatter

Base class for NSDateFormatter, provides methods for parsing and rendering types.

NSHost
NSHttpCookie

HTTP Cookie

NSHttpCookieStorage

A singleton object that manages a collection of NSHttpCookies.

NSHttpCookieStorage.Notifications

Class that contains handlers for cookie storage notifications.

NSHttpUrlResponse

Represents the response from an HTTP request.

NSIndexPath

Represents the path to a node in a tree. In iOS this class is most commonly used to identify a row in a UITableView.

NSIndexSet

An immutable collection of unique unsigned integers that are stored as a collection of sorted ranges (and thus is unsuitable as a general collection class).

NSInputStream

A read-only input NSStream.

NSInvocation

Represents an Objective-C message (method call) that can be serialized, stored, etc. primarily by <see cref=T:MonoTouch.Foundation.NSTimer/> objects.

NSIso8601DateFormatter

Formats NSDate objects.

NSItemDownloadingStatusExtensions
NSItemProvider

Coordinates the data used by an NSExtensionItem and its P:Foundation.NSExtensionItem.Properties.

NSItemProviderWriting_Extensions
NSJavaScriptExtension

Defines the strings associated with the constants NSExtensionJavaScriptFinalizeArgumentKey and NSExtensionJavaScriptPreprocessingResultsKey.

NSJsonSerialization

Allows conversion of a limited set of Foundation types to and from JSON.

NSKeyedArchiver

A concrete implementation of NSCoder that serializes to files.

NSKeyedArchiverDelegate

Methods that can be invoked by the NSKeyedArchiver during serialization.

NSKeyedArchiverDelegate_Extensions

Extension methods to the INSKeyedArchiverDelegate interface to support all the methods from the NSKeyedArchiverDelegate protocol.

NSKeyedUnarchiver

A concrete subclass of NSCoder used to deserialize state from files.

NSKeyedUnarchiverDelegate

Methods that can be invoked by the NSKeyedUnarchiver during serialization.

NSKeyedUnarchiverDelegate_Extensions

Extension methods to the INSKeyedUnarchiverDelegate interface to support all the methods from the NSKeyedUnarchiverDelegate protocol.

NSKeyValueSorting_NSMutableOrderedSet

Defines an extension method for T:NSMutableOrderedSet objects, allowing them to be sorted using NSSortDescriptor objects.

NSKeyValueSorting_NSOrderedSet

Defines an extension method for NSOrderedSet objects, allowing sorting by NSSortDescriptor objects.

NSLengthFormatter

Formats distances as localized strings.

NSLinguisticAnalysis
NSLinguisticTag

Contains read-only static properties corresponding to the parts of speech recognized by a NSLinguisticTagger.

NSLinguisticTagger

Automatically segments text into parts of speech (e.g., nouns, verbs, numbers, etc.).

NSLinguisticTagSchemeExtensions
NSLinguisticTagUnitExtensions
NSLocale

Encapsulates parameters about user language, cultural and technical conventions.

NSLocale.Notifications

Notification posted by the NSLocale class.

NSLock

A system-level thread locking object.

NSMachPort

An NSPort that represents a Mach port. Only can be used for local-machine communication (see T:Foundation.NSSocketPort).

NSMachPortDelegate

The delegate object for NSMachPort objects. Provides events for received messages.

NSMachPortDelegate_Extensions

Extension methods to the INSMachPortDelegate interface to support all the methods from the NSMachPortDelegate protocol.

NSMassFormatter

Formats masses as localized strings.

NSMeasurement<UnitType>
NSMeasurementFormatter

Enumerates measurement option flags.

NSMetadataItem

The metadata associated with a file.

NSMetadataQuery

A query of Spotlight metadata.

NSMetadataQuery.Notifications

Notification posted by the NSMetadataQuery class.

NSMetadataQueryAttributeValueTuple

Tuples that encapsulate an attribute, a value, and the count of times that value occurs for the attribute.

NSMetadataQueryDelegate

Defines optional methods relating to the lifecycle of NSMetadataQuerys.

NSMetadataQueryDelegate_Extensions

Extension methods to the INSMetadataQueryDelegate interface to support all the methods from the NSMetadataQueryDelegate protocol.

NSMetadataQueryResultGroup

A collection of grouped results returned by a NSMetadataQuery.

NSMethodSignature

Represents a function signature. Returned by the MethodSignature property.

NSMutableArray

An ordered, changeable collection of objects.

NSMutableArray<TValue>
NSMutableAttributedString

Mutable strings that can be annotated with a set of attributes.

NSMutableCharacterSet

A mutable T:NSFoundation.NSCharacterSet: a set of Unicode characters.

NSMutableCopying

Implementors of the INSMutableCopying interface produce mutable copies of an object. Types that do not have mutable and immutable subtypes should instead implement NSCopying.

NSMutableData

Dynamic byte buffer manipulation.

NSMutableDictionary

A changeable collection of key-value pairs, with unique keys.

NSMutableDictionary<TKey,TValue>
NSMutableIndexSet

Represents a mutable collection of unique, unsigned integers (T:System.UInt32). These integers are also known as indexes.

NSMutableOrderedSet

A mutable T:NSFoundation.NSOrderedSet.

NSMutableOrderedSet<TKey>
NSMutableSet

An unordered, changeable collection of unique objects.

NSMutableSet<TKey>
NSMutableString

The Foundation framework mutable string class.

NSMutableUrlRequest

Encapsulates a URL request, can be modified after creation.

NSNetDomainEventArgs

Provides data for the FoundDomain and E:Foundation.NSNetDomainEventArgs.FoundDomain events.

NSNetService

Used to expose network services using multicast DNS (ZeroConf).

NSNetServiceBrowser

Network service browser for ZeroConf-provided services.

NSNetServiceBrowserDelegate

Delegate class for NSNetService.

NSNetServiceBrowserDelegate_Extensions

Extension methods to the INSNetServiceBrowserDelegate interface to support all the methods from the NSNetServiceBrowserDelegate protocol.

NSNetServiceConnectionEventArgs

Provides data for the DidAcceptConnection event.

NSNetServiceDataEventArgs

Provides data for the UpdatedTxtRecordData event.

NSNetServiceDelegate

Delegate class for NSNetService.

NSNetServiceDelegate_Extensions

Extension methods to the INSNetServiceDelegate interface to support all the methods from the NSNetServiceDelegate protocol.

NSNetServiceErrorEventArgs

Provides data for the NotSearched and E:Foundation.NSNetServiceErrorEventArgs.ResolveFailure and E:Foundation.NSNetServiceErrorEventArgs.NotSearched events.

NSNetServiceEventArgs

Provides data for the ServiceRemoved and E:Foundation.NSNetServiceEventArgs.ServiceRemoved events.

NSNotification

Inter-application messages that are broadcast on the NSNotificationCenter.

NSNotificationCenter

A notification hub for the application.

NSNotificationEventArgs

Provides data for the event.

NSNotificationQueue

A class that represents a buffer for instances of NSNotificationCenter, allowing notifications to be buffered and coalesced.

NSNull

Encapsulates a singleton object that can be used to represent a null value. Note that this singleton will not evaluate as equal to null.

NSNumber

Binding to Objective-C API to box numbers (value types).

NSNumberFormatter

Represents numbers as strings, with a variety of formatting options.

NSObject

Base class for all bound objects that map to Objective-C objects.

NSObjectEventArgs

Provides data for the EncodedObject and E:Foundation.NSObjectEventArgs.WillEvictObject events.

NSObjectFlag

Sentinel class used by the MonoTouch framework.

NSObjectProtocol_Extensions

Extension class that, together with the INSObjectProtocol interface, comprise the NSObjectProtocol protocol.

NSObservedChange

Changes that ocurred to an object being observed by Key-Value-Observing

NSOperation

A class that encapsulates the code and data necessary to perform a task that can be executed on a thread. Application developers should either inherit from this class or use a predefined subclass such as T:Foundation.NSInvocationOperation or NSBlockOperation.

NSOperationQueue

A class that coordinates and manages the execution of a sequence of NSOperation objects.

NSOrderedSet

An immutable collection of objects, that are sorted and unique.

NSOrderedSet<TKey>
NSOrthography

A class that associates a dominant language and script with a piece of text. It is used primarily for purposes such as spell- and grammar-checking.

NSOutputStream

A write-only NSStream.

NSPersonNameComponent

Represents the components of a person name.

NSPersonNameComponents

Defines elements of a person's name, to be used with Name.

NSPersonNameComponentsFormatter

Provides a localized representation of a NSPersonNameComponents.

NSPipe

A class that encapsulates an operating system pipe.

NSPort

A communications port on the device.

NSPortDelegate

The delegate object for T:NSFoundation.NSPort objects. Provides an event for message received.

NSPortDelegate_Extensions

Extension methods to the INSPortDelegate interface to support all the methods from the NSPortDelegate protocol.

NSPortMessage

Holds a message received by a T:NSFoundation.NSPort.

NSPortNameServer
NSPredicate

A class that represents an expression that, when evaluated, returns a boolean result.

NSPredicateSupport_NSArray

Extension method for NSArray objects, allowing them to be filtered with a NSPredicate.

NSPredicateSupport_NSMutableArray

Helper metohds for applying predicates to mutable arrays.

NSPredicateSupport_NSMutableOrderedSet

Defines an extension method for NSMutableOrderedSet objects allowing them to be filtered using a NSPredicate.

NSPredicateSupport_NSMutableSet

Extension method for NSMutableSet objects, allowing them to be filtered with a NSPredicate.

NSPredicateSupport_NSOrderedSet

Defines an extension method for NSOrderedSet objects allowing them to be filtered via an NSPredicate.

NSPredicateSupport_NSSet

Helper methods for applying predicates to sets.

NSProcessInfo

A class that provides information such as arguments, environment variables, and names about the current process.

NSProcessInfo_NSUserInformation
NSProcessInfo.Notifications
NSProgress

Used with long-running processes to report progress to the end-user.

NSProgressReporting_Extensions

Extension methods to the INSProgressReporting interface to support all the methods from the INSProgressReporting protocol.

NSPropertyListSerialization

A class that provides methods for serializing and deserializing property lists.

NSPurgeableData

A type of NSMutableData whose data's memory can be freed by the system as required.

NSRecursiveLock

A subclass of NSLock that may be acquired multiple times by the same thread.

NSRegularExpression

System library for regular expressions.

NSRunLoop

Message and event dispatching loop.

NSRunLoopModeExtensions
NSScriptCommand
NSScriptCommandArgumentDescription
NSScriptCommandArgumentDescriptionKeys
NSScriptCommandDescription
NSScriptCommandDescriptionDictionary
NSScriptCommandDescriptionDictionaryKeys
NSSearchPath

Search paths utilities.

NSSecureCoding

Implementors handle encoding and decoding in a manner robust against object-substitution attacks.

NSSecureUnarchiveFromDataTransformer
NSSet

An unordered collection of distinct items.

NSSet<TKey>

Strongly-typed NSSet.

NSSortDescriptor

Provides a comparison operator that can be used with Core Data and objects such as NSArray.

NSSortDescriptorSorting_NSMutableArray

Defines a static method for sorting NSMutableArray objects using NSSortDescriptor objects.

NSStream

Abstract class for Foundation Streams.

NSStreamDelegate

When overridden, allows the applicatin developer to respond to events releated to maniplating an NSStream.

NSStreamDelegate_Extensions

Extension methods to the INSStreamDelegate interface to support all the methods from the NSStreamDelegate protocol.

NSStreamEventArgs

Provides data for the OnEvent event.

NSStreamSocksOptions

Configuration options for SOCKS proxy servers.

NSString

The Foundation String class.

NSStringDrawingContext

Configures and track the scale factor and tracking adjustements used when drawing attributed strings.

NSStringTransformExtensions
NSTask
NSTask.Notifications
NSTextChecking

Contains keys that identify text checking results.

NSTextCheckingAddressComponents

Contains the components of a recognized address.

NSTextCheckingResult

Class that contains the result of a regular expression search.

NSTextCheckingTransitComponents

Contains the components of a recognized travel data.

NSThread

NSThread support.

NSTimer

The timer can trigger actions at certain time intervals.

NSTimeZone

Encapsulates a time zone.

NSUbiquitousKeyValueStore

An iCloud-based key-value store intended for the storage of configuration and state-preservation data.

NSUbiquitousKeyValueStore.Notifications

Notification posted by the NSUbiquitousKeyValueStore class.

NSUbiquitousKeyValueStoreChangeEventArgs

Provides data for the event.

NSUndoManager

Undo manager class.

NSUndoManager.Notifications

Notification posted by the NSUndoManager class.

NSUndoManagerCloseUndoGroupEventArgs

Provides data for the event.

NSUnit

Base class for units of measure.

NSUnitAcceleration

A rate of change of velocity. Base unit is metersPerSecondSquared.

NSUnitAngle

Measures rotation in a plane. Base unit is degrees.

NSUnitArea

An NSDimension describing a two-dimensional extent. The base unit is square meters.

NSUnitConcentrationMass

An NSDimension that represents the amount of a mass within a volume. The base unit is grams / liter.

NSUnitConverter

Abstract base class for classes that convert values between appropriate types of NSUnit.

NSUnitConverterLinear

A NSUnitConverter that applies a conversion of the form f(X) = cX + k.

NSUnitDispersion

A NSDimension that is a ratio of a component constituent to all constituents. The base unit is "parts per million".

NSUnitDuration

A NSDimension that represents a span of time. The base unit is seconds.

NSUnitElectricCharge

An NSDimension that represents electric charge. The base unit is coulombs.

NSUnitElectricCurrent

A flow of electric current. The base unit is amperes.

NSUnitElectricPotentialDifference

A NSDimension that measures potential electric energy of a point charge at a single point in space. The base unit is volts.

NSUnitElectricResistance

A NSDimension that measures electrical resistance. The base unit is ohms.

NSUnitEnergy

An NSDimension that represents units of energy. The base unit is joules.

NSUnitFrequency

An NSDimension that measures how often something repeats. The base unit is hertz.

NSUnitFuelEfficiency

An NSDimension that represents the distance traveled per unit of fuel. The base unit is liters / 100 kilometers.

NSUnitIlluminance

An NSDimension that measures illuminance. The base unit is lux.

NSUnitLength

An NSDimension that measures extent. The base unit is meters.

NSUnitMass

A NSDimension that describes resistance to acceleration. The base unit is kilograms.

NSUnitPower

A NSDimension that measures energy over time. The base unit is watts.

NSUnitPressure

A NSDimension that measures normal force over a surface. The base unit is pascals.

NSUnitSpeed

A NSDimension that measures the rate of change of position. The base unit is meters / second.

NSUnitTemperature

A NSDimension that measures thermal energy. The base unit is kelvin.

NSUnitVolume

A sNSDimension that measures extent in 3 dimensions. The base unit is liters.

NSUrl

Represents a URL.

NSUrl_PromisedItems

Defines static methods for dealing with promised items.

NSUrlAsyncResult

Results from SendRequestAsync(NSUrlRequest, NSOperationQueue)

NSUrlAuthenticationChallenge

Represents an authentication challenge sent from a server to a client.

NSURLAuthenticationChallengeSender

Protocol for implementing authentication challenges.

NSURLAuthenticationChallengeSender_Extensions

Extension methods to the INSURLAuthenticationChallengeSender interface to support all the methods from the NSURLAuthenticationChallengeSender protocol.

NSUrlCache

Caches URL load requests with a combination of in-memory and on-disk strategies.

NSUrlComponents

Parses and constructs URLs according to the components defined in RFC 3986.

NSUrlConnection

A Web Client.

NSUrlConnectionDataDelegate

Protocol that contains handlers for working with data over an HTTP connection.

NSUrlConnectionDataDelegate_Extensions

Extension methods to the INSUrlConnectionDataDelegate interface to support all the methods from the NSUrlConnectionDataDelegate protocol.

NSUrlConnectionDelegate

Delegate class used by the Web Client NSUrlConnection.

NSUrlConnectionDelegate_Extensions

Extension methods to the INSUrlConnectionDelegate interface to support all the methods from the NSUrlConnectionDelegate protocol.

NSUrlConnectionDownloadDelegate

When overridden, allows customization of events relating to data received by file download via a URL.

NSUrlConnectionDownloadDelegate_Extensions

Extension methods to the INSUrlConnectionDownloadDelegate interface to support all the methods from the NSUrlConnectionDownloadDelegate protocol.

NSUrlCredential

Authentication credentials

NSUrlCredentialStorage

Manages the URL credential storage.

NSUrlCredentialStorage.Notifications

Notification posted by the NSUrlCredentialStorage class.

NSUrlDownload
NSUrlDownloadDelegate
NSUrlDownloadDelegate_Extensions
NSUrlProtectionSpace

Represents a realm on a server that requires authentication.

NSUrlProtocol

A base class for providing protocol-specific URL loading.

NSUrlProtocolClient
NSUrlQueryItem

A single key-value pair that is part of the query portion of a URL.

NSUrlRequest

A Url Load request.

NSUrlResponse

Used to read the response from an NSUrlRequest.

NSUrlSession

Coordinates a set of data-transfer tasks, including large background tasks.

NSUrlSessionActiveTasks

Holds the return values from the asynchronous method GetTasksAsync().

NSUrlSessionActiveTasks2

Contains active tasks for an NSUrlSession.

NSUrlSessionCombinedTasks
NSUrlSessionConfiguration

Encapsulates the configuration to be used with a NSUrlSession.

NSUrlSessionDataDelegate

The delegate object for NSUrlSessionDataTask class, providing events relating to data upload and download.

NSUrlSessionDataDelegate_Extensions

Extension methods to the INSUrlSessionDataDelegate interface to support all the methods from the NSUrlSessionDataDelegate protocol.

NSUrlSessionDataTask

A NSUrlSessionTask that transfers data as NSData.

NSUrlSessionDataTaskRequest

Holds the return values from the NSUrlSession.Create*TaskAsync methods.

NSUrlSessionDelegate

The delegate object for NSUrlSession objects.

NSUrlSessionDelegate_Extensions

Extension methods to the INSUrlSessionDelegate interface to support all the methods from the NSUrlSessionDelegate protocol.

NSUrlSessionDownloadDelegate

The delegate object for a NSUrlSessionDownloadTask, provides events relating to large data downloads.

NSUrlSessionDownloadDelegate_Extensions

Extension methods to the INSUrlSessionDownloadDelegate interface to support all the methods from the NSUrlSessionDownloadDelegate protocol.

NSUrlSessionDownloadTask

Developers should use NSUrlDownloadSessionResponse rather than this deprecated type.

NSUrlSessionDownloadTaskRequest

This class holds the return values from the asynchronous methods CreateDownloadTaskFromResumeDataAsync(NSData, NSUrlSessionDownloadTask), CreateDownloadTaskFromResumeDataAsync(NSData, NSUrlSessionDownloadTask), CreateDownloadTaskFromResumeDataAsync(NSData, NSUrlSessionDownloadTask).

NSUrlSessionHandler
NSUrlSessionStreamDataRead
NSUrlSessionStreamDelegate

Delegate object for NSUrlSession objects that have NSUrlSessionStreamTask objects.

NSUrlSessionStreamDelegate_Extensions

Extension methods to the INSUrlSessionStreamDelegate interface to support all the methods from the NSUrlSessionStreamDelegate protocol.

NSUrlSessionStreamTask

A subclass of NSUrlSessionTask that provides APIs for asynchonous reads and writes.

NSUrlSessionTask

The base class for data-transfer tasks created by a NSUrlSession.

NSUrlSessionTaskDelegate

The delegate object for T:Foundation.NSUrlSessionTaskUpload objects, providing events relating to file uploads.

NSUrlSessionTaskDelegate_Extensions

Extension methods to the INSUrlSessionTaskDelegate interface to support all the methods from the NSUrlSessionTaskDelegate protocol.

NSUrlSessionTaskMetrics

Holds data on the execution of a NSUrlSessionTask.

NSUrlSessionTaskPriority

Defines constants for use with Priority.

NSUrlSessionTaskTransactionMetrics

Holds data on individual request/response pairs within a NSUrlSessionTask.

NSUrlSessionUploadTask

An NSUrlSessionDataTask that is used to upload data.

NSUrlUtilities_NSCharacterSet

Defines static methods defining character sets for various subcomponents of a NSUrl.

NSUrlUtilities_NSString

Defines static methods for URL encoding and escaping.

NSUserActivity

A user behavior that may be continued on another device. (Currently only browsing the Web, see NSUserActivityType).

NSUserActivityContinuation

Holds the continuation streams returned by the GetContinuationStreamsAsync() method.

NSUserActivityDelegate

Delegate object for NSUserActivity objects, exposing events relating to an activity begun on one device and continued on another.

NSUserActivityDelegate_Extensions

Extension methods to the INSUserActivityDelegate interface to support all the methods from the NSUserActivityDelegate protocol.

NSUserActivityType

Defines types of NSUserActivity available from the system (currently only browsing the Web).

NSUserDefaults

Provides access to the user defaults.

NSUserDefaults.Notifications
NSUserNotification
NSUserNotificationAction
NSUserNotificationCenter
NSUserNotificationCenterDelegate
NSUserNotificationCenterDelegate_Extensions
NSUuid

A class for creating and representing universally-unique identification strings (UUIDs).

NSValue

Binding to the Objective-C way of boxing value types.

NSValueTransformer

Abstract class that supports converting between value representations. Primarily used internally by Cocoa.

NSValueTransformer.Notifications
NSXpcListenerEndpoint

Names a specific XPC listener.

NSZone

An OS-controlled area within memory from which objects are allocated.

ObjCException
OutletAttribute

Exposes the given property as an outlet to the Objective-C world.

PreserveAttribute

Prevents the MonoTouch linker from linking the target.

ProtocolAttribute

Attribute applied to interfaces that represent Objective-C protocols.

ProtocolMemberAttribute
RegisterAttribute

Used to register a class to the Objective-C runtime.

UNCDidActivateNotificationEventArgs
UNCDidDeliverNotificationEventArgs
You_Should_Not_Call_base_In_This_Method

This class exits purely as a warning to future generations.   You called a method using “base”, but this was not required.

Structs

NSDecimal

Represents an immutable value that can range from mantissa*10^exponent where mantissa is a decimal integer of up to 38 digits length, and the exponent is an integer that can range from -128 through 127.

NSOperatingSystemVersion

Defines the operating system version. Particularly for use with the IsOperatingSystemAtLeastVersion(NSOperatingSystemVersion) method.

NSRange

Represents a range given by a location and length.

Interfaces

INSCacheDelegate

Interface representing the required methods (if any) of the protocol NSCacheDelegate.

INSCoding

Interface representing the required methods (if any) of the protocol NSCoding.

INSConnectionDelegate
INSCopying

Interface representing the required methods (if any) of the protocol NSCopying.

INSDiscardableContent

Interface for a class that can save memory by discarding some of its subcomponents when they are not in use.

INSExtensionRequestHandling

Interface representing the required methods (if any) of the protocol NSExtensionRequestHandling.

INSFileManagerDelegate

Interface representing the required methods (if any) of the protocol NSFileManagerDelegate.

INSFilePresenter

Interface representing the required methods (if any) of the protocol NSFilePresenter.

INSItemProviderReading
INSItemProviderWriting

Interface used by NSItemProvider for retrieving data from an object.

INSKeyedArchiverDelegate

Interface representing the required methods (if any) of the protocol NSKeyedArchiverDelegate.

INSKeyedUnarchiverDelegate

Interface representing the required methods (if any) of the protocol NSKeyedUnarchiverDelegate.

INSLocking

Interface that, together with the T:Foundation.NSLocking_Extensions class, comprise the NSLocking protocol.

INSMachPortDelegate

Interface representing the required methods (if any) of the protocol NSMachPortDelegate.

INSMetadataQueryDelegate

Interface representing the required methods (if any) of the protocol NSMetadataQueryDelegate.

INSMutableCopying

Interface representing the required methods (if any) of the protocol NSMutableCopying.

INSNetServiceBrowserDelegate

Interface representing the required methods (if any) of the protocol NSNetServiceBrowserDelegate.

INSNetServiceDelegate

Interface representing the required methods (if any) of the protocol NSNetServiceDelegate.

INSObjectProtocol

Base-level object protocol required to be considered a first class Objective-C object.

INSPortDelegate

Interface representing the required methods (if any) of the protocol NSPortDelegate.

INSProgressReporting

Interface representing the required methods (if any) of the protocol INSProgressReporting.

INSSecureCoding

The secure coding category.

INSStreamDelegate

Interface representing the required methods (if any) of the protocol NSStreamDelegate.

INSURLAuthenticationChallengeSender

Interface representing the required methods (if any) of the protocol NSURLAuthenticationChallengeSender.

INSUrlConnectionDataDelegate

Interface representing the required methods (if any) of the protocol NSUrlConnectionDataDelegate.

INSUrlConnectionDelegate

Interface representing the required methods (if any) of the protocol NSUrlConnectionDelegate.

INSUrlConnectionDownloadDelegate

Interface representing the required methods (if any) of the protocol NSUrlConnectionDownloadDelegate.

INSUrlDownloadDelegate
INSUrlProtocolClient

The URL protocol client category.

INSUrlSessionDataDelegate

Interface representing the required methods (if any) of the protocol NSUrlSessionDataDelegate.

INSUrlSessionDelegate

Interface representing the required methods (if any) of the protocol NSUrlSessionDelegate.

INSUrlSessionDownloadDelegate

Interface representing the required methods (if any) of the protocol NSUrlSessionDownloadDelegate.

INSUrlSessionStreamDelegate

Interface representing the required methods (if any) of the protocol NSUrlSessionStreamDelegate.

INSUrlSessionTaskDelegate

Interface representing the required methods (if any) of the protocol NSUrlSessionTaskDelegate.

INSUserActivityDelegate

Interface representing the required methods (if any) of the protocol NSUserActivityDelegate.

INSUserNotificationCenterDelegate

Enums

AEEventClass
AEEventID
NSActivityOptions

A flagging enumeration whose values can be used with BeginActivity(NSActivityOptions, String).

NSAlignmentOptions

An enumeration of values used by alignment functions.

NSAppleEventDescriptorType
NSAppleEventSendOptions
NSAttributedStringEnumeration

An enumeration whose values specify the options to be used in the EnumerateAttribute(NSString, NSRange, NSAttributedStringEnumeration, NSAttributedStringCallback) and EnumerateAttributes(NSRange, NSAttributedStringEnumeration, NSAttributedRangeCallback) methods.

NSBundleExecutableArchitecture

The bundle's architecture.

NSByteCountFormatterCountStyle

An enumeration whose values specify how byte units are calculated (e.g., if "KB" indicates 1000 or 1024 bytes).

NSByteCountFormatterUnits

An enumeration whose values specify the units to be displayed by a NSByteCountFormatter.

NSCalculationError

An enumeration whose values indicate a specific calculation error (e.g., underflow, division by zero, loss of precision).

NSCalendarOptions

A flagging enumeration whose values specify options in calls to M:NSFoundation.NSCalendar.Components* and DateByAddingComponents(NSDateComponents, NSDate, NSDateComponentsWrappingBehavior).

NSCalendarType

Calendar types that can be used with the NSCalendar constructor.

NSCalendarUnit

An enumeration whose values specify calendrical units (e.g., seconds, months, eras).

NSCocoaError

Enumeration of various errors relating to Cocoa development.

NSComparisonPredicateModifier

An enumeration whose values specify how a NSComparisonPredicate should apply to an n-to-many relationship.

NSComparisonPredicateOptions

An enumeration whose values specify the type of string comparison to be used in a NSComparisonPredicate.

NSComparisonResult

Comparison result in the Foundation Framework.

NSCompoundPredicateType

An enumeration whose values specify the Boolean logical operator to be applied to a NSCompoundPredicate.

NSDataBase64DecodingOptions

A flagging enumeration that can be used with the C:Foundation.NSData(Foundation.NSData,Foundation.NSDataBase64DecodingOptions constructor.

NSDataBase64EncodingOptions

A flagging enumeration that can be used to specify options for GetBase64EncodedData(NSDataBase64EncodingOptions) and GetBase64EncodedString(NSDataBase64EncodingOptions).

NSDataReadingOptions

Flags that determine how NSData loads files.

NSDataSearchOptions

Flags controling the search in NSData's Find method.

NSDataWritingOptions

An enumeration of options to be used when writing NSData objects.

NSDateComponentsFormatterUnitsStyle

Enumerates NSDateComponentsFormatter output styles.

NSDateComponentsFormatterZeroFormattingBehavior

Enumerates how zero values should be dealt with by a NSDateComponentsFormatter.

NSDateComponentsWrappingBehavior

An enumeration that allows the application developer to specify whether calendar components should be wrapped.

NSDateFormatterBehavior

An enumeration that can specify whether the NSDateFormatter should behave as it did prior to OS x v10.4

NSDateFormatterStyle

An enumeration of values that specify different date-format styles.

NSDateIntervalFormatterStyle

Enumerates the output styles of a NSDateIntervalFormatter.

NSDecodingFailurePolicy

Enumerates the manner in which a NSCoder fails. (See P:Foundation.NSCoder.FailurePolicy)

NSDirectoryEnumerationOptions

An enumeration of options for use with NSDirectoryEnumerator.

NSDocumentType

An enumeration of known document types. Used with the DocumentType property.

NSDocumentViewMode

An enumeration that specifies how a document is being viewed. Used with the ViewMode property.

NSEnergyFormatterUnit

The unit to be used by a NSEnergyFormatter.

NSEnumerationOptions

An enumeration of valid options for use when enumerating over Blocks.

NSExpressionType

An enumeration of valid types for a NSExpression.

NSFileCoordinatorReadingOptions

An enumeration of options relating to reading the contents or attributes of a file or directory.

NSFileCoordinatorWritingOptions

An enumeration of options valid when changing the contents or attributes of a file or directory.

NSFileManagerItemReplacementOptions

An enumeration of options for use with Replace(NSUrl, NSUrl, String, NSFileManagerItemReplacementOptions, NSUrl, NSError).

NSFileManagerUnmountOptions
NSFileProtection

Enumerates file protection levels.

NSFileType

File kind enumeration.

NSFileVersionAddingOptions

Allows the application developer to specify that a new file version should be created by moving the source file.

NSFileVersionReplacingOptions

Allows the application developer to specify that the old version of the file should be removed from the version store.

NSFileWrapperReadingOptions

An enumeration of options to be used when reading a file-system node.

NSFileWrapperWritingOptions

An enumeration of options to be used when writing a file-system node.

NSFormattingContext

Enumerates the position of the data being formatted. Used with NSByteCountFormatter and NSDateComponentsFormatter.

NSFormattingUnitStyle

Enumerates the style (desired length) of an NSLengthFormatter, NSEnergyFormatter, or NSMassFormatter.

NSHttpCookieAcceptPolicy

An enumeration whose values specify valid strategies for accepting NSHttpCookies.

NSIso8601DateFormatOptions

A flagging enumeration of formatting options for use with NSIso8601DateFormatter.

NSItemDownloadingStatus

Enumerates download status values.

NSItemProviderErrorCode

Enumerates errors relating to NSItemProvider methods.

NSItemProviderFileOptions
NSItemProviderRepresentationVisibility
NSJsonReadingOptions

Options for use when converting JSON data to instances of Foundation types.

NSJsonWritingOptions

An enumeration specifying printing options (compact vs. pretty-printed) for JSON data.

NSKeyValueChange

An enumeration indicating the type of change occurring in the WillChangeValue(String) and DidChangeValue(String) methods.

NSKeyValueObservingOptions

An enumeration of values specifying options to be used with the AddObserver(NSObject, String, NSKeyValueObservingOptions, IntPtr) method.

NSKeyValueSetMutationKind

An enumeration of values indicating the operation being performed on a mutable key-value store.

NSLengthFormatterUnit

Enumerates units of length (foot, meter, etc.) for use with NSLengthFormatter.

NSLigatureType

An enumeration that defines the valid ligature types of an NSAttributedString.

NSLinguisticTaggerOptions

An enumeration of options for use with NSLinguisticTagger.

NSLinguisticTaggerUnit

Enumerate the linguistic units recognized by the NSLinguisticTagger class.

NSLinguisticTagScheme

Enumerates classes of tags that are returned from a text classifier.

NSLinguisticTagUnit

Enumerates tag values for linguistic units.

NSLocaleLanguageDirection

An enumeration of values that specify the direction of text for a language.

NSMachPortRights

A flagging enumeration whose values specify options in calls to FromMachPort(UInt32, NSMachPortRights).

NSMassFormatterUnit

Enumerates mass units (lb, kg, stone).

NSMatchingFlags

Enumerates flags for use with the NSMatchEnumerator delegate.

NSMatchingOptions

Enumerates options for use with NSRegularExpression regular expression objects.

NSMeasurementFormatterUnitOptions
NSNetServiceOptions

NSNetService options.

NSNetServicesStatus

Status codes for the NSNetService.

NSNotificationCoalescing

An enumeration of ways in which NSNotifications can be coalesced.

NSNotificationFlags
NSNotificationSuspensionBehavior
NSNumberFormatterBehavior

An enumeration whose values specify whether the number formatter should behave as it did before OS X v10.4

NSNumberFormatterPadPosition

An enumeration whose values indicates where padding should be applied to numbers.

NSNumberFormatterRoundingMode

An enumeration of rounding modes that can be applied to numbers.

NSNumberFormatterStyle

An enumeration of formats that can be used with numbers.

NSOperationQueuePriority

An enumeration of values that specify the priority of an operation, relative to others, in a NSOperationQueue.

NSPersonNameComponentsFormatterOptions

Contains a constant that, if specified, indicates that the phonetic representation of a name should be formatted, rather than the name object's own components.

NSPersonNameComponentsFormatterStyle

Enumerates values that control the way that names are displayed.

NSPostingStyle

An enumeration of values that specify when a notification shouldbe posted.

NSPredicateOperatorType

An enumeration of values that specify comparison types for use with NSComparisonPredicate.

NSProcessInfoThermalState
NSPropertyListFormat

The format to use during serialization using NSKeyedArchiver.

NSPropertyListMutabilityOptions

An enumeration of values specifying mutability options for property lists.

NSPropertyListReadOptions

Apple states that functionality related to this class is not implemented.

NSPropertyListWriteOptions

An enumeration of mutability options for use with property lists.

NSQualityOfService

Enumerates QoS values for use with NSOperation objects and NSOperationQueue objects.

NSRegularExpressionOptions

Defines options for use with NSRegularExpression objects.

NSRoundingMode

An enumeration of values that specify rounding behaviors for NSDecimals.

NSRunLoopMode

Run loop modes for NSRunLoop.

NSSearchPathDirectory

An enumeration of special directories for use with M:Foundation.NSFileManager.GetURLs*.

NSSearchPathDomain

An enumeration of values specifying search path domain constants for use with NSSearchPathDirectory.

NSSortOptions

A flagging enumeration that specifies sorting options in calls to M:NSFoundation.NSMutableOrderedSet.Sort*.

NSStreamEvent

An enumeration of values that may be sent to HandleEvent(NSStream, NSStreamEvent).

NSStreamServiceType

Possible values for the service type for an NSStream.

NSStreamSocketSecurityLevel

The security protocol to use for an NSStream.

NSStreamStatus

The current status of an NSStream.

NSStringCompareOptions

An enumeration of options available to NSString search and comparison methods.

NSStringDrawingOptions

An enumeration of options for use when drawing strings.

NSStringEncoding

Encodings supported by NSString.Encode.

NSStringTransform
NSTaskTerminationReason
NSTextCheckingType

Enumerates available predefined regular expressions for checking text.

NSTextCheckingTypes

Enumerates available predefined classes of regular expressions for checking text.

NSTextWritingDirection

Enumerates writing directions for use with NSWritingDirection.

NSTimeZoneNameStyle

Specifies styles for time-zone names.

NSUbiquitousKeyValueStoreChangeReason

An enumeration of valid reasons for modifying the iCloud ubiquitous key store.

NSUnderlineStyle

An enumeration of valid styles for underlines or strikethroughs.

NSUrlBookmarkCreationOptions

An enumeration of options ot be used when creating a bookmark.

NSUrlBookmarkResolutionOptions

An enumeration of options to be used when creating an NSUrl by resolving a bookmark.

NSUrlCacheStoragePolicy

An enumeration of values representing valid caching strategies for use with NSUrls.

NSUrlCredentialPersistence

Determines how credentials are persisted.

NSUrlError

An enumeration of errors associated with creating or loading a NSUrl.

NSUrlErrorCancelledReason

An enumeration whose values specify why a data transfer was cancelled.

NSUrlRelationship

Defines constants defining the relationship between a directory and an item.

NSUrlRequestCachePolicy

NSUrlRequest caching policy.

NSUrlRequestNetworkServiceType

Network service types for NSUrlRequest.

NSUrlSessionAuthChallengeDisposition

An enumeration whose values specify the state of an authorization challenge.

NSUrlSessionDelayedRequestDisposition
NSUrlSessionMultipathServiceType
NSUrlSessionResponseDisposition

An enumeration whose values specify the state of a response.

NSUrlSessionTaskMetricsResourceFetchType

Enumerates the way a network resource might be loaded.

NSUrlSessionTaskState

An enumeration whose values specify the state of a T:Foundation.NSSessionTask.

NSUserDefaultsType

An enumeration whose values specify the type of a T:NSFoundation.NSUserDefaults object.

NSUserNotificationActivationType
NSVolumeEnumerationOptions

An enumeration of options for use when enumerating mounted volumes.

NSWritingDirection

An enumeration of valid writing directions.

Delegates

CloudKitRegistrationPreparationAction
CloudKitRegistrationPreparationHandler
EnumerateDatesCallback

Completion handler for the EnumerateDatesStartingAfterDate(NSDate, NSDateComponents, NSCalendarOptions, EnumerateDatesCallback) method.

EnumerateIndexSetCallback

Defines the enumerator callback in calls to EnumerateIndexes(NSRange, NSEnumerationOptions, EnumerateIndexSetCallback).

ItemProviderDataCompletionHandler
LinguisticTagEnumerator
LoadInPlaceFileRepresentationHandler
NSAttributedRangeCallback

A delegate that specifies the callback for the EnumerateAttributes(NSRange, NSAttributedStringEnumeration, NSAttributedRangeCallback) method.

NSAttributedStringCallback

A delegate that specifies the callback for the EnumerateAttribute(NSString, NSRange, NSAttributedStringEnumeration, NSAttributedStringCallback) method.

NSComparator

A delegate that defines the comparison function to be used with functins such as Sort(NSComparator).

NSDataByteRangeEnumerator

The delegate used to enumerate in calls to EnumerateByteRange(NSDataByteRangeEnumerator).

NSDecoderCallback

A delegate that specifies the callback function for the DecodedObject property.

NSDecoderHandler

A delegate that specifies the callback function for the CannotDecodeClass property.

NSEncodeHook

A delegate that specifies the function to be called by the WillEncode method.

NSEnumerateErrorHandler

A delegate that specifies the error handler for use in GetEnumerator(NSUrl, NSString[], NSDirectoryEnumerationOptions, NSEnumerateErrorHandler).

NSEnumerateLinguisticTagsEnumerator

An enumerator to pass to methods in the NSLinguisticAnalysis class.

NSErrorUserInfoValueProvider

Delegate returned by GetUserInfoValueProvider(String).

NSExpressionCallbackHandler
NSExpressionHandler

A delegate that specifies the target of the FromFunction(NSExpression, String, NSExpression[]) method.

NSFileCoordinatorWorkerRW

A delegate that used with a number of coordinated read-and-write functions in NSFileCoordinator.

NSFilePresenterReacquirer

Completion handler for relinquishing a file to a reader.

NSFileVersionNonlocalVersionsCompletionHandler
NSItemProviderCompletionHandler

The completion handler used with NSItemProviderLoadHandler delegates.

NSItemProviderLoadHandler

Defines the load handler for use with the RegisterItemForTypeIdentifier(String, NSItemProviderLoadHandler) and SetPreviewImageHandler(NSItemProviderLoadHandler) methods.

NSLingusticEnumerator

A delegate that enumerates values for EnumerateTagsInRange(NSRange, NSString, NSLinguisticTaggerOptions, NSLingusticEnumerator).

NSMatchEnumerator

Delegate applied to results in EnumerateMatches(NSString, NSMatchingOptions, NSRange, NSMatchEnumerator).

NSMetadataQueryEnumerationCallback

The delegate used as the callback in calls to EnumerateResultsUsingBlock(NSMetadataQueryEnumerationCallback) and EnumerateResultsWithOptions(NSEnumerationOptions, NSMetadataQueryEnumerationCallback).

NSMetadataQueryObject

A delegate that defines the value for ReplacementObjectForResultObject.

NSMetadataQueryValue

A delegate that defines the value for ReplacementValueForAttributevalue.

NSPredicateEvaluator

A delegate that represents the expression to use with FromExpression(NSPredicateEvaluator).

NSRangeIterator

A delegate used to specify the iterator used by EnumerateRanges(NSRange, NSEnumerationOptions, NSRangeIterator).

NSSetEnumerator

A delegate that specifies the enumerator used by Enumerate(NSSetEnumerator).

NSUrlConnectionDataResponse

The delegate used as the completion handler for SendAsynchronousRequest(NSUrlRequest, NSOperationQueue, NSUrlConnectionDataResponse).

NSUrlDownloadSessionResponse

Completion handler for calls to M:Foundation.NSUrlSession.CreateDownloadTask* and CreateDownloadTaskFromResumeData(NSData, NSUrlDownloadSessionResponse).

NSUrlSessionAllPendingTasks
NSUrlSessionDataRead
NSUrlSessionPendingTasks

The delegate that serves as the completion handler for GetTasks(NSUrlSessionPendingTasks).

NSUrlSessionPendingTasks2

Contains pending tasks for an NSUrlSession.

NSUrlSessionResponse

Signature for callbacks invoked by NSUrlSession for various background operations.

RegisterDataRepresentationLoadHandler
RegisterFileRepresentationCompletionHandler
RegisterFileRepresentationLoadHandler
RegisterObjectRepresentationCompletionHandler
RegisterObjectRepresentationLoadHandler
UNCShouldPresentNotification

Remarks

MonoTouch bindings are largely built on the Objective-C extension to the Mono runtime that allows seamless integration between Objective-C and C# objects. This namespace provides bindings to Apple's Foundation framework.