210 55 4MB
English Pages 186 Year 2010;2011
Building iPhone Apps with HTML, CSS, and JavaScript
Building iPhone Apps with HTML, CSS, and JavaScript
-RQDWKDQ6WDUN
Beijing • Cambridge • Farnham • Köln • Sebastopol • Taipei • Tokyo
Building iPhone Apps with HTML, CSS, and JavaScript E\-RQDWKDQ6WDUN &RS\ULJKW-RQDWKDQ6WDUN$OOULJKWVUHVHUYHG 3ULQWHGLQWKH8QLWHG6WDWHVRI$PHULFD 3XEOLVKHGE\2¦5HLOO\0HGLD,QF*UDYHQVWHLQ+LJKZD\1RUWK6HEDVWRSRO&$ 2¦5HLOO\ERRNVPD\EHSXUFKDVHGIRUHGXFDWLRQDOEXVLQHVVRUVDOHVSURPRWLRQDOXVH2QOLQHHGLWLRQV DUHDOVRDYDLODEOHIRUPRVWWLWOHVKWWSP\VDIDULERRNVRQOLQHFRP )RUPRUHLQIRUPDWLRQFRQWDFWRXU FRUSRUDWHLQVWLWXWLRQDOVDOHVGHSDUWPHQW RUFRUSRUDWH#RUHLOO\FRP
Editor: %ULDQ-HSVRQ Production Editor: 6XPLWD0XNKHUML Copyeditor: (PLO\4XLOO Proofreader: 6DGD3UHLVFK
Indexer: )UHG%URZQ Cover Designer: .DUHQ0RQWJRPHU\ Interior Designer: 'DYLG)XWDWR Illustrator: 5REHUW5RPDQR
Printing History: -DQXDU\
)LUVW(GLWLRQ
1XWVKHOO+DQGERRNWKH1XWVKHOO+DQGERRNORJRDQGWKH2¦5HLOO\ORJRDUHUHJLVWHUHGWUDGHPDUNVRI 2¦5HLOO\0HGLD,QF%XLOGLQJL3KRQH$SSVZLWK+70/&66DQG-DYD6FULSWWKHLPDJHRIDEOXHELUGDQG UHODWHGWUDGHGUHVVDUHWUDGHPDUNVRI2¦5HLOO\0HGLD,QF 0DQ\RIWKHGHVLJQDWLRQVXVHGE\PDQXIDFWXUHUVDQGVHOOHUVWRGLVWLQJXLVKWKHLUSURGXFWVDUHFODLPHGDV WUDGHPDUNV:KHUHWKRVHGHVLJQDWLRQVDSSHDULQWKLVERRNDQG2¦5HLOO\0HGLD,QFZDVDZDUHRID WUDGHPDUNFODLPWKHGHVLJQDWLRQVKDYHEHHQSULQWHGLQFDSVRULQLWLDOFDSV :KLOHHYHU\SUHFDXWLRQKDVEHHQWDNHQLQWKHSUHSDUDWLRQRIWKLVERRNWKHSXEOLVKHUDQGDXWKRUDVVXPH QRUHVSRQVLELOLW\IRUHUURUVRURPLVVLRQVRUIRUGDPDJHVUHVXOWLQJIURPWKHXVHRIWKHLQIRUPDWLRQFRQ WDLQHGKHUHLQ 7KLVZRUNLVOLFHQVHGXQGHUD&UHDWLYH&RPPRQV$WWULEXWLRQ1RQFRPPHUFLDO1R'HULYDWLYH:RUNV 8QLWHG6WDWHV/LFHQVH
TM
7KLVERRNXVHV5HS.RYHUDGXUDEOHDQGIOH[LEOHOD\IODWELQGLQJ ,6%1 >0@
7R(ULFD¢DQGWKDWOLWWOHMXPSLQJEHDQLQKHU WXPP\
Table of Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi 1. Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 :HE$SSV9HUVXV1DWLYH$SSV :KDW,VD:HE$SS" :KDW,VD1DWLYH$SS" 3URVDQG&RQV :KLFK$SSURDFK,V5LJKWIRU