Work with primitive values and other fundamental types used throughout Cocoa.
Framework
- Foundation
Work with primitive values and other fundamental types used throughout Cocoa.
Framework
struct Int
A signed integer value type.
struct Double
A double-precision, floating-point value type.
struct Decimal
A structure representing a base-10 number.
class Number Formatter
A formatter that converts between numeric values and their textual representations.
struct Data
A byte buffer in memory.
struct URL
A value that identifies the location of a resource, such as an item on a remote server or the path to a local file.
struct URLComponents
A structure that parses URLs into and constructs URLs from their constituent parts.
struct URLQuery Item
A single name-value pair from the query portion of a URL.
struct UUID
A universally unique value that can be used to identify types, interfaces, and other items.
struct CGFloat
The basic type for floating-point scalar values in Core Graphics and related frameworks.
typealias NSPoint
A point in a Cartesian coordinate system.
typealias NSSize
A two-dimensional size.
typealias NSRect
A rectangle.
struct Affine Transform
A graphics coordinate transformation.
struct NSEdge Insets
A description of the distance between the edges of two rectangles.
typealias NSRange
A structure used to describe a portion of a series, such as characters in a string or objects in an array.
Create and process strings of Unicode characters, use regular expressions to find patterns, and perform natural language analysis of text.
Use arrays, dictionaries, sets, and specialized collections to store and iterate groups of objects or values.
Compare dates and times, and perform calendar and time zone calculations.
Label numeric quantities with physical dimensions to allow locale-aware formatting and conversion between related units.
Convert numbers, dates, measurements, and other values to and from locale-aware string representations.
Use predicates, expressions, and sort descriptors to examine elements in collections and other services.