Archive for June 30, 2023

Friday, June 30, 2023

macOS Apprentice

Sarah Reichelt (Mastodon):

I’ve written another book! This one is for people who want to get started in macOS development and here it is: macOS Apprentice, published by kodeco.com (formerly raywenderlich.com).

If you’re a beginner or near-beginner who wants to start learning Swift, SwiftUI and AppKit for building Mac apps, then this is the book for you.

It’s good to have an updated beginner book. When to use AppKit vs. SwiftUI, and how to mix them, is an area that Apple itself hasn’t discussed much. Her recommendation:

  • To support old versions of macOS, use AppKit.
  • For long-form text editing or for thousands of records, use AppKit.
  • For existing AppKit apps, add SwiftUI gradually.
  • For everything else, start with SwiftUI and include AppKit as needed.

I have not seen a comprehensive survey of which features are unavailable in each environment.

Previously:

Paste 4

John Voorhees:

Paste feels like the kind of clipboard manager Apple might make, especially version 4.0, which was released today.

[…]

Each clipboard item is depicted as a square card with a header that includes an editable title, the date it was copied, and the icon of the app from which it was copied when viewed using the app’s largest UI option. The main body of the card displays the copied content. For me, that’s often text, but it can include a preview of an image or video, a rich preview of a URL, and more. At the bottom of the card is more information about the item, like a title and URL for links and the character count for text. To find an item in your clipboard history, you can scroll the strip of items or use the app’s search field, which searches the contents of your history and associated metadata.

[…]

The app also features more keyboard shortcuts than before, allowing users to access virtually every feature from the keyboard whether you’re renaming, editing, copying, or doing something else with a clipboard item.

[…]

iOS and iPadOS impose some limits on Paste that you won’t find on the Mac, but the app makes it easy to get data into those versions via the share sheet and clipboard. Also, because everything syncs via iCloud, your clipboard history and pinboards will be available everywhere, which makes moving between devices a breeze.

I’ve been happily using LaunchBar for my clipboard and snippet needs, but I like seeing different takes on this space. The iCloud syncing is interesting.