remote # tag (and other fixes)

This commit is contained in:
conceptdev 2019-07-24 13:25:37 -07:00
Родитель d7826ad8bf
Коммит 31f7d6c631
10 изменённых файлов: 63 добавлений и 55 удалений

Просмотреть файл

@ -1,6 +1,6 @@
---
name: Xamarin.Mac - ButtonMadness
description: This is a button sample for mac.
description: This is a button sample for macOS apps.
page_type: sample
languages:
- csharp
@ -8,9 +8,9 @@ products:
- xamarin
urlFragment: buttonmadness
---
# ButtonMaddness
# ButtonMadness
This is a button sample for mac.
This is a button sample for macOS apps written with Xamarin.Mac.
![ButtonMadness application screenshot](Screenshots/0.png "ButtonMadness application screenshot")

Просмотреть файл

@ -8,10 +8,16 @@ products:
- xamarin
urlFragment: heartratemonitor
---
# HeartRateMonitor
# HeartRateMonitor with Xamarin.Mac
The `CoreBluetooth` framework provides the classes needed for your iOS and Mac apps to communicate with devices that are equipped with Bluetooth low energy wireless technology, such as heart rate monitors, cycling cadence sensors, and temperature monitors.
This sample demonstrates: discovering, connecting to, and retrieving heart rate data from Bluetooth LE heart rate monitors.
It shows the location of the monitor (chest, wrist, foot, etc.), the current heart rate in beats per minute, and animates a heart beating at the same speed reported by the connected device.
It shows the location of the monitor (chest, wrist, foot, etc.), the current heart rate in beats per minute, and animates a heart beating at the same speed reported by the connected device.
![Heart rate app showing heart graphic and heart rate display](Screenshots/1.png)
## Requirements
Mac computer must support Bluetooth, have Bluetooth enabled, and be used with a compatible Bluetooth-enabled heart rate monitor device.

Просмотреть файл

@ -1,25 +1,26 @@
---
name: Xamarin.Mac - Hello, Mac
description: "Source code for the 'Hello, Mac get started guide' in the Xamarin Documentation. #getstarted"
description: "Hello World example for macOS apps using C# and Xamarin (get started)"
page_type: sample
languages:
- csharp
products:
- xamarin
extensions:
tags:
- getstarted
urlFragment: hello-mac
---
# Hello, Mac
# Hello, Mac for Xamarin.Mac
Source code for the [Hello, Mac Getting Started Guide] on the [Xamarin Developer Center].
Uses [Xamarin.Mac].
Consists of a single window, button and label; demonstrating how to build your first Xamarin.Mac application.
![Simple macOS app screenshot](Screenshots01.png)
Contains the correct entitlements and other configuration to submit to the Mac App Store. Refer to the [Publishing to the App Store] documentation for more information.
[Hello, Mac Getting Started Guide]:https://docs.microsoft.com/xamarin/mac/get-started/hello-mac
[Xamarin Developer Center]:http://docs.microsoft.com/xamarin
[Xamarin.Mac]:http://xamarin.com
[Publishing to the App Store]:https://docs.microsoft.com/xamarin/mac/deploy-test/publishing-to-the-app-store/

Просмотреть файл

@ -16,23 +16,19 @@ While it is largely unrecognizable from the source, this code was inspired by an
This demo illustrates:
* IKImageBrowserView.
* IKImageBrowserDataSource.
* IKImageBrowserItem.
* Drag and drop support.
## Instructions
* Drag images (or PDFs, etc) around the browser view to re-organize.
* Enter search text to filter the images displayed.
* Add images with a file browser.
* Drag and drop images from Finder, iPhoto, etc.
* Load images from files, folders, or urls.
* Dragging a folder will add all files in that folder.
* Events for double click, right click etc. are wired up, but only print notices to the console.
- IKImageBrowserView.
- IKImageBrowserDataSource.
- IKImageBrowserItem.
- Drag and drop support.
![ImageKit Demo application screenshot](Screenshots/0.png "ImageKit Demo application screenshot")
## Author
## Instructions
Ported to Xamarin.Mac by Regan Sarwas.
- Drag images (or PDFs, etc) around the browser view to re-organize.
- Enter search text to filter the images displayed.
- Add images with a file browser.
- Drag and drop images from Finder, iPhoto, etc.
- Load images from files, folders, or urls.
- Dragging a folder will add all files in that folder.
- Events for double click, right click etc. are wired up, but only print notices to the console.

Просмотреть файл

@ -1,6 +1,6 @@
---
name: Xamarin.Mac - ImageProtocol
description: This sample illustrates how to register a custom NSUrlProtocol in Xamarin.Mac. Build Requirements OS X 10.11, Xcode 8.0 or later Runtime OS X 10.11...
description: This sample illustrates how to register a custom NSUrlProtocol in Xamarin.Mac
page_type: sample
languages:
- csharp
@ -8,23 +8,18 @@ products:
- xamarin
urlFragment: imageprotocolsample
---
# ImageProtocol
# ImageProtocol in Xamarin.Mac
This sample illustrates how to register a custom NSUrlProtocol in Xamarin.Mac.
![ImageProtocol application screenshot](Screenshots/1.png "ImageProtocol application screenshot")
## Build Requirements
OS X 10.11, Xcode 8.0 or later
## Runtime
OS X 10.11
## Copyright
Released under the MIT license
![ImageProtocol application screenshot](Screenshots/1.png "ImageProtocol application screenshot")
## Author
Chris Hamons
## License

