Skip to content

The Eclectic Light Company

Macs & painting – 🦉 No AI content
Main navigation
  • Downloads
  • Freeware
  • M-series Macs
  • Mac Problems
  • Mac articles
  • Macs
  • Art

NSDocument

SwiftUI on macOS: Documents, Source Code

Swift source code to accompany article about implementing a document-based app in SwiftUI for macOS.

May 16, 2024 Macs, Technology

SwiftUI on macOS: Documents

T T Read More

Implementing a document-based app in SwiftUI for macOS. Fun and games with menus, and what are the differences between FileDocument and ReferenceFileDocument protocols?

May 16, 2024 Macs, Technology

Beyond Scripting in Swift: When xattrs are not like files

NSDocument is based on the data stored in the data fork of a file. Could it be modified to work with xattrs instead? And dipping my toes into NSTableView.

September 18, 2017 Macs, Technology, xattr

More fun scripting with Swift and Xcode: opening docs and converting text

Scripting a friendly front-end for the iconv tool to convert text between 144 different types of encoding. Also how to open as well as save documents.

April 11, 2017 Macs, Technology
Blog at WordPress.com.
Footer navigation
  • Free Software Menu
  • About & Contact
  • Macs
  • Painting
  • Downloads
  • Mac problem-solving
  • Extended attributes (xattrs)
  • Painting topics
  • SilentKnight, Skint, SystHist, silnite, LockRattler & Scrub
  • DelightEd & Podofyllin
  • xattred, SpotTest, Spotcord, Metamer & xattr tools
  • 32-bitCheck & ArchiChect
  • XProCheck, T2M2, LogUI, Ulbow, blowhole and log utilities
  • Cirrus & Bailiff
  • Precize, Alifix, UTIutility, Sparsity, alisma, Taccy, Signet
  • Versatility & Revisionist
  • Text Utilities: Nalaprop, Dystextia and others
  • PDF
  • Keychains & Permissions
  • Updates
  • Spundle, Cormorant, Stibium, DropSum, Dintch, Fintch and cintch
  • Long Reads
  • Mac Troubleshooting Summary
  • M-series Macs
  • Mints: a multifunction utility
  • VisualLookUpTest
  • Virtualisation on Apple silicon
  • System Updates
  • Saturday Mac Riddles
  • Last Week on My Mac
  • sysctl information
Secondary navigation
  • Search

Begin typing your search above and press return to search. Press Esc to cancel.

  • Subscribe Subscribed
    • The Eclectic Light Company
    • Join 8,779 other subscribers
    • Already have a WordPress.com account? Log in now.
    • The Eclectic Light Company
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar