View in English

  • Global Nav Open Menu Global Nav Close Menu
  • Apple Developer
Search
Cancel
  • Apple Developer
  • News
  • Discover
  • Design
  • Develop
  • Distribute
  • Support
  • Account
Only search within “”

Quick Links

5 Quick Links
  • NSArray

    • Foundation
    • NSArray

    A static ordered collection of objects.

    • DOCUMENTATION
    • Objective-C
    • Swift
  • array

    • Foundation
    • NSArray
    • array

    Creates and returns an empty array.

    • DOCUMENTATION
    • Objective-C
  • init(array:)

    • Foundation
    • NSArray
    • init(array:)

    Initializes a newly allocated array by placing in it the objects contained in a given array.

    • DOCUMENTATION
    • Swift
  • NSArrayController

    • AppKit
    • NSArrayController

    A bindings-compatible controller that manages a collection of objects.

    • DOCUMENTATION
    • Objective-C
    • Swift
  • NSMutableArray

    • Foundation
    • NSMutableArray

    A dynamic ordered collection of objects.

    • DOCUMENTATION
    • Objective-C
    • Swift
  • NSPointArray

    • Foundation
    • NSPointArray

    Type indicating a parameter is array of NSPoint structures.

    • DOCUMENTATION
    • Objective-C
    • Swift
  • NSPointerArray

    • Foundation
    • NSPointerArray

    A collection similar to an array, but with a broader range of available memory semantics.

    • DOCUMENTATION
    • Objective-C
    • Swift
  • NSRectArray

    • Foundation
    • NSRectArray

    Type indicating a parameter is array of NSRect structures.

    • DOCUMENTATION
    • Objective-C
    • Swift
  • NSSizeArray

    • Foundation
    • NSSizeArray

    Type indicating a parameter is an array of NSSize structures.

    • DOCUMENTATION
    • Objective-C
    • Swift
  • Array

    • Swift
    • Array

    An ordered, random-access collection.

    • DOCUMENTATION
    • Swift
  • Using NSInvocation

    Explains how Objective-C objects in different threads or different processes communicate.

  • Subclassing NSCoder

    Explains how to put Cocoa objects into and remove them from a representation suitable for archiving.

  • About NSNetServices and CFNetServices

    Explains how to implement Bonjour in Cocoa or Carbon apps.

  • Filtering Using a Custom Array Controller

    Explains how to rapidly develop sophisticated user interfaces using Cocoa binding technology.

  • Searching File Metadata with NSMetadataQuery

    Describes how to add Spotlight searching to your applications.

  • Using Multiple NSTextViews

    Explains how to implement the main, high-level interface to the Cocoa text system.

  • Creating the Subclass of NSDocument

    Explains how to create document-based applications using the Cocoa document architecture on OS X.

  • Creating an NSTextView Object

    Explains how to implement the main, high-level interface to the Cocoa text system.

  • Creating an NSTextView Object Programmatically

    Explains how to implement the main, high-level interface to the Cocoa text system.

  • NSNetServices and CFNetServices Programming Guide

  • Putting an NSTextView Object in an NSScrollView

    Explains how to implement the main, high-level interface to the Cocoa text system.

  • Grouping Related Objective-C Constants

    Add macros to your Objective-C types to group their values in Swift.

    • DOCUMENTATION ARTICLE
    • Swift
  • Comparison of NSPredicate and Spotlight Query Strings

    Describes how to specify queries in Cocoa.

  • Invalid variable-length array

    Detects negative array bounds.

    • DOCUMENTATION ARTICLE
    • Swift
  • Shaped Array Collection Operations

    Properties and methods a shaped array inherits from collection protocols.

    • DOCUMENTATION ARTICLE
    • Swift
    • Objective-C
  • Out-of-bounds array access

    Detects out-of-bounds access of arrays.

    • DOCUMENTATION ARTICLE
    • Swift
  • Renaming Objective-C APIs for Swift

    Use the NS_SWIFT_NAME macro to customize API names for Swift.

    • DOCUMENTATION ARTICLE
    • Swift
  • Getting value based on age using an array

    Return a value that changes according to an array of values as a function of the age of the requests.

    • DOCUMENTATION ARTICLE
  • Making Objective-C APIs Unavailable in Swift

    Use the NS_SWIFT_UNAVAILABLE macro to prevent an API from being used in Swift.

    • DOCUMENTATION ARTICLE
    • Swift
  • Working with Foundation Types

    Use bridged Foundation types in your Swift codebase to work with dates, times, and other values.

    • DOCUMENTATION ARTICLE
    • Swift
  • Creating a Shape Node from an Array of Points

    Create jagged or smooth shapes from the same array of points.

    • DOCUMENTATION ARTICLE
    • Swift
    • Objective-C
  • Improving Objective-C API Declarations for Swift

    Use the NS_REFINED_FOR_SWIFT macro to change how an API is imported into Swift.

    • DOCUMENTATION ARTICLE
    • Swift
  • Conventions

    Describes elements of best practice when writing code with Objective-C using ARC.

  • Cocoa Keys

    Describes the keys for a bundle's Info.plist file.

  • Accessibility Programming Guide for OS X: Implementing Accessibility for Custom Controls

    Explains how to use the accessibility features built into OS X.

  • 64-Bit Changes To the Cocoa API

    Explains how to port Cocoa projects to 64-bit addressing.

  • Feature Name Table - TrueType Reference Manual

  • Delegates and Data Sources

    Contains, in alphabetical order, descriptions of design patterns, architectures, and other concepts important in Cocoa development.

  • Defining Classes

    Describes elements of best practice when writing code with Objective-C using ARC.

  • Creating a Master-Detail Interface

    Explains how to rapidly develop sophisticated user interfaces using Cocoa binding technology.

  • App Extension Programming Guide: Understand How an App Extension Works

    Describes how to develop an app extension, which is an executable that adds functionality to other apps.

  • Archives

    Explains how to put Cocoa objects into and remove them from a representation suitable for archiving.

  • Mac OS X Manual Page For scandir(3)

    HTML versions of the iOS man pages.

  • What's New in iOS 9 and OS X 10.11

    Describes how to use the Metal framework to implement low-overhead graphics rendering or parallel computational tasks.

  • Title Element

    Describes the data types for configuring application settings in the Settings application.

  • 15:43

    Explore power, performance, and scale for games on iPhone and iPad

    • MEET WITH APPLE VIDEO
  • 23:45

    Meet FinanceKit

    Learn how FinanceKit lets your financial management apps seamlessly and securely share on-device data from Apple Cash, Apple Card, and more, with...

    • WWDC24 VIDEO
  • 26:58

    Program Metal in C++ with metal-cpp

    • WWDC22 VIDEO
  • 33:29

    What's New in LLVM

    The Apple LLVM compiler in Xcode 9 has new language features, improved diagnostics, and more powerful optimizations. Keep up with the newest...

    • WWDC 2017 VIDEO
  • 51:04

    Adopting Handoff on iOS and OS X

    Handoff allows people to seamlessly move activities between devices and pick up right where they left off. Learn how to save, transfer, and restore...

    • WWDC14 VIDEO
  • 38:37

    What's New in LLDB

    Enhancements to LLDB simplify life for Swift and Objective-C developers alike. Experienced developers will find new powers within the debugging...

    • WWDC15 VIDEO
    • 00:24:47

      You can just create an NSArray or print the existing NSArray

    • 00:25:45

      NSArray, NSDictionaries with strings.

  • 37:02

    What’s New in AppKit for macOS

    Learn about the latest APIs in AppKit and associated frameworks. Get an overview of the enhancements coming in macOS Catalina to help you save time,...

    • WWDC19 VIDEO
  • 42:42

    Refine Objective-C frameworks for Swift

    • WWDC20 VIDEO
    • 00:08:37

      Well, if it's an NSString or NSArray on the Objective-C side,

    • 00:11:22

      so if you make it an NSArray of SKAstronauts in Objective-C,

  • 17:09

    What's New in Universal Links

    Universal Links allow your users to intelligently follow links to content inside your app or to your website. Learn how the latest enhancements in...

    • WWDC19 VIDEO
  • 11:11

    Targeting Content with Multiple Windows

    Learn how to target content for a specific window in your app. Find out how to identify which scene the system should open from a notification, a...

    • WWDC19 VIDEO

