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.)? Actually, do I even submit the source code to Apple at all? 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. Not all follow this convention, but you could search the source code for methods and functions that begin with
__. 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. 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". This option will perform the same tests on your app the Apple themselves do once you submit your app.
1.Code is not submitted to apple. Only binary of the app is submitted. You can send your app flow separately from your iTunes connect account.