iWatch # 初始化工程

时间:2022-12-31 13:44:20

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