That article is about a particular implementation of toggle switches that makes a number of usability mistakes. He contrasts that implementation with iOS' implementation, and highlights how the iOS version avoids these mistakes.
The buttons linked follow the example from iOS and avoid the mistakes he talks about.
The buttons linked follow the example from iOS and avoid the mistakes he talks about.