> 本書出處:http://www.cocoachina.com/ios/20150324/11411.html
本文由CocoaChina翻譯組成員[iBenjamin_Go](http://weibo.com/u/2771490773#_rnd1427356619219)和淺夏@舊時光翻譯自蘋果開發文檔:[HomeKit Developer Guide](https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/HomeKitDeveloperGuide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40015050-CH1-SW1),敬請勘誤。
該文檔旨在幫你編寫HomeKit app。HomeKit庫是用來溝通和控制家庭自動化配件的,這些家庭自動化配件都支持蘋果的HomeKit Accessory Protocol。HomeKit應用程序可讓用戶發現兼容配件并配置它們。用戶可以創建一些action來控制智能配件(例如恒溫或者光線強弱),對其進行分組,并且可以通過Siri觸發。HomeKit 對象被存儲在用戶iOS設備的數據庫中,并且通過iCloud還可以同步到其他iOS設備。HomeKit支持遠程訪問智能配件,并支持多個用戶設備和多個用戶。HomeKit 還對用戶的安全和隱私做了處理。

注意:如果你是開發設計HomeKit硬件的供應商,你可以去Hardware Developers下的[HomeKit](https://developer.apple.com/homekit/)頁面了解MFi Program相關信息,也可以閱讀?[External Accessory Programming Topics](https://developer.apple.com/library/ios/featuredarticles/ExternalAccessoryPT/Introduction/Introduction.html#//apple_ref/doc/uid/TP40009502).
另請參閱
以下資源提供了更多關于創建HomeKit應用程序的信息:
* [HomeKit User Interface Guidelines](https://developer.apple.com/homekit/ui-guidelines/)?提供了用戶界面設計指南
* [App Store Review Guidelines: HomeKit](https://developer.apple.com/app-store/review/guidelines/#homekit)?提供了加快app審核的技巧
* [HomeKit Framework Reference](https://developer.apple.com/library/ios/documentation/HomeKit/Reference/HomeKit_Framework/index.html#//apple_ref/doc/uid/TP40014519)?描述了HomeKit框架中的類和方法
* [External Accessory Framework Reference](https://developer.apple.com/library/ios/documentation/ExternalAccessory/Reference/ExternalAccessoryFrameworkReference/index.html#//apple_ref/doc/uid/TP40008235)?列出了系統提供的發現和配置無線智能家居產品UI
* [HomeKit Catalog](https://developer.apple.com/library/ios/samplecode/HomeKitCatalog/Introduction/Intro.html#//apple_ref/doc/uid/TP40015048)?提供示例演示HomeKit特性
* [WWDC 2014: Introducing HomeKit](https://idmsa.apple.com/IDMSWebAuth/login.html?path=%2F%2Fvideos%2Fwwdc%2F2014%2F%3Fid%3D213&appIdKey=891bd3417a7776362562d2197f89480a8547b108fd934911bcbea0110d07f757)?對HomeKit更高層次的分析
* [iOS Security](https://www.apple.com/business/docs/iOS_Security_Guide.pdf)?描述HomeKit如何處理iOS上的安全和隱私