Jan 27 2018
Toolbar Tutorial
Toolbars have been an integral part of macOS since the beginning. They provide the opportunity to display frequently used controls to the user. Where older macOS applications might have presented a pallet with certain options, modern macOS apps tend to use toolbars. While Apple provides an extensive guide for macOS toolbars, it was last updated […]
Feb 27 2018
Saving Files with Codable
macOS 10.12.6; Xcode 9.2; Swift 4.0 This is the basic ‘create a file’ post; you still need to register your filetype with the Finder and tell your app what it means to open a file when the user double-clicks it in the Finder; there is a separate post on Filetypes and UTIs which builds on […]
By Extelligent Cocoa • File Handling, Tutorials, Wiki • • Tags: Codable, NSCoding, NSKeyedArchiver, NSKeyedUnarchiver, NSOpenPanel, NSSavePanel