A demo show you how to use NSAlert