ios 我在哪里可以找到 iPad 示例代码

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2276513/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-30 16:55:55  来源:igfitidea点击:

Where can I find iPad Sample Code

objective-ciosipad

提问by Atma

I know the iPhone has a site with sample apps and code for the iPhone. Are there any resources out there for the iPad?

我知道 iPhone 有一个网站,里面有 iPhone 的示例应用程序和代码。iPad 有资源吗?

I would like iPad specific examples like using split view, etc.

我想要 iPad 特定的例子,比如使用拆分视图等。

采纳答案by John Rudy

If you're a member of the Apple Developer Connection who's paid for the $99/year iPhone developer license, the iPhone Dev Centerhas everything you need for iPad support, including:

如果您是 Apple Developer Connection 的成员并支付了 99 美元/年的 iPhone 开发者许可证,那么iPhone 开发者中心拥有您支持 iPad 所需的一切,包括:

When you get to the iPhone Dev Center, click "iPhone SDK 3.2 beta."

当您到达 iPhone Dev Center 时,单击“iPhone SDK 3.2 beta”。

回答by Brad Larson

My BSD-licensed open source application Moleculeshas been updated with an iPad interfaceto make it a universal iPhone / iPad application, and the code for that is available for you to peruse. It uses a UISplitViewController to define its primary iPad interface, with UIPopoverControllers for additional toolbar actions.

我的 BSD 许可开源应用程序Molecules更新为 iPad 界面,使其成为通用的 iPhone/iPad 应用程序,您可以仔细阅读其代码。它使用 UISplitViewController 来定义它的主要 iPad 界面,并使用 UIPopoverControllers 来进行额外的工具栏操作。

回答by CBanga

We just released the source code to our game, Tap Blaster HD. It's fairly simple, but seen quite a few downloads on the App Store. Could be a nice project to learn a bit from.

我们刚刚发布了我们的游戏 Tap Blaster HD 的源代码。它相当简单,但在 App Store 上看到了不少下载。可能是一个不错的项目,可以从中学习一些。

Here's a link, hope you find it useful. http://9magnets.com/project-tapblaster.html

这是一个链接,希望你觉得它有用。 http://9magnets.com/project-tapblaster.html

回答by molokoloco

I don't know if you can find real ipad sample for now... There is no sample Apps with "split view controler"or the "Popover" component" like they recommand in the Guideline for iPad

我不知道你现在是否能找到真正的 ipad 示例......没有像 iPad 指南中推荐的那样带有“拆分视图控制器”或“弹出窗口”组件的示例应用程序

Nb. : In xCode, you can start a new project with "Split View-based Application" template, this is a minimalistic implementation of the Ipad split view.

铌。:在 xCode 中,您可以使用“基于拆分视图的应用程序”模板启动一个新项目,这是 Ipad 拆分视图的简约实现。

回答by Narinder Bansal

check the source code for iPad Split view Controller Tutorial at the following link.iPad Split View Navigation Controller Sample code

在以下链接中查看 iPad 分屏控制器教程的源代码。iPad 分屏导航控制器示例代码

回答by samwize

You can go to Xcode > Help > Developer Documentation to search for sample apps.

您可以转到 Xcode > Help > Developer Documentation 来搜索示例应用程序。

回答by Tanzelax

iPad runs the iPhone OS, so iPhone sample apps are iPad sample apps.

iPad 运行 iPhone 操作系统,因此 iPhone 示例应用程序是 iPad 示例应用程序。

回答by ustun

Hereis an improved splitview controller, MGSplitViewController from Matt Gemmell.

是一个改进的 splitview 控制器,来自 Matt Gemmell 的 MGSplitViewController。