[swift-users] "Month 13 is out of bounds"

David Wood territan at verizon.net
Tue Dec 26 20:35:25 CST 2017


In XCode, I’ve built a little …mathematical utility program for my own use. It’s a Swift 4, Cocoa & Foundation-based program targeted at High Sierra. But it’s doing something weird.

The title of this email, “Month 13 is out of bounds,” pops up in the log exactly nine times as the main window for the app opens, and appears no other time during its operation.

The problem is that nowhere in the code for this thing am I using any date or time functions. None whatsoever.

I even stuck a breakpoint on the applicationDidFinishLaunching() in the AppDelegate, and three of those messages are written to the log before even that.

How do I track down this behavior?


--David

"Do not attempt to operate heavy philosophy when taking this drug. Driving is perfectly all right, as it renders you completely alert although unable to put together an argument."




More information about the swift-users mailing list