资源描述:
《[Programming.iOS.5(2nd,2012.3)].Matt.Neuburg.文字版》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、SECONDEDITIONProgrammingiOS5MattNeuburgBeijing•Cambridge•Farnham•Köln•Sebastopol•TokyoProgrammingiOS5,SecondEditionbyMattNeuburgCopyright©2012MattNeuburg.Allrightsreserved.PrintedintheUnitedStatesofAmerica.PublishedbyO’ReillyMedia,Inc.,1005GravensteinHighwayNorth,Sebastopol,CA95472.O’Reil
2、lybooksmaybepurchasedforeducational,business,orsalespromotionaluse.Onlineeditionsarealsoavailableformosttitles(http://my.safaribooksonline.com).Formoreinformation,contactourcorporate/institutionalsalesdepartment:(800)998-9938orcorporate@oreilly.com.Editor:BrianJepsonIndexer:MattNeuburgPro
3、ductionEditor:KristenBorgCoverDesigner:KarenMontgomeryProofreader:O’ReillyProductionServicesInteriorDesigner:DavidFutatoIllustrator:MattNeuburgMarch2012:SecondEdition.RevisionHistoryfortheSecondEdition:2011-12-23Earlyrelease2012-03-12FirstreleaseSeehttp://oreilly.com/catalog/errata.csp?is
4、bn=9781449319342forreleasedetails.NutshellHandbook,theNutshellHandbooklogo,andtheO’ReillylogoareregisteredtrademarksofO’ReillyMedia,Inc.ProgrammingiOS5,theimageofakingbird,andrelatedtradedressaretrademarksofO’ReillyMedia,Inc.Manyofthedesignationsusedbymanufacturersandsellerstodistinguisht
5、heirproductsareclaimedastrademarks.Wherethosedesignationsappearinthisbook,andO’ReillyMedia,Inc.,wasawareofatrademarkclaim,thedesignationshavebeenprintedincapsorinitialcaps.Whileeveryprecautionhasbeentakeninthepreparationofthisbook,thepublisherandauthorassumenoresponsibilityforerrorsoromis
6、sions,orfordamagesresultingfromtheuseoftheinformationcon-tainedherein.ISBN:978-1-449-31934-2[M]1331571373TableofContentsPreface....................................................................xviiPartI.Language1.JustEnoughC..........................................................3Comp
7、ilation,Statements,andComments4VariableDeclaration,Initialization,andDataTypes6Structs8Pointers10Arrays13Operators14FlowControlandConditions16Functions20PointerParametersandtheAddressOperator23Files25TheStandardLibrary27MorePreprocessorDirectives28DataTypeQualifiers