The timer code uses no part of Cocoa and is in turn used by other backends than Cocoa on macOS. The macOS timer code is now labeled macOS. Cocoa-specific files are now consistently labeled Cocoa, not macOS.