Category Archives: iPhone

Full Text Search (Part 4)

I want to return to yesterday’s topic, and look at further optimizing the Full-Text Search (FTS) query. Although we’ve addressed the gross inefficiencies caused by suboptimal query plans, there is still some fat to trim; it turns out that the … Continue reading

Posted in iPhone | Comments Off

Full Text Search (Part 3)

Yesterday, I covered some of the more interesting parts of a prototype implementation of Full-Text Search (FTS) on the iPhone; today I want to start to address one of the performance problems in that prototype. To begin with, it takes … Continue reading

Posted in iPhone | Comments Off

Full Text Search (Part 2)

Today we’re back to implementing Full-Text Search (FTS) on the iPhone. On Monday I presented an FTS prototype written in Python, and since then I’ve been working on porting it to Objective-C, targeting Cocoa and iPhone OS. I’ve implemented a … Continue reading

Posted in iPhone | Comments Off

Full Text Search (Part 1)

I want to add full text search (FTS) to my iKnowPeople app. (Have I mentioned that you can buy it on iTunes?). FTS is a pretty old idea, and most DBs support it (albeit usually through some sort of add-on). … Continue reading

Posted in iPhone, Python | Comments Off

Hooking UIWebView

UIWebViews are an easy way to embed a web browser into your application. You can also use them to perform (what I think is) a neat trick by assigning a UIWebView instance a delegate which implements webView:shouldStartLoadWithRequest:navigationType:.

Posted in iPhone | Comments Off

Encryption Export

When you submit an app to AAPL’s iTunes App Store, you’re asked: Export laws require that products containing encryption be properly authorized for export. Failure to comply could result in severe penalties. … Does your product contain encryption? Ever wonder … Continue reading

Posted in iPhone | Comments Off

I Habd A Code

I’m a bit under the weather, so all I’ve got today is a quick set of useful co-ordinates. They are: (47, 159).

Posted in iPhone, Python | Comments Off

NSFetchedResultsController Warning

In what may well become a continuing series, I’ve got another word of warning for you about the otherwise astoundingly useful NSFetchedResultsController (NSFRC) class. It turns out to be highly inadvisable to delete an object that’s referenced in the NSPredicate … Continue reading

Posted in iPhone | Comments Off

Web Design for the iPhone

AAPL provides a document that can be a great help to anyone who is trying to produce web content that will look good on the iPhone. Perhaps the most relevant part of this document is its discussion of the viewport, … Continue reading

Posted in iPhone | Comments Off

ABUnknownPersonViewController

The ABUnknownPersonViewController class is a handy way to prompt users to find records in, or add records to, the iPhone address book from within your application. Unfortunately, it’s not the most intuitive thing to code for. Today, I present a … Continue reading

Posted in iPhone | Comments Off