Using an alternative mail client on my Mac was not an easy decision. It feels in a lot of ways like a betrayal, a slap in the face of habit and tradition. In fact, besides the operating system itself, it was the only piece of Apple software I was still using on my computer. There
When coding, personal notes are a good way to make sure you don’t forget anything, and keep track of certain things. I often see people making notes either physically or in a document, however there is a better solution…
Automatic Reference Counting (ARC) has been around since iOS 5, however it has been an optional tick box when beginning a new project, and if not selected, Manual Reference Counting (MRC) is used. As of Xcode 5, the ARC tick box is missing, and all new projects start with ARC. While you can still disable ARC manually in the project's config file, this is probably a good sign that ARC is the way to go for new projects.
Free wifi is everywhere. It may seem like a godsend if you stumble upon a free wifi network, but watch out. A wifi network can be easily created just to steal your information.
I’m going to show just how easy it is to setup a fake free wifi network to monitor all network traffic going through it. To do this you will need two network cards, one will connect to an existing wifi network and the other will rebroadcast it out as “free wifi”. I will explore two different methods of doing this, but both have the same end result. I will use a Mac for both, but the same thing can be performed on Windows or Linux.
There are many ways to thread on iOS and Mac, each have their own advantages and disadvantages.
There have been a few very rare scenarios where I have actually required a dynamic header in a project. I mention Xcode in the title however this technique really applies to nearly any IDE or command line project.
When developing an iOS or Mac app, NSLogs are very handy during development. These are quite useless for an app on an end users phone or computer, so removing every log is often a good idea, especially if you like to log a lot of information. This might sound like a pain, commenting out every NSLog whenever you build for the AppStore? But no, there’s a much simpler solution, coming from our friend the preprocessor macro.
Every time I bookmark one of these lists it seems to disappear soon after, so it’s time to make my own (laid out to my liking)
When interacting with other applications on the Mac, AppleScript is the main option to use. Writing AppleScript to run within an application can be pretty annoying, and there’s no syntax checking unless you write it in AppleScript Editor first and then bring over the code. A good solution is using the ScriptingBridge framework, which will provide you with a class interface to interact directly with a target application. Of course your target application must support Applescript, just as if you were writing the script manually.