Upravit

Sdílet prostřednictvím


CoreFoundation Namespace

The CoreFoundation namespace provides low-level access to C-based CocoaTouch APIs.

Classes

CFAllocator

A class that allows for explicit allocation and de-allocation of memory.

CFBundle
CFErrorDomain

A class whose static fields define error domains for Domain.

CFException

Represents an exception arising from a Core Foundation CFError, having an error domain, a domain-specific error code, and perhaps additional information.

CFExceptionDataKey

Class that contains keys that identify exception data values.

CFMachPort

Basic access to the underlying operating system Mach Port and integration with run loops.

CFMessagePort

A communication channel between multiple threads on the local device.

CFMutableString
CFNetwork

Provides the necessary methods needed for accessing the system's global proxy configuration settings and resolving a list of proxies to use for connecting to a URL.

CFNotificationCenter

Notification hub for the application.

CFNotificationObserverToken

Token returned by a call to AddObserver(String, INativeObject, Action<String,NSDictionary>, CFNotificationSuspensionBehavior) that can be used to unregister observers.

CFObject

Base class for CoreFoundation objects.

CFPreferences

A collection of utility methods for setting Core Foundation preferences.

CFPropertyList
CFProxy

Provides information about a proxy.

CFProxySettings

Configuration settings used by GetProxiesForURL(NSUrl, CFProxySettings).

CFReadStream

A CFStream that reads streams of bytes.

CFRunLoop

Main loop implementation for Cocoa and CocoaTouch applications.

CFRunLoopSource

An input source that generates asynchronous events and is intended to be used with a CFRunLoop.

CFRunLoopSourceCustom

An abstract CFRunLoop that, when extended, gives the application developer fine-grained control over lifecycle events.

CFSocket

CoreFoundation low-level Socket library - use the Network APIs instead.

CFSocket.CFSocketAcceptEventArgs

T:System.EventArgs for the AcceptEvent event.

CFSocket.CFSocketConnectEventArgs

T:System.EventArgs for the ConnectEvent event.

CFSocket.CFSocketDataEventArgs

Arguments for socket data events.

CFSocket.CFSocketReadEventArgs

Arguments for socket read events.

CFSocket.CFSocketWriteEventArgs

Arguments for socket write events.

CFSocketException

An T:System.Exception that is raised by various methods of the CFSocket class.

CFStream

An abstract class that defines a stream for reading or writing bytes - modern applications should use the N:Network APIs instead.

CFStream.StreamEventArgs

An T:System.EventArgs used by several events in CFString.

CFString

String class used by C-only Cocoa APIs.

CFStringTransformExtensions
CFType

Base type for some Core Foundation classes, such as CFSocket and CFStream.

CFUrl

URL class used by C-only Cocoa APIs.

CFWriteStream

A CFStream that writes streams of bytes.

DispatchBlock
DispatchData
DispatchGroup

Manages group of code blocks allows for aggregate synchronization.

DispatchIO
DispatchObject

Base class for dispatch objects.

DispatchQueue

Provides a task queue that can perform tasks either synchronously or asynchronously.

DispatchQueue.Attributes
DispatchSource

DispatchSource is a base class used to reprenset event sources that can monitor a variety of system objects and events including file descriptors, mach ports, processes, virtual filesystem nodes, signal delivery and timers.

DispatchSource.Data

Base class for dispatch sources that allow applications to trigger an event handler on the target queue.

DispatchSource.DataAdd

Dispatch sources that allow applications to trigger an event handler on the target queue.

DispatchSource.DataOr

Dispatch sources that allow applications to trigger an event handler on the target queue.

DispatchSource.Mach

Base class for dispatch sources that allow applications to monitor a Mach port.

DispatchSource.MachReceive

Dispatch Sources of this type monitor a mach port with a receive right for state changes.

DispatchSource.MachSend

Dispatch sources of this type monitors a mach port with a send right for state changes.

DispatchSource.MemoryPressure

Sources of this type monitor the system memory pressure condition for state changes.

DispatchSource.ProcessMonitor

Dispatch Source of this type monitor processes for state changes

DispatchSource.ReadMonitor

Sources of this type monitor file descriptors for pending data.

DispatchSource.SignalMonitor

Sources of this type monitor signals delivered to the current process.

DispatchSource.Timer

Sources of this type periodically invoke the event handler on the target queue.

DispatchSource.VnodeMonitor

Sources of this type monitor the virtual filesystem nodes for state changes.

DispatchSource.WriteMonitor

Sources of this type monitor file descriptors for available write buffer space.

NativeObject

Structs

CFBundle.PackageInfo
CFRange

Represents a range from two integers: location and length.

CFSocketNativeHandle

Type for the platform-specific native socket handle.

CFStreamClientContext

A structure used to support custom stream-related events.

DispatchTime

Dispatch time and time-out representation.

Interfaces

ICFType

MonoTouch-internal interface for now.

Enums

CFBundle.Architecture
CFBundle.PackageType
CFMessagePortSendRequestStatus

This enumeration contains status codes for SendRequest(Int32, NSData, Double, Double, NSString, NSData).

CFNetworkErrors
CFNotificationSuspensionBehavior

Flags that determine how notifications should be handled when the application is running in the background.

CFPropertyListFormat
CFPropertyListMutabilityOptions
CFProxyType

An enum of CFProxy proxy types.

CFRunLoopExitReason

The reason for a CFRunLoop to stop running.

CFSocketCallBackType

An enumeration whose values can be used with the DisableCallBacks(CFSocketCallBackType) and EnableCallBacks(CFSocketCallBackType) methods.

CFSocketError

An enumeration whose values specify errors relating to CFSockets.

CFSocketFlags

An enumeration whose values can be used with the GetSocketFlags() and SetSocketFlags(CFSocketFlags) methods.

CFStreamEventType

Constants for stream-related events.

CFStreamStatus

An enumeration whose values specify valid statuses for a CFStream.

CFStringTransform
CFUrlPathStyle

Url Style.

DispatchBlockFlags
DispatchQualityOfService
DispatchQueue.AutoreleaseFrequency
DispatchQueuePriority

An enumeration whose values define priorities available to DispatchQueues.

MemoryPressureFlags

Memory pressure flags surfaced by the DispatchSource.MemoryPressure dispatch source.

ProcessMonitorFlags

Enumerates process state transitions to monitor for DispatchSource.ProcessMonitor.

VnodeMonitorKind

Type of Vnode monitoring operation to perform on a file.

Delegates

CFMessagePort.CFMessagePortCallBack
CFStream.CFStreamCallback

A delegate used as a callback in various CFStream methods.

DispatchIOHandler

Remarks

The types in the MonoTouch.CoreFoundation namespace are bindings to the object oriented CocoaTouch C-API. They are lower level classes, functions and types than the Objective-C based APIs found in MonoTouch.Foundation.