Building Custom Map Annotation Callouts – Part 2
by James Rantanen on September 3rd, 2010 at 8:38 am
Part 1 showed how to build a custom map callout that provides more content flexibility than the native callout, but maintains the expected look and behavior. In part 2 we will add a very common element of the map interface into our custom callout – the accessory button. At first glance this seems simple: just add a button to the callout. However, MapKit intercepts touch events and causes undesired callout behavior. The code used to add an accessory button is also applicable to any other button(s) or responders you may want to add to a callout, giving you the flexibility to do what you feel is best for your users.
Building Custom Map Annotation Callouts – Part 1
by James Rantanen on September 1st, 2010 at 2:50 am
The iPhone’s Map Annotation Callouts are very useful for displaying small amounts of information when a map pin (annotation) is selected. One problem with the standard callouts present in iOS is the inability to change the height of the callout.
For example, you may want to display a logo or other image that is taller than the default callout. Or you may want to display an address and phone number on separate lines under the title. Both of these scenarios are impossible using the standard iOS callouts. There are many steps to building a good replacement callout with the proper look and behavior, but it can be done.

Part 1 (explained here) will explain how to build a custom map callout.
Part 2 covers adding a button to the custom callout, which is not as simple as it sounds.
Thoughts After a Week with the iPhone 4
by James Rantanen on July 14th, 2010 at 11:14 am
Differences from a 3GS
The first noticeable difference about the iPhone 4 is the construction. Gone is the plastic back construction of the previous two iPhone models, replaced by strengthened glass sheets on the front and back with a stainless-steel band around the edge. The screen of the iPhone 4, like that of the 3GS, should be very resistant to scratches, but early reports indicate that the latest model may be more susceptible to cracked glass when dropped, so get a case if you are worried about dropping your phone (that goes for just about any smartphone). The volume buttons and ringer on/off switch feel much more solid than those of the iPhone 3GS, which felt fairly cheap.

