[英]Organization of iPhone app source code before submission to Apple
I am about to submit my iPhone app to the app store, and I am wondering: is there a standard for how I organize my source code (the directories, the naming of the directories, which file goes to which folder, etc.)?我准备将我的 iPhone 应用程序提交到应用程序商店,我想知道:是否有一个标准来组织我的源代码(目录、目录的命名、哪个文件到哪个文件夹等)? Actually, do I even submit the source code to Apple at all?
实际上,我什至将源代码提交给 Apple 了吗? Maybe I missed it, but I do not think source code was mentioned in the guideline.
也许我错过了,但我认为指南中没有提到源代码。
In general, undocumented API calls are prefixed with an underscore.通常,未记录的 API 调用带有下划线前缀。 Not all follow this convention, but you could search the source code for methods and functions that begin with
_
or __
.并非所有方法都遵循此约定,但您可以在源代码中搜索以
_
或__
开头的方法和函数。 Google searching any questionable code symbols will likely yield at least some information about whether the method or function is supported and what it does.谷歌搜索任何有问题的代码符号可能会至少产生一些关于该方法或 function 是否受支持及其作用的信息。 Good luck!
祝你好运!
First point has been answered already.第一点已经回答了。
For the second point I would like to suggest the usage of the Xcode feature called "Validate Built Product".对于第二点,我想建议使用名为“验证内置产品”的 Xcode 功能。 This option will perform the same tests on your app the Apple themselves do once you submit your app.
一旦您提交了您的应用程序,此选项将对您的应用程序执行相同的测试,Apple 将对您的应用程序执行相同的测试。
1.Code is not submitted to apple. 1.代码没有提交给apple。 Only binary of the app is submitted.
仅提交应用程序的二进制文件。 You can send your app flow separately from your iTunes connect account.
您可以从您的 iTunes 连接帐户单独发送您的应用程序流。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.