欢迎来到天天文库
浏览记录
ID:34156814
大小:472.37 KB
页数:53页
时间:2019-03-03
《Bundle Programming Guide.pdf》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、BundleProgrammingGuideContentsIntroduction5OrganizationofThisDocument5SeeAlso5AboutBundles7BundlesandPackages7HowtheSystemIdentifiesBundlesandPackages8AboutBundleDisplayNames8TheAdvantagesofBundles9TypesofBundles9CreatingaBundle11ProgrammaticSupportforAccessingBundles11GuidelinesforUsingBundles12Bu
2、ndleStructures13ApplicationBundles13WhatFilesGoIntoanApplicationBundle?13AnatomyofaniOSApplicationBundle14AnatomyofanOSXApplicationBundle21CreatinganApplicationBundle27FrameworkBundles27AnatomyofaFrameworkBundle28CreatingaFrameworkBundle29LoadableBundles29AnatomyofaLoadableBundle29CreatingaLoadable
3、Bundle30LocalizedResourcesinBundles31AccessingaBundle'sContents33LocatingandOpeningBundles33GettingtheMainBundle33GettingBundlesbyPath34GettingBundlesinKnownDirectories35GettingBundlesbyIdentifier362010-07-08
4、Copyright©2010AppleInc.AllRightsReserved.2ContentsSearchingforRelatedBundles37GettingRefer
5、encestoBundleResources37TheBundleSearchPattern38Device-SpecificResourcesiniOS38GettingthePathtoaResource39OpeningandUsingResourceFiles41FindingOtherFilesinaBundle42GettingtheBundle’sInfo.plistData42LoadingandUnloadingExecutableCode44LoadingFunctions44LoadingObjective-CClasses46UnloadingBundles46Doc
6、umentPackages48DefiningYourDocumentDirectoryStructure48RegisteringYourDocumentType48CreatingaNewDocumentPackage48AccessingYourDocumentContents49Glossary50DocumentRevisionHistory512010-07-08
7、Copyright©2010AppleInc.AllRightsReserved.3TablesandListingsBundleStructures13Table2-1Typesoffilesinanapplicat
8、ionbundle13Table2-2ContentsofatypicaliOSapplicationbundle15Table2-3RequiredkeysfortheInfo.plistfile17Table2-4KeyscommonlyincludedintheInfo.plistfile18Table2-5SubdirectoriesoftheContentsdirectory22Table2-6ExpectedkeysintheInfo.plistfile23Table2-7RecommendedkeysfortheInfo.plistfile24Listing2-1Bundles
9、tructureofaniOSapplication14Listing2-2AniOSapplicationwithlocalizedandnonlocalizedresources20Listing2-3ThebasicstructureofaMacapp21Listing2-4AMacappwithlocalizedandnonlocalizedresources25Listing2-5Asimplefr
此文档下载收益归作者所有