Tag: os x
-
Introducing FastSocket
FastSocket is a fast, synchronous Objective-C wrapper around BSD sockets for iOS and OS X. Use it to send and receive files or raw bytes over a socket very quickly.
-
3 Tips on Auto Synthesized Properties
Lessons learned when switching a large Objective-C codebase to using auto synthesized properties new in Xcode 4.4.
-
How to Modify the Dock or Login Items on OS X
Working example code showing how to add or remove items from the Dock or the user’s Login Items using Cocoa on Mac OS X 10.4 and later.
-
How to Launch a Privileged Process on OS X
Working example code showing how to launch a privileged process as root using Cocoa on Mac OS X 10.4 and later. The code is daemon-safe.
-
How To Type Curly Quotes In Mac OS X
How to type curly quotes in Mac OS X. Also provides a fix to change the default key bindings to something easier to remember.
-
How to Check the System Idle Time Using Cocoa
Working example code showing how to check the system idle time using IOKit and Cocoa on Mac OS X 10.4 and later.
-
How to Print a PDF File Using Cocoa
Working example code showing how to print an existing PDF file using Cocoa on Mac OS X 10.4 and later.
-
How to Create an Alias Programmatically
Example code showing how to create an alias in Objective-C on Mac OS X.
-
Mac vs PC
My aunt is in the market for a new computer and asked me for a recommendation. She said she was really tempted by the new Macs and wanted to know why I liked them. Since I wrote out my reasons for her, I thought I’d share them here too. ### Stability The thing I like…