Quantcast
Channel: Vandad NP » Mac OS X
Browsing all 11 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

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 Article



Image may be NSFW.
Clik here to view.

Build 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 Article

Image may be NSFW.
Clik here to view.

Using 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 Article

Image may be NSFW.
Clik here to view.

Making 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 Article

Image may be NSFW.
Clik here to view.

Deprecating 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 Article


Image may be NSFW.
Clik here to view.

Hiding 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 Article

Image may be NSFW.
Clik here to view.

Debugging 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 Article

Image may be NSFW.
Clik here to view.

Getting 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 Article


Image may be NSFW.
Clik here to view.

Creating 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 Article


Image may be NSFW.
Clik here to view.

Swift: 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 Article

Image may be NSFW.
Clik here to view.

Swift 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
Browsing all 11 articles
Browse latest View live




Latest Images