It’s high time you update your macOS app to support the Touch Bar. You’ll need to have some strategy on how to design your Touch Bar interface – don’t just pour any buttons into it. Here’s some tips on how to work this new hardware.
Pull-to-refresh that goes both ways
Turbocharged OS X scroll view component that supports “pull-to-refresh” on at the top and bottom edges – perfect for a timeline display view component.
One NSWindow handling multiple NSDocument instances
Cocoa’s document architecture envisions that a window should only handle one document. However library-type applications may need one window to handle multiple documents so that the user can easily switch between libraries without restarting the application. Here’s how you can hack AppKit so that a single window handle multiple documents.
Bringing Asynchronous Core Data documents to OS X
Core Data now officially supports concurrency and I/O in background threads since OS X 10.7 and iOS 5. In the same release, Apple also brought the document architecture to iOS that leverages this new capability of Core Data. However OS X didn’t get the same level of multicore love. In this post, I’ll show you how to create a multi-core supporting document architecture application for OS X.