Thursday, December 6, 2007

Apple Developer Humor

While coding today, I was playing around with NSAlert and created an alert with an empty message.  I was fairly amused to see the following logged to my console when running the alert.
-[NSAlert alertWithError:] called with nil NSError.  A generic error message will be displayed, but the user deserves better.
;-)

1 comment:

Anonymous said...

You should go Old Skool Mac with your error messages. I remember getting 'Error -001' so many times in the old days it wasn't funny. What does it mean? Heck if I know.