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

AppKit

TextEdit goes out of its way to destroy data

TextEdit will happily trash an HTML file when you convert it to text – without any good reason, other than an engineer not being familiar with macOS.

May 1, 2019 Macs, Technology

Printing without tears in Dark Mode (and exporting to PDF)

How to cater for Dark Mode when printing an AppKit view, and how to add a command to export a document in PDF format. Swift 5.0.

April 19, 2019 Macs, Technology

How LaunchServices builds the Open Recent menu, and outsmarts Aliases

T T Read More

How can the Open Recent menu offer to open a document that no longer exists when the volume it was on is no longer mounted?

March 18, 2019 Macs, Technology

When a window closes as soon as it has opened

In Sierra but not Mojave, when the user opens an ancillary window, it appears for a moment, then vanishes. Is it a bug in the code, or in AppKit?

March 13, 2019 Macs, Technology

Viewing two or more pages at once in a PDF document

Would you like to have two or more windows open on the same document, so you can check notes or references while reading? Now you can, for PDFs.

March 7, 2019 General, Language, Macs, Technology

PDF without Adobe: 7 Adding a PDF Help book

A simple way to provide a proper Help book for your app, and separate PDF documentation without wasted effort. Uses Swift in Xcode.

February 18, 2019 Macs, Technology

PDF without Adobe: 5 Building your own PDF reader 3

By popular request, how to customise the PDF reader’s interface to enlarge the window and show larger thumbnails. With two lines of code.

February 15, 2019 Macs, Technology

PDF without Adobe: 4 Building your own PDF reader 2

This second part uses Xcode’s Interface Builder to create the document window, then wire it up to the code which brings PDFKit and AppKit together.

February 14, 2019 Macs, Technology

PDF without Adobe: 3 Building your own PDF reader 1

Building a useful app in Xcode 10.1 with Swift. This app is a PDF reader which requires around a dozen lines of code.

February 14, 2019 Macs, Technology

Last Week on My Mac: AppKit, TextKit, Core Data – signs of disease

More bugs in Calculator and Activity Monitor when printing, dreadful lack of documentation of AppKit, TextKit, and CoreData. No wonder Apple is struggling to sell iPhones in China.

January 6, 2019 Macs, Technology

Posts navigation

Previous 1 2 3 4 5 Next
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, Providable, 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: Textovert, Disclipper, 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 9,007 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
 

Loading Comments...