Jan 31 2017
selectionDidChange
I’ve just discovered an unwelcome difference between func tableViewSelectionDidChange(_ notification: Notification) and func outlineViewSelectionDidChange(_ notification: Notification) (NSOutlineView inherits from NSTableView, and the protocols share a lot of similarities). When there is no valid selection in an NSOutlineView, outlineviewSelectionDidChange fires, and outlineView.selectedRow is -1. When there is no valid selection in an NSTableView, tableViewSelectionDidChange does not […]
Jun 22 2017
BugReports: NSImageView portrait images
This is an IB bug that, well, bugs me: If you add a portrait image to your asset catalogue and use it in an NSImageView, it gets rotated. The preview is fine, it’s fine if you add it to your project otherwise or load it from file; but from an asset catalogue, it fails.
By Extelligent Cocoa • Bug Reports, Interface • • Tags: NSImageView