Author Archives: Josh Smith

Sneak Peek: Reference vs. Pointer

It’s time to let the cat out of the bag. I’m writing a book that explains iOS programming to .NET developers! I have written seven of the twelve chapters and, I must say, it’s really coming together nicely so far. … Continue reading

Posted in iOS Programming for .NET Developers, Objective-C | 47 Comments

What to do when Xcode 4 won’t open your project

If you might find yourself in a situation where you try to open an Xcode project but it only shows a blank window with “No Editor” in the middle, don’t panic! Instead of creating a new project from scratch, or … Continue reading

Posted in Xcode 4 | 9 Comments

Objective-C Genetic Algorithm That Solves The 8 Queens Puzzle

Introduction In my previous post I explained the basics of genetic algorithms, and provided a very simple example written in Objective-C. In this post I will dive deeper into the fascinating world of genetic algorithms and show a more sophisticated solution to … Continue reading

Posted in Genetic Algorithms, Objective-C | 3 Comments

Simple Genetic Algorithm in Objective-C

Introduction This article explores a simple genetic algorithm I wrote in Objective-C. The purpose of this article is to introduce the basics of genetic algorithms to someone new to the topic, as well as show a fully functional example of … Continue reading

Posted in Genetic Algorithms, Objective-C | 14 Comments

iOS Developer Evangelist Job Opportunity

This blog post is my attempt at playing matchmaker. A buddy of mine is looking to hire an iOS developer evangelist. Here is the job description, as described by Colin himself…   Hi. Let me introduce myself. I’m Colin Eberhardt, and … Continue reading

Posted in Jobs | Comments Off on iOS Developer Evangelist Job Opportunity

Good mobile software is frugal

All software development requires discipline. Attention to detail,  adhering to important conventions, and the willingness to do things the right way are necessary traits for any software developer worthy of the title. But if you are writing code that will … Continue reading

Posted in Objective-C | 3 Comments

Installing Xcode 4.3.1 when App Store gives you the Silence Treatment

Today I had some free time, so I decided to upgrade my MacBook Pro to have the latest version of Xcode. Apple recently released Xcode 4.3.1 which supports the iOS 5.1 SDK. I figured it wouldn’t take more than an … Continue reading

Posted in Uncategorized | 4 Comments

Debugging exceptions in Xcode 4.2

One of the hidden gems in Xcode 4.2 is the “Exception Breakpoint” feature. Once you enable it, your debugging life becomes much easier because whenever an exception is thrown in your app, Xcode will bring up the line of code … Continue reading

Posted in Debugging, Xcode 4 | Tagged | 10 Comments

Great, free, short videos about Xcode 4

In case you haven’t already watched them, I suggest checking out the Xcode 4 video tutorials published by The Pragmatic Studio. Each of them is short and to the point, and free! Even though I have been using Xcode 4 … Continue reading

Posted in Xcode 4 | 1 Comment

Jumping to counterpart files in Xcode 4.1

I upgraded my MacBook Pro today to the new Lion version of the OSX operating system. After downloading and installing Lion, I was forced to upgrade Xcode from version 4 to 4.1. It took quite a while to complete. After … Continue reading

Posted in Xcode 4 | 6 Comments