Couldn't see this posted before, so here goes. For a limited time only, download the Lonely Planet San Fransisco City Guide from the iTunes App store for iPhone/ iPod Touch.
Normal price USD$15.99, don't know how true that is. Since it's free, download it now regardless you're going to SF or not. :-)