Просмотреть файл

@ -1,6 +1,6 @@
---
name: Xamarin.Mac - MacControls
description: Source code for the Standard Controls documentation on Xamarin Developer Center Uses Xamarin.Mac. When working with C and .NET in a Xamarin.Mac...
description: Source code for the Standard Controls documentation on Xamarin Developer Center Uses Xamarin.Mac.
page_type: sample
languages:
- csharp

Просмотреть файл

@ -1,6 +1,6 @@
---
name: Xamarin.Mac - MacCopyPaste
description: This sample covers working with the Pasteboard (NSPasteboard) to provide Cut, Copy and Paste operationsin a Xamarin.Mac application. It shows how...
description: This sample covers working with the Pasteboard (NSPasteboard) to provide cut, copy and paste operations in a Xamarin.Mac application
page_type: sample
languages:
- csharp
@ -10,6 +10,7 @@ urlFragment: maccopypaste
---
# MacCopyPaste
This sample covers working with the Pasteboard (`NSPasteboard`) to provide **Cut**, **Copy** and **Paste** operationsin a Xamarin.Mac application. It shows how to work with standard data types that can be shared between multiple apps and how to support custom data within a give app.
This sample covers working with the Pasteboard (`NSPasteboard`) to provide **Cut**, **Copy** and **Paste** operations in a Xamarin.Mac application. It shows how to work with standard data types that can be shared between multiple apps and how to support custom data within a give app.
**Note:** This sample currently contains a workaround to [Bugzilla Defect #31760](https://bugzilla.xamarin.com/show_bug.cgi?id=31760). When the version of Xamarin.Mac is released that fixes this issue, this sample will be updated to the correct version. The correct source code has been included as a reference.
> [!NOTE]
> This sample currently contains a workaround to [Bugzilla Defect #31760](https://bugzilla.xamarin.com/show_bug.cgi?id=31760). When the version of Xamarin.Mac is released that fixes this issue, this sample will be updated to the correct version. The correct source code has been included as a reference.

Просмотреть файл

@ -1,6 +1,6 @@
---
name: Xamarin.Mac - MacCustomControl
description: This sample shows how to create a reusable, Custom User Interface Control in a Xamarin.Mac app and add it to a storyboard in Xcode's Interface...
description: This sample shows how to create a reusable, custom user interface control in a Xamarin.Mac app and add it to a storyboard in Xcode's Interface...
page_type: sample
languages:
- csharp
@ -8,6 +8,19 @@ products:
- xamarin
urlFragment: maccustomcontrol
---
# MacCustomControl
# MacCustomControl for Xamarin.Mac
This sample shows how to create a reusable, Custom User Interface Control in a Xamarin.Mac app and add it to a storyboard in Xcode's Interface Builder.
This sample shows how to create a reusable, custom user interface control in a Xamarin.Mac app and add it to a storyboard in Xcode's Interface Builder.
![Mac app with custom switch control](Screenshots/01.png)
## Prerequisites
* Mac computer with the latest version of macOS.
* [Visual Studio for Mac](https://visualstudio.microsoft.com/vs/mac/).
* Latest version of [Xcode](https://developer.apple.com/xcode/) from Apple.
## Running the sample
1. Open the solution file (**.sln**) in Visual Studio for Mac.
1. Use the **Run** button or menu to start the app.

Просмотреть файл

@ -11,3 +11,5 @@ urlFragment: stillmotion
# StillMotion
This sample shows how to capture live video from the system camera, and recording individual frames to create a new movie file that can then be played back.
![Blank video player screenshot](Screenshots/0.png)

Просмотреть файл

@ -1,6 +1,6 @@
---
name: Xamarin.Mac - WhereIsMyMac
description: 'Shows the use of the CoreLocation API. For a full description of the program and the original article point your browser here: [WhereIsMyMac]'
description: 'Shows the use of the CoreLocation API on macOS'
page_type: sample
languages:
- csharp
@ -10,15 +10,9 @@ urlFragment: whereismymac
---
# WhereIsMyMac
Shows the use of the CoreLocation API.
Shows the use of the CoreLocation API using Xamarin.Mac.
For a full description of the program and the original article point your browser here:
[WhereIsMyMac]
For a full description of the program and the original article visit:
[WhereIsMyMac](http://cocoawithlove.com/2009/09/whereismymac-snow-leopard-corelocation.html).
![WhereIsMyMac application screenshot](Screenshots/0.png "WhereIsMyMac application screenshot")
## Author
Ported to Xamarin.Mac by Kenneth J. Pouncey.
[WhereIsMyMac]:http://cocoawithlove.com/2009/09/whereismymac-snow-leopard-corelocation.html