Skip to content
This repository was archived by the owner on Apr 29, 2024. It is now read-only.

Commit 403c8ff

Browse files
committed
remove YAML from deprecated samples (watchkit)
1 parent 5a25029 commit 403c8ff

File tree

7 files changed

+16
-76
lines changed

7 files changed

+16
-76
lines changed

WatchKit/GettingStarted/Metadata.xml

Lines changed: 0 additions & 11 deletions
This file was deleted.

WatchKit/GettingStarted/README.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
1-
---
2-
name: Xamarin.iOS - Getting Started with Watch Kit
3-
description: Sample for getting started with Watch Kit.
4-
page_type: sample
5-
languages:
6-
- csharp
7-
products:
8-
- xamarin
9-
urlFragment: watchkit-gettingstarted
10-
---
11-
# Getting Started with Watch Kit
1+
# Getting Started with Watch Kit - DEPRECATED
122

13-
Sample for [getting started with Watch Kit](http://developer.xamarin.com/guides/ios/watch/getting-started/).
3+
## See the watchOS samples instead
4+
5+
Sample for [getting started with Watch Kit](https://docs.microsoft.com/xamarin/ios/watchos/get-started/).

WatchKit/GpsWatch/Metadata.xml

Lines changed: 0 additions & 11 deletions
This file was deleted.

WatchKit/GpsWatch/README.md

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
1-
---
2-
name: Xamarin.iOS - GPS Watch
3-
description: 'WARNING: This sample was written for watchOS 1, where the Watch Extension runs on the paired iPhone. The sample shows how to communicate directly...'
4-
page_type: sample
5-
languages:
6-
- csharp
7-
products:
8-
- xamarin
9-
urlFragment: watchkit-gpswatch
10-
---
11-
# GPS Watch
1+
# GPS Watch - DEPRECATED
2+
3+
## See the watchOS samples instead
124

135
**WARNING:** This sample was written for watchOS 1, where the Watch Extension runs on the paired iPhone.
146

@@ -24,6 +16,7 @@ The sample shows how to communicate directly with your `containing iOS App` via
2416
Building this sample requires Xcode 6.2 and iOS 8.0 SDK
2517

2618
## Target
19+
2720
This sample is runnable on iPhoneSimulator 8.2 and Watch Simulator
2821

2922
![GPS Watch application screenshot](Screenshots/0.png "GPS Watch application screenshot")

WatchKit/README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
watchOS 1 Samples
2-
=================
1+
# watchOS 1 Samples DEPRECATED
32

43
These samples were originally written for the first version of watchOS, using Xcode 6.2 and iOS 8.0.
54

5+
## See instead
66

7-
Latest Release
8-
--------------
9-
10-
See the [watchOS 3 samples](https://github.com/xamarin/ios-samples/tree/master/watchOS) for updated versions written with Xamarin's latest release.
7+
See the [watchOS 3 samples](https://github.com/xamarin/ios-samples/tree/master/watchOS) for updated versions written with Xamarin's latest release.

WatchKit/WatchNotifications/Metadata.xml

Lines changed: 0 additions & 12 deletions
This file was deleted.
Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,12 @@
1-
---
2-
name: Xamarin.iOS - WatchNotifications (WatchKit)
3-
description: 'Sample code for the Xamarin.iOS Watch Kit [Notifications] documentation. NOTE: for a local notification to appear on the watch, trigger it in the...'
4-
page_type: sample
5-
languages:
6-
- csharp
7-
products:
8-
- xamarin
9-
urlFragment: watchkit-watchnotifications
10-
---
11-
# WatchNotifications (WatchKit)
1+
# WatchNotifications (WatchKit) - DEPRECATED
2+
3+
## See the watchOS samples instead
124

135
Sample code for the Xamarin.iOS Watch Kit [Notifications] documentation.
146

157
NOTE: for a local notification to appear on the watch, trigger it in the app (button press) then *shut off the iPhone's screen* (press the power button once). If the iPhone is active then iOS will route the local notification to the iPhone and **NOT** the Watch.
168

17-
![](Screenshots/watch-notificationcontroller.png)
9+
![watch screen](Screenshots/watch-notificationcontroller.png)
1810

1911
Testing local notifications properly can only be done on a real iPhone and Watch. When using the iOS Simulator notifications can only be "faked" using a `.json` file.
2012

@@ -27,7 +19,7 @@ Created with Xamarin.iOS by Craig Dunn.
2719
*Watch screenshots use [Bezel] courtesy of [infinitapps] :)*
2820
*Watch bezel art courtesy of [Max Rudberg]*
2921

30-
[Notifications]:http://developer.xamarin.com/guides/ios/watch/notifications
22+
[Notifications]:https://docs.microsoft.com/xamarin/ios/watchos/platform/notifications?tabs=macos
3123
[Bezel]:http://infinitapps.com/bezel/
3224
[infinitapps]:http://infinitapps.com/
3325
[Max Rudberg]:http://blog.maxrudberg.com/post/110056879433/apple-watch-bezels-for-bezel

0 commit comments

Comments
 (0)