资源描述:
《[iOS.6.Programming.Cookbook(2012.11)].Vandad.Nahavandipoor.文字版》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、iOS6ProgrammingCookbookVandadNahavandipoorBeijing•Cambridge•Farnham•Köln•Sebastopol•TokyoiOS6ProgrammingCookbookbyVandadNahavandipoorCopyright©2013VandadNahavandipoor.Allrightsreserved.PrintedintheUnitedStatesofAmerica.PublishedbyO’ReillyMedia,Inc.,1005Gravenst
2、einHighwayNorth,Sebastopol,CA95472.O’Reillybooksmaybepurchasedforeducational,business,orsalespromotionaluse.Onlineeditionsarealsoavailableformosttitles(http://my.safaribooksonline.com).Formoreinformation,contactourcorporate/institutionalsalesdepartment:800-998-
3、9938orcorporate@oreilly.com.Editors:AndyOramandRachelRoumeliotisIndexer:BobPfahlerProductionEditor:RachelSteelyCoverDesigner:KarenMontgomeryCopyeditor:JasmineKwitynInteriorDesigner:DavidFutatoProofreader:JasonSchneidermanIllustrator:RebeccaDemarestDecember2012:
4、FirstEdition.RevisionHistoryfortheFirstEdition:2012-11-19FirstreleaseSeehttp://oreilly.com/catalog/errata.csp?isbn=9781449342753forreleasedetails.NutshellHandbook,theNutshellHandbooklogo,andtheO’ReillylogoareregisteredtrademarksofO’ReillyMedia,Inc.iOS6Programmi
5、ngCookbook,imageofashrewtenrec,andrelatedtradedressaretrademarksofO’ReillyMedia,Inc.Manyofthedesignationsusedbymanufacturersandsellerstodistinguishtheirproductsareclaimedastrademarks.Wherethosedesignationsappearinthisbook,andO’ReillyMedia,Inc.,wasawareofatradem
6、arkclaim,thedesignationshavebeenprintedincapsorinitialcaps.Whileeveryprecautionhasbeentakeninthepreparationofthisbook,thepublisherandauthorassumenoresponsibilityforerrorsoromissions,orfordamagesresultingfromtheuseoftheinformationcon-tainedherein.ISBN:978-1-449-
7、34275-3[LSI]1353339479TableofContentsPreface.....................................................................xi1.TheBasics.............................................................11.1CreatingaSimpleiOSAppinXcode21.2UnderstandingInterfaceBuilder51.3Compi
8、lingiOSApps71.4RunningiOSAppsontheSimulator111.5RunningiOSAppsoniOSDevices121.6PackagingiOSAppsforDistribution151.7DeclaringVariablesinObjective-C201.8AllocatingandMakingUse