Developer Footer

  • Search
  • Open Menu Close Menu
    • iOS
    • iPadOS
    • macOS
    • tvOS
    • visionOS
    • watchOS
    Open Menu Close Menu
    • Swift
    • SwiftUI
    • Swift Playground
    • TestFlight
    • Xcode
    • Xcode Cloud
    • Icon Composer
    • SF Symbols
    Open Menu Close Menu
    • Accessibility
    • Accessories
    • Apple Intelligence
    • App Store
    • Audio & Video
    • Augmented Reality
    • Business
    • Design
    • Distribution
    • Education
    • Fonts
    • Games
    • Health & Fitness
    • In-App Purchase
    • Localization
    • Maps & Location
    • Machine Learning & AI
    • Open Source
    • Security
    • Safari & Web
    Open Menu Close Menu
    • Documentation
    • Sample Code
    • Tutorials
    • Downloads
    • Forums
    • Videos
    Open Menu Close Menu
    • Support Articles
    • Contact Us
    • Bug Reporting
    • System Status
    Open Menu Close Menu
    • Apple Developer
    • App Store Connect
    • Certificates, IDs, & Profiles
    • Feedback Assistant
    Open Menu Close Menu
    • Apple Developer Program
    • Apple Developer Enterprise Program
    • App Store Small Business Program
    • MFi Program
    • Mini Apps Partner Program
    • News Partner Program
    • Video Partner Program
    • Security Bounty Program
    • Security Research Device Program
    Open Menu Close Menu
    • Meet with Apple
    • Apple Developer Centers
    • App Store Awards
    • Apple Design Awards
    • Apple Developer Academies
    • WWDC
    Get the Apple Developer app.
    Copyright © 2026 Apple Inc. All rights reserved.
    Terms of Use Privacy Policy Agreements and Guidelines