After 4 hours
Yes, the documentation on Apple’s site is rubbish.
How to add a search control to your iPhone app
Not as easy as it sounds, that’s for sure! IB has a nice library with all the components, so we open that from the Tools menu.
We already have some UI elements, because we’re building this on TopSongs:

Dragging items from the library and dropping them on the UI doesn’t work. Nor on the UI elements files listed default as large icons:

At this time, feel free to start reading through numerous tutorials. Click on everything. Then take a break and step back.
The secret is to change view mode to hierarchy view:

Then you just drag and drop the item you want from the library on the parent element (View), while in hierarchy view. The element instantly appears in the interface and you can position it visually.

How to concatenate strings in Objective C
It’s so fun to dive into the code without even knowing basic syntax like string concatenation! I feel like a sort of duct tape programmer
.
Stack Overflow to the rescue and here’s what I’ve found:
[NSString stringWithFormat:@"%@ %@", @"Things in", @"London, UK"]
Result: Things in London, UK
[NSString stringWithFormat:@"%@ %@ %@", @"Top 5", @"things to do in", @"London, UK"]
Result: Top 5 things to do in London, UK
Lovely!
As promised, here’s what I now have in iPhone Simulator:
Diving into Core Data now, I’ve decided to go with SQLite.


