How to display a User Notification in Cocoa

user notification

User Notifications work with your apps to let you know when something has changed. For example, you can see when there’s upcoming appointments in Calendar or incoming email in Mail. Each app displays these notifications as a banner, alert, or badge.

How to display User Notification as small popup message? Continue reading “How to display a User Notification in Cocoa”

How to put iMac to sleep and turn Wi-Fi Off simultaneously

Put iMac to sleep and turn Wi-Fi Off

I never turn my iMac off. Never. I just put it to sleep and wake it up. But when it goes to sleep, I want nothing and no one bothered him – I mean the Internet first. I want him sleep like a Baby. So I decided to create a small application for that. Continue reading “How to put iMac to sleep and turn Wi-Fi Off simultaneously”