Dec 30 2016
Colouring buttons
(macOS 10.11; Xcode 8.0) This post deals with colouring buttons. Some of the techniques described are against Apple’s InterfaceDesign guidelines; others are simply against the rules of good taste. This post is an exploration of what is possible and will provide a handy reference in the future if I ever think ‘oh, I wish I […]
Jan 1 2017
Spaceship Operator
Xcode 8.0, Swift 3, OSX 10.11 The following is a good example of creating your own operators. In the two years since first writing this, I have not found an actual use for this, but it appears to be a common operator in Ruby, and has been implemented several times in Swift. My example code […]
By Extelligent Cocoa • Extensions, Wiki • • Tags: Operators, Spaceship Operator