iWatch # 初始化工程

iWatch

  --利用swift,开发iWatch手表小应用!

 

远程仓库,团队开发:

$ git init

$ git add .

$ git commit -m “ProjectName”

 
// push / push
$ git pull

$ git push

 

-------------------------

 

1、新建工程

 

2、[  导航栏:Editer--》Add Target…

--》选择”Apple Watch” --WatchKit App

--》取消通知环境:不勾选“Include Notification Scene”

--》Activate ]

 

3、InterfaceController.swift中,写代码!

  在Interface.storyboard中,布局

 

--[iOS Simulator模拟器导航:

  Hardware--》External Displays--》AppleWatch--38/42mm

 

4、Code…

 

-------------------------

 

源码分享https://github.com/SpongeBob-GitHub/iWatch_TEST

 

|--> Copyright (c) 2015 Bing Ma.

|--> GitHub RUL: https://github.com/SpongeBob-GitHub

 

posted @ 2015-05-21 20:32  Trybst  阅读(608)  评论(0编辑  收藏  举报