Jan 4 2017
NSOutlineView Part1: Setting up an outlineView.
Xcode 8.0, macOS 10.11 (This is Part 1 of 3; in which we will create an NSOutlineView with a flexible data structure that can be used for simple trees and for structures like the one below which contain a number of different, unrelated items. Part 2 will deal with inserting and deleting items, and reacting […]
Jan 5 2017
Application Design: Enums (with bonus tuple)
In the zoom example app, to make life easier for me, I went for a cyclical zoom: 2x magnification, 3x magnification, 1x magnification. When Apple first announced Swift, I liked many things about it, but the thing that made me swoon was enums. Swift enums are wonderful tools to shape your application flow. Here, we […]
By Extelligent Cocoa • Application Design, Coding Meta • • Tags: enums, responsibilities, tuples, zoom