Apple Script 研究

Apple Script 是一种应用程序间通信的脚本语言。AppleScript与Apple 事件有关,但与Apple事件不同。

<link rel="stylesheet" href="https://www.apple.com/wss/fonts?family=SF+Pro+SC&v=1" type="text/css" />
<title>简体中文文档 - Apple Developer</title>
<meta name="omni_page" content="Chinese Documentation">
<link type="text/css" rel="stylesheet" href="/cn/documentation/styles/documentation.css">
<link rel="alternate" href="https://developer.apple.com/cn/documentation/" hreflang="zh-CN" />
<link rel="alternate" href="https://developer.apple.com/jp/documentation/" hreflang="ja-JP" />
<link rel="alternate" href="https://developer.apple.com/documentation" hreflang="en" />
<link rel="canonical" href="https://developer.apple.com/cn/documentation/" />	
<!-- metrics -->
	<main id="main" class="main" role="main" data-hires="true">
	
		<section>
			<div class="section-content margin-bottom">

				<div class="row">
					<div class="column large-12 medium-12 small-12 large-centered">
					
						<section class="margin-top margin-bottom text-center padding-bottom divider-bottom">
							<h1 class="typgoraphy-hero-headline">简体中文文档</h1>
							<p class="typography-intro">此页面收录简体中文版的<span class="nowrap">开发者文档。</span><br>文档可能已更新,请参阅英文版本或<a href="/documentation/">完整英文文档</a>以确认最新信息。</p>
						</section>
						
						
						<div class="row">
							<div class="column large-5 large-offset-1 small-12 small-offset-0 padding-top">
								<img src="/assets/elements/icons/asc-outline/asc-outline-64x64.png" width="64" height="64" alt="" />
								<h2>App&nbsp;Store&nbsp;Connect 帮助</h2>
								<p class="no-margin-top">有关使用 App&nbsp;Store&nbsp;Connect 的分步指南和详细信息。<br><a href="https://help.apple.com/app-store-connect/?lang=zh-cn" class="more">了解详情</a></p>
							</div>
							<div class="column large-5 large-offset-1 small-12 small-offset-0 padding-top">
								<img src="/assets/elements/icons/wwdr-unified/account-c.svg" width="64" height="64" alt="" />
								<h2>开发者帐户帮助</h2>
								<p class="footnote no-margin-top">最后更新:2020 年 2 月 17 日</p>
								<p class="no-margin-top">有关使用开发者帐户的分步指南和详细信息。<br><a href="https://help.apple.com/developer-account/?lang=zh-cn" class="more">了解详情</a></p>
							</div>
						</div>

						<div class="row">
							<div class="column large-5 large-offset-1 small-12 small-offset-0 padding-top">
								<img width="64" height="64" alt="" src="/assets/elements/icons/asc-outline/asc-outline-64x64.png">
								<h2>App 内购买项目</h2>
								<p class="footnote no-margin-top">最后更新:2019 年 10 月 1 日</p>
								<p class="no-margin-top">通过在 app 内购买的项目,向用户提供额外的内容和服务。</p>
								<ul class="links small">
									<li class="file"><a href="/cn/documentation/storekit/in-app_purchase/">概览</a></li>
									<li class="file"><a href="/cn/documentation/storekit/in-app_purchase/generating_a_signature_for_subscription_offers/">为订阅优惠生成签名</a></li>
									<li class="file"><a href="/cn/documentation/storekit/in-app_purchase/implementing_introductory_offers_in_your_app/">在 App 中实施推介促销优惠</a></li>
									<li class="file"><a href="/cn/documentation/storekit/in-app_purchase/implementing_subscription_offers_in_your_app/">在 App 中实施订阅优惠</a></li>
									<li class="file"><a href="/cn/documentation/storekit/in-app_purchase/setting_up_subscription_offers/">设置订阅优惠</a></li>
									<li class="file"><a href="/cn/documentation/storekit/in-app_purchase/testing_introductory_offers/">测试推介促销优惠</a></li>
									<li class="file"><a href="/cn/documentation/storekit/in-app_purchase/testing_promoted_in-app_purchases/">测试推广的 App 内购买项目</a></li>
									<li class="file"><a href="/cn/documentation/storekit/in-app_purchase/validating_receipts_with_the_app_store/">通过 App&nbsp;Store 验证收据</a></li>
									<li class="file"><a href="/cn/documentation/storekit/handling_errors/">处理错误</a></li>
								</ul>
								<p><a href="/documentation/storekit/in-app_purchase/">App 内购买项目 (英文)</a></p>
							</div>
							<div class="column large-5 large-offset-1 small-12 small-offset-0 padding-top">
								<img width="64" height="64" alt="" src="/assets/elements/icons/arkit/arkit-64x64.png">
								<h2>ARKit</h2>
								<p class="footnote no-margin-top">最后更新:2020 年 4 月 10 日</p>
								<p class="no-margin-top">结合运用 iOS 设备摄像头和运动功能,在您的 app 或游戏中提供增强现实体验。</p>
								<ul class="links small">
									<li class="file"><a href="/cn/documentation/arkit/">概览</a></li>
									<li class="file"><a href="/cn/documentation/arkit/verifying_device_support_and_user_permission/">验证设备支持和用户权限</a></li>
									<li class="file"><a href="/cn/documentation/arkit/displaying_an_ar_experience_with_metal/">通过 Metal 呈现增强现实体验</a></li>
									<li class="file"><a href="/cn/documentation/arkit/understanding_world_tracking_in_arkit/">了解 ARKit 中的现实场景跟踪</a></li>
									<li class="file"><a href="/cn/documentation/arkit/managing_session_lifecycle_and_tracking_quality/">管理会话生命周期并跟踪质量</a></li>
									<li class="file"><a href="/cn/documentation/arkit/adding_an_apple_pay_button_or_a_custom_action_in_ar_quick_look/">在 AR Quick&nbsp;Look 中添加 Apple&nbsp;Pay 按钮或<span class="nowrap">自定操作</span></a></li>
									<li class="file"><a href="/cn/documentation/arkit/adding_visual_effects_in_ar_quick_look_and_realitykit/">在 AR Quick&nbsp;Look 和 RealityKit 中添加<span class="nowrap">视觉效果</span></a></li>
									<li class="file"><a href="/cn/documentation/arkit/choosing_which_camera_feed_to_augment/">选择要增强的摄像头源</a></li>
									<li class="file"><a href="/cn/documentation/arkit/previewing_a_model_with_ar_quick_look/">利用 AR Quick&nbsp;Look 预览模型</a></li>
									<li class="file"><a href="/cn/documentation/arkit/world_tracking/visualizing_and_interacting_with_a_reconstructed_scene/">呈现重建的场景并与场景中的内容互动</a></li>
								</ul>
								<p><a href="/documentation/arkit">ARKit (英文)</a></p>
							</div>
						</div>
						<div class="row">
							<div class="column large-5 large-offset-1 small-12 small-offset-0 padding-top">
								<img width="64" height="64" alt="" src="/assets/elements/icons/security/security-64x64_2x.png">
								<h2>AuthenticationServices</h2>
								<p class="footnote no-margin-top">最后更新:2020 年 2 月 6 日</p>
								<p class="no-margin-top">让用户能够轻松登录 app 和服务。</p>
								<ul class="links small">
									<li class="file"><a href="/cn/documentation/authenticationservices/">概览</a></li>
									<li class="file"><a href="/cn/documentation/authenticationservices/implementing_user_authentication_with_sign_in_with_apple/">实施使用“通过 Apple 登录”进行用户认证</a></li>
								</ul>
								<p><a href="/documentation/authenticationservices/">AuthenticationServices (英文)</a></p>
							</div>
							<div class="column large-5 large-offset-1 small-12 small-offset-0 padding-top">
								<img width="64" height="64" alt="" src="/assets/elements/icons/core-ml/core-ml-64x64.png">
								<h2>Core ML</h2>
								<p class="footnote no-margin-top">最后更新:2019 年 12 月 12 日</p>
								<p class="no-margin-top">在 app 中整合机器学习模型。</p>
								<ul class="links small">
									<li class="file"><a href="/cn/documentation/coreml/">概览</a></li>
									<li class="file"><a href="/cn/documentation/coreml/getting_a_core_ml_model/">获取 Core&nbsp;ML 模型</a></li>
									<li class="file"><a href="/cn/documentation/coreml/converting_trained_models_to_core_ml/">将经过训练的模型转换为 Core&nbsp;ML</a></li>
									<li class="file"><a href="/cn/documentation/coreml/reducing_the_size_of_your_core_ml_app/">缩减 Core&nbsp;ML App 的大小</a></li>
								</ul>
								<p><a href="/documentation/coreml">Core ML (英文)</a></p>
							</div>
						</div>
						<div class="row">
							<div class="column large-5 large-offset-1 small-12 small-offset-0 padding-top">
								<img width="64" height="64" alt="" src="/assets/elements/icons/create-ml/create-ml-64x64.png">
								<h2>Create ML</h2>
								<p class="footnote no-margin-top">最后更新:2019 年 4 月 11 日</p>
								<p class="no-margin-top">创建要在 app 中使用的机器学习模型。</p>
								<ul class="links small">
									<li class="file"><a href="/cn/documentation/createml/">概览</a></li>
									<li class="file"><a href="/cn/documentation/createml/creating_an_image_classifier_model/">创建图像分类器模型</a></li>
									<li class="file"><a href="/cn/documentation/createml/creating_a_text_classifier_model/">创建文本分类器模型</a></li>
									<li class="file"><a href="/cn/documentation/createml/improving_your_model_s_accuracy/">提高模型准确性</a></li>
								</ul>
								<p><a href="/documentation/createml">Create ML (英文)</a></p>
							</div>
							<div class="column large-5 large-offset-1 small-12 small-offset-0 padding-top">
								<img width="64" height="64" alt="" src="/assets/elements/icons/swift/swift-64x64.png">
								<h2>Swift</h2>
								<p class="footnote no-margin-top">最后更新:2020 年 3 月 11 日</p>
								<p class="no-margin-top">利用强大的开放式语言构建 app。</p>
								<ul class="links small">
									<li class="file"><a href="/cn/documentation/swift/">概览</a></li>
									<li class="file"><a href="/cn/documentation/swift/adopting_common_protocols/">采用通用协议</a></li>
									<li class="file"><a href="/cn/documentation/swift/choosing_between_structures_and_classes/">在结构和类之间做出选择</a></li>
									<li class="file"><a href="/cn/documentation/swift/handling_dynamically_typed_methods_and_objects_in_swift/">在 Swift 中处理动态类型的方法和对象</a></li>
									<li class="file"><a href="/cn/documentation/swift/maintaining_state_in_your_apps/">在 App 中维护状态</a></li>
									<li class="file"><a href="/cn/documentation/swift/migrating_your_objective-c_code_to_swift/">将 Objective-C 代码迁移到 Swift</a></li>
									<li class="file"><a href="/cn/documentation/swift/preventing_timing_problems_when_using_closures/">在使用闭包时防止时序问题</a></li>
									<li class="file"><a href="/cn/documentation/swift/using_objective-c_runtime_features_in_swift/">在 Swift 中使用 Objective-C 运行时特性</a></li>
								</ul>
								<p><a href="/documentation/swift/">Swift (英文)</a></p>
							</div>
						</div>
						<div class="row">
							<div class="column large-5 large-offset-1 small-12 small-offset-0 padding-top">
								<img width="64" height="64" alt="" src="/assets/elements/icons/adaptive-ui/adaptive-ui-256x256_2x.png">
								<h2>UIKit</h2>
								<p class="footnote no-margin-top">最后更新:2020 年 2 月 6 日</p>
								<p class="no-margin-top">为您的 iOS 或 Apple&nbsp;tvOS app 构建和管理事件驱动型图形用户界面。</p>
								<ul class="links small">
									<li class="file"><a href="/cn/documentation/uikit/">概览</a></li>
									<li class="file"><a href="/cn/documentation/uikit/about_app_development_with_uikit/">关于使用 UIKit 开发 App</a></li>
									<li class="file"><a href="/cn/documentation/uikit/protecting_the_user_s_privacy/">保护用户的隐私</a></li>
									<li class="file"><a href="/cn/documentation/uikit/app_and_environment/">App 和环境</a></li>
									<li class="file"><a href="/cn/documentation/uikit/views_and_controls/">视图和控件</a></li>
									<li class="file"><a href="/cn/documentation/uikit/touches_presses_and_gestures/">触控、按压和手势</a></li>
								</ul>
								<p><a href="/documentation/uikit/">UIKit (英文)</a></p>
							</div>
							<div class="column large-5 large-offset-1 small-12 small-offset-0 padding-top">
								<img width="64" height="64" alt="" src="/assets/elements/icons/xcode/xcode-256x256_2x.png">
								<h2>Xcode</h2>
								<p class="footnote no-margin-top">最后更新:2020 年 4 月 1 日</p>
								<p class="no-margin-top">利用 Apple 集成开发环境,构建、测试和提交您的 app。</p>
								<ul class="links small">
									<li class="file"><a href="/cn/documentation/xcode/">概览</a></li>
									<li class="file"><a href="/cn/documentation/xcode/adding_capabilities_to_your_app/">为您的 App 添加“Capability” (功能)</a></li>
									<li class="file"><a href="/cn/documentation/xcode/adding_package_dependencies_to_your_app/">为您的 App 添加软件包依赖项</a></li>
									<li class="file"><a href="/cn/documentation/xcode/adding_unit_tests_to_your_existing_project/">在现有项目中添加单元测试</a></li>
									<li class="file"><a href="/cn/documentation/xcode/creating_a_mac_version_of_your_ipad_app/">为您的 iPad App 创建 Mac 版本</a></li>
									<li class="file"><a href="/cn/documentation/xcode/creating_a_standalone_swift_package_with_xcode/">使用 Xcode 创建独立 Swift 软件包</a></li>
									<li class="file"><a href="/cn/documentation/xcode/creating_an_xcode_project_for_an_app/">为 App 创建 Xcode 项目</a></li>
									<li class="file"><a href="/cn/documentation/xcode/creating_custom_symbol_images_for_your_app/">为您的 App 创建自定符号图像</a></li>
									<li class="file"><a href="/cn/documentation/xcode/creating_your_app_s_interface_with_swiftui/">使用 SwiftUI 创建 App 界面</a></li>
									<li class="file"><a href="/cn/documentation/xcode/distributing_your_app_for_beta_testing_and_releases/">分发您的 App 进行 Beta 测试和发布</a></li>
									<li class="file"><a href="/cn/documentation/xcode/improving_your_app_s_performance/">改进 App 的性能</a></li>
									<li class="file"><a href="/cn/documentation/xcode/notarizing_macos_software_before_distribution/">在分发前对 macOS 软件进行公证</a></li>
									<li class="file"><a href="/cn/documentation/xcode/preparing_your_app_for_distribution/">准备分发您的 App</a></li>
									<li class="file"><a href="/cn/documentation/xcode/publishing_a_swift_package_with_xcode/">使用 Xcode 发布 Swift 软件包</a></li>
									<li class="file"><a href="/cn/documentation/xcode/reducing_your_app_s_size/">缩减 App 的大小</a></li>
									<li class="file"><a href="/cn/documentation/xcode/running_your_app_in_the_simulator_or_on_a_device/">在模拟器中或设备上运行您的 App</a></li>
									<li class="file"><a href="/cn/documentation/xcode/supporting_dark_mode_in_your_interface/">在您的界面中支持深色模式</a></li>
									<li class="file"><a href="/cn/documentation/xcode/testing_your_apps_in_xcode/">在 Xcode 中测试您的 App</a></li>
								</ul>
								<p><a href="/documentation/xcode/">Xcode (英文)</a></p>
							</div>
						</div>
							<div class="column large-5 large-offset-1 small-12 small-offset-0 padding-top">
									<!-- empty column -->
							</div>
						</div>
					</div>
				</div>
				
			</div>
		</section>

	</main>

<link rel="stylesheet" property="stylesheet" href="/assets/styles/router-strip.css" type="text/css" />
<link rel="stylesheet" href="/assets/styles/footer.dist.css">
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值