String enums in Objective-C
Note: I have written a newer and better solution to this problem in a new video, which you can watch by clicking here. Sooo a lot of programmers think enumeration items cannot be strings, and they are...
View ArticleBuild and Run Python Scripts Using Xcode 5
Edit 1 (20th October 2014): Xcode 6.1 instructions can be found here: http://vandadnp.wordpress.com/2014/10/20/building-and-running-python-scripts-with-xcode-6-1/ In this video, I’ll demonstrate how...
View ArticleUsing NSPredicate to Filter Through Arrays in Cocoa and Cocoa Touch
In this video, I will teach you a really cool way of filtering through an NSArray, using predicates.
View ArticleMaking a Class Unavailable in Objective-C – LLVM/Xcode Tips and Tricks
So you have written an Objective-C class and you would like to mark it as unavailable so that others won’t be able to instantiate it? The solution is simple. In the header file of your class, place the...
View ArticleDeprecating Properties, Methods and Enumerations in Objective-C – LLVM/Xcode...
A lot of times when working in a team, you would write a class, or add an enumeration to an existing class or add a new property. Some times, you might need to tell other programmers who work on the...
View ArticleHiding sensitive business logic in Objective-C
So you have some business logic in a class that you want to hide from the users of your class? Let’s say that you are working on a library project and you have to expose the header file of this...
View ArticleDebugging With LLDB and Xcode – Tutorial 1 – Populating Text Fields
In this video, I’ll demonstrate to you some of the baiscs of LLDB using the “expr” command to speed up your day to day development.
View ArticleGetting the most out of your WiFi dongle data plan (The definitive guide)
I am currently facing a situation where I need to carry out my work while I am connected to a WiFi dongle. I have spent about £20 for 6GB of data that can be used for up to 3 months, whichever comes...
View ArticleCreating string enumerations in Objective-C (The ultimate solution)
A while ago I wrote on my blog about a solution to one of the most common questions asked by Objective-C programmers which is “How can I create string enumerations?”. Well, the solution that I’ve given...
View ArticleSwift: Convert Unmanaged to String
Edit 1 (20th October 2014): Apple has now fixed this issue. To convert an unmanaged object to managed, just use the takeUnretainedValue() or the takeRetainedValue() method on it, based on whether you...
View ArticleSwift Weekly – Issue 10 – The Swift Runtime (Part 8) – Switch Statement
I was thinking of writing an article this week about the switch statement but i almost fell asleep half way through the article. that’s super boring. to write it even! so I thought I’ll do something...
View Article
More Pages to Explore .....