Fountain Coach Gitowner-controlled · read only

teatro-codex-macos-prompt-field-guide.git · CODE-POINTERS.md

teatro-codex-macos-prompt-field-guide.git / CODE-POINTERS.md

revision 4b59ca5c26f2ef73c1f30cf2cfd6e55709133d49 · complete file

# Code Pointers — Curated Apple Docs and APIs

Links to canonical references for concepts used in the field guide and examples.

## Files, Drag & Drop, and Types
- UTType (Uniform Type Identifiers): https://developer.apple.com/documentation/uniformtypeidentifiers/uttype
- NSItemProvider (async item loading): https://developer.apple.com/documentation/foundation/nsitemprovider
- NSOpenPanel: https://developer.apple.com/documentation/appkit/nsopenpanel
- Security‑scoped resource access (URL):
  - startAccessingSecurityScopedResource: https://developer.apple.com/documentation/foundation/url/1779696-startaccessingsecurityscopedresou
  - stopAccessingSecurityScopedResource: https://developer.apple.com/documentation/foundation/url/1779683-stopaccessingsecurityscopedresou
- Bookmark data (persisting access): https://developer.apple.com/documentation/foundation/bookmarkdata

## Progress and Concurrency
- Progress (NSProgress): https://developer.apple.com/documentation/foundation/progress
- Swift Concurrency (Task, MainActor): https://developer.apple.com/documentation/swift/swift_concurrency

## SwiftUI App Structure
- SwiftUI App: https://developer.apple.com/documentation/swiftui/app
- Scenes and ScenePhase: https://developer.apple.com/documentation/swiftui/scenephase
- DocumentGroup: https://developer.apple.com/documentation/swiftui/documentgroup
- MenuBarExtra (macOS): https://developer.apple.com/documentation/swiftui/menubarextra

## Accessibility
- Accessibility in SwiftUI: https://developer.apple.com/documentation/swiftui/accessibility
- macOS Accessibility (AppKit): https://developer.apple.com/accessibility/macos/

## Testing
- XCTest UI Testing: https://developer.apple.com/documentation/xctest/user_interface_tests

See also: [Troubleshooting](TROUBLESHOOTING.md) · [Part 02 — Advanced Interaction](parts/part-02.md)