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
  • fieldEditor(_:for:)

    • AppKit
    • NSWindow
    • fieldEditor(_:for:)

    Returns the window’s field editor, creating it if requested.

    • DOCUMENTATION
    • Objective-C
    • Swift
  • fieldEditor(for:)

    • AppKit
    • fieldEditor(for:)

    Returns a custom field editor for editing in the view.

    • DOCUMENTATION
    • Objective-C
    • Swift
  • isFieldEditor

    • AppKit
    • NSText
    • isFieldEditor

    A Boolean that controls whether the receiver interprets Tab, Shift-Tab, and Return (Enter) as cues to end editing and possibly to change the first responder.

    • DOCUMENTATION
    • Objective-C
    • Swift
  • fieldEditor()

    • AppKit
    • NSTextView
    • fieldEditor()

    • DOCUMENTATION
    • Objective-C
    • Swift
  • isFieldEditor

    • AppKit
    • NSTextView
    • isFieldEditor

    A Boolean value that controls whether the text views sharing the receiver’s layout manager behave as field editors.

    • DOCUMENTATION
    • Objective-C
    • Swift
  • Text Fields, Text Views, and the Field Editor

    Explains how the objects of the Cocoa text system interact.

  • editor

    • SwiftUI
    • ToolbarRole
    • editor

    The editor role.

    • DOCUMENTATION
    • Swift
  • setUpFieldEditorAttributes(_:)

    • AppKit
    • setUpFieldEditorAttributes(_:)

    Configures the textual and background attributes of the receiver’s field editor.

    • DOCUMENTATION
    • Objective-C
    • Swift
  • editor

    • Core Services
    • LSRolesMask
    • editor

    Requests the role Editor (theapplication can read, present, manipulate, and save the item).

    • DOCUMENTATION
    • Swift
  • setUpFieldEditorAttributes(_:)

    • AppKit
    • NSTextFieldCell
    • setUpFieldEditorAttributes(_:)

    Allows the cell to set up the field editor’s attributes before editing begins.

    • DOCUMENTATION
    • Objective-C
    • Swift
  • editor

    • Foundation
    • NSAttributedString.DocumentAttributeKey
    • editor

    The name of person who last edited the document.

    • DOCUMENTATION
    • Swift
  • Source editor

    Edit your source files, locate issues, and make necessary changes using the source editor.

    • DOCUMENTATION ARTICLE
    • Swift
  • About the Particle Emitter Editor

    Describes how to simulate rain, snow, fire, and other particle effects in a game.

  • Particle Emitter Editor Guide (Legacy)

  • Database Example: A Simple Text Editor

    Describes the JavaScript SQL Database and other offline storage technologies, and explains how to write offline-capable web applications.

  • Creating a Source Editor Extension

    Add and configure a source editor extension in your Xcode project.

    • DOCUMENTATION ARTICLE
    • Swift
    • Objective-C
  • Testing Your Source Editor Extension

    Launch a special instance of Xcode to test your source editor extension.

    • DOCUMENTATION ARTICLE
    • Swift
    • Objective-C
  • Intermittent -34018 errors from users in the field

    This thread is the place to post if: you’re encountering -34018 errors being returned by the Security framework the problem is intermittent, that is, it shows up very occasionally on user devices in the field but is otherwise hard to reproduce...

    • FORUMS
    • Security
  • Movement Codes

    The reason for a change of editing focus among text fields.

    • DOCUMENTATION ARTICLE
    • Swift
    • Objective-C
  • Source Editor Release Notes for Xcode 10

    Update your programming workflow to use new features, and test your workflow against changes.

    • DOCUMENTATION ARTICLE
    • Swift
  • Editing source files in Xcode

    Use features of the source editor to help you write, navigate, document, and understand code more quickly.

    • DOCUMENTATION ARTICLE
    • Swift
  • Writing code with intelligence in Xcode

    Generate code, fix bugs fast, and learn as you go with intelligence built directly into Xcode.

    • DOCUMENTATION ARTICLE
    • Swift
  • SwiftUI

    SwiftUI is an innovative, exceptionally simple way to build user interfaces across all Apple platforms with the power of Swift.

  • Finding and replacing content in a project

    Search some or all of your project for text strings or symbol names, and perform advanced searches using regular expressions.

    • DOCUMENTATION ARTICLE
    • Swift
  • Creating a SpriteKit particle emitter in Xcode

    Add particle effects to your app by creating repeatable particles.

    • DOCUMENTATION ARTICLE
    • Swift
  • Using generated localizable symbols in your code

    Add keys directly to your string catalog that you can reference in your code using Xcode generated localizable symbols.

    • DOCUMENTATION ARTICLE
    • Swift
  • App Creation Process Overview

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

  • Adding Source Code and Creating Bindings

    Explains how to use Dashcode to create web applications and Dashboard widgets.

  • About Text Handling in iOS

    Describes the technologies and techniques for displaying and managing text and web content in iOS.

  • On-Demand Resources Guide: Creating and Assigning Tags

    Describes how apps use remote on-demand resources.

  • On-Demand Resources Guide: Enabling On-Demand Resources

    Describes how apps use remote on-demand resources.

  • On-Demand Resources Guide: Setting the Host in an App

    Describes how apps use remote on-demand resources.

  • Event Handling Basics

    Introduces event mechanisms and the types of events in Cocoa and describes how to handle events of each type.

  • Exporting Your Framework Interface

    Provides conceptual information and guidelines on how to create a framework.

  • Before You Begin

    Provides a guided tour of (Bourne) shell scripting, including control structures, numerical computation, regular expressions, subroutines, and error handling.

  • Creating an NSTextView Object

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

  • Dashboard Widget Tutorial

    Explains how to use Dashcode to create web applications and Dashboard widgets.

  • Goodnotes: Maximizing the power of iPadOS since Day 1 - Articles

    Find out how the note-taking app Goodnotes has been maximizing the power of iPadOS since Day 1.  ͏

  • Getting Started with the Particle Emitter

    Describes how to simulate rain, snow, fire, and other particle effects in a game.

  • Frameworks and Binding

    Provides conceptual information and guidelines on how to create a framework.

  • Implementing an iOS Settings Bundle

    Explains how to use the Cocoa defaults system to create and save user preferences.

  • Manipulating the Particle Emitter

    Describes how to simulate rain, snow, fire, and other particle effects in a game.

  • Launch Services Tasks

    Explains how an application can open document files, other applications, and URLs.

  • Testing and Sharing

    Explains how to use Dashcode to create web applications and Dashboard widgets.

  • Text Editing

    Explains how the objects of the Cocoa text system interact.

  • Using the JavaScript Database

    Describes the JavaScript SQL Database and other offline storage technologies, and explains how to write offline-capable web applications.

  • 36:56

    What’s new in Xcode 26

    Discover the latest productivity and performance advancements in Xcode 26. Learn how to leverage large language models in your development workflow....

    • WWDC25 VIDEO
    • 00:00:30

      Then, we’ll explore improvements in the workspace and source editor,

    • 00:01:45

      There are tons of enhancements to the source editor in Xcode this year.

    • 00:01:50

      Let’s start with editor tabs.

    • 00:01:52

      This year’s Xcode improves the behavior of editor tabs

    • 00:03:45

      Let’s use this to add a field to our landmark inspector

    • 00:04:40

      Notice that the continent field now appears near the bottom of my preview,

    • 00:11:20

      or you can type a custom query into the text field.

    • 00:15:09

      I can also use coding tools right from my source editor.

  • 4:11

    WWDC25 Platforms State of the Union Recap

    Catch up quickly on the newest advancements for your apps and games.

    • WWDC25 VIDEO
    • 00:01:42

      And in your source editor, we have coding tools.

    • 00:02:40

      Now, you have a rich text editor with styling you can fully customize.

  • 23:13

    What’s new in SwiftUI

    Learn how you can use SwiftUI to build great apps for any Apple platform. Explore a fresh new look and feel for tabs and documents on iPadOS. Improve...

    • WWDC24 VIDEO
    • 00:06:58

      In my lyric editor app on macOS,

    • 00:07:52

      This multi-window lyrics editor app works great on visionOS too!

    • 00:08:15

      I definitely want to do the same thing in my Lyrics editor,

    • 00:09:36

      I updated the lyric editor to use onModifierKeysChanged.

    • 00:12:25

      Hey Sommer, How’s the lyrics editor coming along?

    • 00:15:31

      you can programmatically drive the focus state of a search field,

    • 00:15:34

      meaning you can check if a search field is focused on,

    • 00:15:36

      and programmatically move focus to and from the search field.

  • 36:27

    Xcode essentials

    Edit, debug, commit, repeat. Explore the suite of tools in Xcode that help you iterate quickly when developing apps. Discover tips and tricks to help...

    • WWDC24 VIDEO
    • 00:04:42

      Use the menu beneath the search field

    • 00:05:05

      from the menu that opens when you click the word “Text” above the search field.

    • 00:05:15

      Have you ever wanted to copy and paste something to the find search field,

    • 00:05:30

      and it will go into the find field, leaving your clipboard intact.

    • 00:05:49

      located towards the top of the source editor,

    • 00:07:28

      are for configuring the editor UI.

    • 00:07:31

      The middle button controls the editor layout.

    • 00:07:34

      You can add a SwiftUI Preview, the editor mini-map,

  • 23:00

    What’s new in StoreKit and In-App Purchase

    Learn how to build and deliver even better purchase experiences using the App Store In-App Purchase system. We'll demo new StoreKit views control...

    • WWDC24 VIDEO
    • 00:01:39

      The first new field in the Transaction type is currency,

    • 00:01:46

      This field goes together with the new price member,

    • 00:01:58

      The first new field is called currency,

    • 00:02:01

      and the second new field is called renewalPrice.

    • 00:16:12

      This new setting can be found in the StoreKit configuration file editor,

    • 00:16:19

      will open an editor for your app’s license agreement, and privacy policy.

    • 00:16:39

      in the StoreKit configuration editor.

    • 00:16:49

      opens an editor where you can add your localized group display name.

  • 27:16

    Go further with Swift Testing

    Learn how to write a sweet set of (test) suites using Swift Testing's baked-in features. Discover how to take the building blocks further and use...

    • WWDC24 VIDEO
    • 00:15:58

      I'm going to use the filter field at the bottom of the test navigator

    • 00:16:19

      By default, the filter field matches the tests’ display and function names.

    • 00:17:27

      using the redesigned test plan editor!

    • 00:17:49

      Then, I'll open the test plan editor

    • 00:18:06

      and the test plan editor lets you organize tests across all of those targets.

    • 00:18:18

      by specifying tags in these fields at the top of the test plan editor.

    • 00:18:38

      by adding that tag in the exclude field.

    • 00:18:55

      I'll add another tag to the exclude field,

  • 34:36

    Compose interactive 3D content in Reality Composer Pro

    Discover how the Timeline view in Reality Composer Pro can bring your 3D content to life. Learn how to create an animated story in which characters...

    • WWDC24 VIDEO
    • 00:00:31

      It consists of a visual editor to let you compose your scene,

    • 00:00:42

      using the ShaderGraph editor.

    • 00:01:17

      to help you create animations using the timeline editor,

    • 00:01:24

      In this session we'll focus on the timeline editor.

    • 00:03:16

      The center is the main Timeline Editor,

    • 00:04:02

      and in the center is my main timeline editor.

    • 00:04:41

      so under the target field in the inspector panel I'll select choose,

    • 00:05:11

      There's a play button in the top of my timeline editor,

  • 22:32

    What’s new in Xcode 15

    Discover the latest productivity and performance improvements in Xcode 15. Explore enhancements to code completion and Xcode Previews, learn about...

    • WWDC23 VIDEO
    • 00:01:29

      and see what's new in the source editor.

    • 00:03:08

      These editor suggestions also consider the surrounding code.

    • 00:04:55

      are organized into a single editor.

    • 00:05:12

      the editor annotates the affected languages

    • 00:05:55

      by choosing Editor > Assistant >

    • 00:06:04

      As I type in the source editor,

    • 00:11:18

      This removes the bookmark annotation in the editor.

    • 00:12:30

      and commit editor,

  • 25:39

    Meet UIKit for spatial computing

    Learn how to bring your UIKit app to visionOS. We'll show you how to build for a new destination, explore APIs and best practices for spatial...

    • WWDC23 VIDEO
    • 00:09:05

      that I can edit the titles of the art by using the text field.

    • 00:12:02

      of the text field and the background.

    • 00:17:18

      the editor itself is not yet taking advantage

    • 00:17:25

      The editor...

    • 00:19:35

      so it still feels part of the editor.

    • 00:20:12

      as my editor, so I'll use the new modifier.

    • 00:21:05

      I now have more room for the main editor.

    • 00:21:24

      breaking outside the bottom of the editor.

  • 30:41

    Dive into App Intents

    • WWDC22 VIDEO
    • 00:06:15

      it will automatically appear in the Shortcuts editor,

    • 00:08:13

      Here's how this intent looks in the Shortcuts editor.

    • 00:08:33

      in the editor, like "Open ."

    • 00:10:21

      In the Shortcuts editor, it should look like this.

    • 00:10:36

      with this search field at the top of the picker.

    • 00:13:49

      Notice that the Shortcuts UI has a search field on top.

    • 00:19:03

      with this flexible predicate editor UI.

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