Quantcast
Channel: BlackDog Foundry
Browsing all 27 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Cloning third-party git repositories in Xcode4

Ever been confused about how to effectively compile and link third-party libraries that you may have cloned from github, bitbucket, et al? This post post describes the process of setting up your Xcode4...

View Article



Image may be NSFW.
Clik here to view.

ZBar bar code / QR code reader – Android

This post describes the approach that I used to NDK compile the Zbar bar code / QR code source code into a native Android library. Preparing the Workspace Create 2 new folders in your eclipse workspace...

View Article

Image may be NSFW.
Clik here to view.

Hours, Minutes and Seconds in NSPredicateEditor

The NSPredicateEditor is an excellent control that can be used to quickly give your users the ability to build up an NSPredicate. I recently added one to a Mac application I was developing, and was...

View Article

Image may be NSFW.
Clik here to view.

Creating an Xcode4 Plugin

Creating an Xcode4 Plugin This tutorial describes the steps to create a very simple Xcode4 plugin project. Note that there is no formal support for Xcode plugins, so this information may change and/or...

View Article

Moving Repository from Bitbucket to GitHub

Moving Repository from Bitbucket to GitHub I wanted to move one of my public repositories from Bitbucket to GitHub and was a bit uncertain as to the sequence of git commands that I would need to do....

View Article


Common Xcode4 Plugin Techniques

Common Xcode4 Plugin Techniques This tutorial explores the next steps for writing your own Xcode4 plugin. An earlier article describes how to create a project that successfully builds a plugin; this...

View Article

Image may be NSFW.
Clik here to view.

XcodeExplorer – Monitor Xcode4 internals

XcodeExplorer XcodeExplorer is a quick and dirty Xcode4 plugin that allows you to watch and filter the various NSNotification events that are triggered as you use Xcode. This is useful if you are...

View Article

Image may be NSFW.
Clik here to view.

Xcode4 Folder Structure

To me, the default Xcode folder layout looks like a lunatic developer has just vomited a hundred files into a single folder. This post describes the steps I normally take after I create a new Xcode...

View Article


Image may be NSFW.
Clik here to view.

XcodeExplorer – Checking out the controls

So, assuming you have a great idea to extend some existing behaviour in Xcode4 using a plugin, how do you know what type of objects there are, and how to get a reference to them? I’ve just added some...

View Article


Scraping WebSites (and other data) Using Objective-C

Introducing ScrapeKit I recently needed to scrape some data from a website (from a Mac OS X application), and one of the things I was very conscious of is that the layout of the website could change...

View Article

Image may be NSFW.
Clik here to view.

Automatic Migration of Core Data database within Sandbox

I recently made some core data modifications to my LogDiver – my excellent log parsing tool and planned to use Automatic Migration to migrate existing databases. The Problem However, what I found was...

View Article

Light-weight Core Data Migration in a Sandboxed App

This post describes the steps you need to do in order to perform a light-weight Core Data migration in a sandboxed Mac OS X application. As far as I can determine, without the steps described below,...

View Article

Reading line by line from a file (supporting tailing and rolling over)

Just a quick post announcing that I have open-sourced an Objective-C class that will read line-by-line from a file. In, and of, itself this isn’t too difficult, but I’ve also added the ability to tail...

View Article


Re-using NSOpenPanel instances and subsequent deny file-read-data error

I’ve just spent hours and hours tracking down a sporadic error in my sandboxed application where the user would occasionally report not being able to open files from an Open Files dialog. The Symptoms...

View Article

Tracking Spam Origination Using qmail and vpopmail

Many sites want you to register a “free” userid just to do the most mundane thing (such as downloading a file, viewing a picture, etc). While I don’t have a problem with that requirement in general, I...

View Article


Supporting regular expressions in sqlite

Out of the box, sqlite3 almost supports regular expressions, but not quite. It defines an REGEXP keyword, but doesn’t provide an implementation. It does, however, provide a very easy means through...

View Article

Image may be NSFW.
Clik here to view.

Migrating iOS App Through Multiple Environments

One of the challenges of any development project (iOS or otherwise) is maintaining a single code-base, yet still being able to create a build that can be configured to point to a development, system...

View Article


Image may be NSFW.
Clik here to view.

Debugging NSView layouts

I’ve been trying to tame the AutoLayout beast recently, and wanted to be able to see where my various views where ending up. I started to write a NSView subclass that dumped out a printable grid in the...

View Article

Image may be NSFW.
Clik here to view.

Debugging your Xcode plugin

Today I discovered how to use Xcode to debug itself, and therefore also, my plugins! In some of my other articles I talked about how to build and deploy your Xcode plugin by pressing ⌘-B, restarting...

View Article

Binding NSMutableArray to NSArrayController

This post describes how to use KVC to bind the contents of a mutable array into an NSArrayController so that adding and removing elements from the underlying array will trigger corresponding behaviour...

View Article
Browsing all 27 articles
Browse latest View live




Latest Images