There’s a lot of MD5 iOS solutions floating around out there. From the ones I’ve seen, they all have a common problem. They all assume you want to MD5 an NSData instance, meaning all of the data must be in memory in order to digest it.
Now this will work in most cases, but say you want to MD5 a 1 gigabyte file… on an iPhone. You’re probably going to have a few problems.
I’ve always been interested in app file size and the overall app’s performance. When dealing with images, these sometimes go hand in hand…
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.