зеркало из https://github.com/xamarin/ios-samples.git
onboard missing samples
This commit is contained in:
Родитель
b2871d12b0
Коммит
e74d954a4b
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
name: Xamarin.iOS - Print Sample
|
||||
description: A simple example of using the UIKit Printing API in a MonoTouch application. Requires iOS 4.2 and up.
|
||||
description: "Example of using the UIKit Printing API in a Xamarin.iOS application"
|
||||
page_type: sample
|
||||
languages:
|
||||
- csharp
|
||||
|
@ -10,14 +10,6 @@ urlFragment: printsample
|
|||
---
|
||||
# Print Sample
|
||||
|
||||
A simple example of using the UIKit Printing API in a MonoTouch application.
|
||||
|
||||
## Requires
|
||||
|
||||
iOS 4.2 and up.
|
||||
A simple example of using the UIKit Printing API in a Xamarin.iOS application.
|
||||
|
||||
![Print Sample application screenshot](Screenshots/Print01.png "Print Sample application screenshot")
|
||||
|
||||
## Authors
|
||||
|
||||
Miguel de Icaza
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
name: Xamarin.iOS - PrivacyPrompts
|
||||
description: This sample demonstrates how to check and request access to classes in the Privacy Settings. Notes This sample does not show how to set and access...
|
||||
name: Xamarin.iOS - Privacy Prompts
|
||||
description: "Demonstrates how to check and request access to classes in the Privacy Settings"
|
||||
page_type: sample
|
||||
languages:
|
||||
- csharp
|
||||
|
@ -9,21 +9,24 @@ products:
|
|||
urlFragment: privacyprompts
|
||||
---
|
||||
# PrivacyPrompts
|
||||
|
||||
This sample demonstrates how to check and request access to classes in the Privacy Settings.
|
||||
|
||||
![PrivacyPrompts application screenshot](Screenshots/01.png "PrivacyPrompts application screenshot")
|
||||
|
||||
## Notes
|
||||
|
||||
This sample does not show how to set and access the following frameworks:
|
||||
|
||||
- Health Kit
|
||||
- Health Kit
|
||||
- Home Kit
|
||||
- SiriKit
|
||||
|
||||
These frameworks will not run on a device without provisioning profiles that contain the correct entitlements. For more information on working with entitlements refer to the [Working with Capabilities](https://developer.xamarin.com/guides/ios/deployment,_testing,_and_metrics/provisioning/working-with-capabilities/) guide.
|
||||
These frameworks will not run on a device without provisioning profiles that contain the correct entitlements. For more information on working with entitlements refer to the [Working with Capabilities](https://docs.microsoft.com/xamarin/ios/deploy-test/provisioning/capabilities/?tabs=windows) guide.
|
||||
|
||||
For examples on using privacy settings in these frameworks, refer to the following samples:
|
||||
|
||||
- **SiriKit**:
|
||||
- **SiriKit**:
|
||||
- [ElizaChat](https://github.com/xamarin/ios-samples/blob/master/ios10/ElizaChat/ElizaChat/AppDelegate.cs#L26-L49)
|
||||
- The following Entitlement key must also be set:
|
||||
```
|
||||
|
@ -48,9 +51,3 @@ For examples on using privacy settings in these frameworks, refer to the followi
|
|||
## License
|
||||
|
||||
Xamarin port changes are released under the MIT license
|
||||
|
||||
![PrivacyPrompts application screenshot](Screenshots/01.png "PrivacyPrompts application screenshot")
|
||||
|
||||
## Authors
|
||||
|
||||
Ported to Xamarin.iOS by Timothy Risi, Larry O'Brien, Amy Burns
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
name: Xamarin.iOS - Memory Demo
|
||||
description: Sample with 'before' and 'after' code to demonstrate how to use Apple's Instruments tool.
|
||||
description: "Sample with 'before' and 'after' code to demonstrate how to use Apple's Instruments tool"
|
||||
page_type: sample
|
||||
languages:
|
||||
- csharp
|
||||
|
@ -10,4 +10,4 @@ urlFragment: profiling-memorydemo
|
|||
---
|
||||
# Memory Demo
|
||||
|
||||
Sample with 'before' and 'after' code to demonstrate [how to use Apple's Instruments tool](https://developer.xamarin.com/guides/ios/deployment,_testing,_and_metrics/walkthrough_Apples_instrument/).
|
||||
Sample with 'before' and 'after' code to demonstrate [how to use Apple's Instruments tool](https://docs.microsoft.com/xamarin/ios/deploy-test/walkthrough-apples-instrument).
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
name: Xamarin.iOS - QRchestra
|
||||
description: This sample detects QR codes and decodes them. If the value of the QR code is a MIDI note number, that note is played. Use these QR codes to test...
|
||||
description: "Detects QR codes and decodes them. If the value of the QR code is a MIDI note number, that note is played"
|
||||
page_type: sample
|
||||
languages:
|
||||
- csharp
|
||||
|
@ -12,26 +12,19 @@ urlFragment: qrchestra
|
|||
|
||||
This sample detects QR codes and decodes them.
|
||||
|
||||
If the value of the QR code is a MIDI note number,
|
||||
If the value of the QR code is a MIDI note number,
|
||||
that note is played. Use these QR codes to test (they are generated by the app):
|
||||
|
||||
![](Screenshots/test-qr-codes.PNG)
|
||||
![Sample app screenshot](Screenshots/test-qr-codes.PNG)
|
||||
|
||||
|
||||
If the value does not qualify as a MIDI note, the QR code is
|
||||
highlighted on the screen and the string data from the barcode is
|
||||
If the value does not qualify as a MIDI note, the QR code is
|
||||
highlighted on the screen and the string data from the barcode is
|
||||
written to the console, eg:
|
||||
|
||||
![](Screenshots/xamarin-barcode.png)
|
||||
![Screen with barcode](Screenshots/xamarin-barcode.png)
|
||||
|
||||
```
|
||||
```Text
|
||||
Barcode string data: www.xamarin.com
|
||||
```
|
||||
|
||||
Search online for a website or tool that can generate test QR codes.
|
||||
|
||||
|
||||
![QRchestra application screenshot](Screenshots/xamarin-barcode.png "QRchestra application screenshot")
|
||||
|
||||
## Authors
|
||||
Timothy Risi
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
name: Xamarin.iOS - Quartz Sample
|
||||
description: A sample of using the Core Graphics capabilities in a MonoTouch application. Preview
|
||||
name: "Xamarin.iOS - Quartz (Core Graphics)"
|
||||
description: "A sample of using the Core Graphics capabilities in a Xamarin.iOS application"
|
||||
page_type: sample
|
||||
languages:
|
||||
- csharp
|
||||
|
@ -10,14 +10,10 @@ urlFragment: quartzsample
|
|||
---
|
||||
# Quartz Sample
|
||||
|
||||
A sample of using the Core Graphics capabilities in a MonoTouch application.
|
||||
A sample of using the Core Graphics capabilities in a Xamarin.iOS application.
|
||||
|
||||
## Preview
|
||||
|
||||
![iPhone running Quartz sample one](http://farm7.static.flickr.com/6132/5999556473_a801e2c50f.jpg)
|
||||
![iPhone running Quartz sample two](http://farm7.static.flickr.com/6138/6000105490_2a67a8aa09.jpg)
|
||||
![iPhone running Quartz sample three](http://farm7.static.flickr.com/6025/5999556761_72206a31f1.jpg)
|
||||
|
||||
## Authors
|
||||
|
||||
Miguel de Icaza
|
||||
![iPhone running Quartz sample one](Screenshots/QuartzSample1.jpg)
|
||||
![iPhone running Quartz sample two](Screenshots/QuartzSample2.jpg)
|
||||
![iPhone running Quartz sample three](Screenshots/QuartzSample3.jpg)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
name: Xamarin.iOS - Quotes
|
||||
description: This is a port of the WWDC2012 of the same name This sample application utilizes the legacy string drawing functions and the new attributed string...
|
||||
description: "Port of the WWDC2012 sample, utilizes the legacy string drawing functions and the new attributed string..."
|
||||
page_type: sample
|
||||
languages:
|
||||
- csharp
|
||||
|
@ -10,7 +10,7 @@ urlFragment: quotes
|
|||
---
|
||||
# Quotes
|
||||
|
||||
This is a port of the WWDC2012 of the same name
|
||||
This is a port of the WWDC2012 sample.
|
||||
|
||||
This sample application utilizes the legacy string drawing functions
|
||||
and the new attributed string drawing. Various usages and functionality
|
||||
|
@ -20,6 +20,4 @@ Perform a swipe gesture to enter drawing mode, which changes speaker
|
|||
text color, italicizes and centers stage direction, and enables the
|
||||
slider on the bottom right.
|
||||
|
||||
**NOTE: This sample will only work with Xcode 5.0 or above.
|
||||
|
||||
Ported by: Peter Collins
|
||||
![iOS app with famous quotes in text](Screenshots/Quotes02.png)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
name: Xamarin.iOS - Reachability Sample
|
||||
description: The Reachability sample application demonstrates how to use the System Configuration framework to monitor the network state of an iOS device. In...
|
||||
description: "Demonstrates how to use the System Configuration framework to monitor the network state of an iOS device"
|
||||
page_type: sample
|
||||
languages:
|
||||
- csharp
|
||||
|
@ -18,7 +18,6 @@ Note: Reachability cannot tell your application if you can connect to a particul
|
|||
|
||||
![iPhone running Reachability sample](Screenshots/screenshot-1.png)
|
||||
|
||||
|
||||
## Related Links
|
||||
|
||||
- [Original sample](https://developer.apple.com/library/archive/samplecode/Reachability/Introduction/Intro.html).
|
||||
|
@ -27,7 +26,3 @@ Note: Reachability cannot tell your application if you can connect to a particul
|
|||
## License
|
||||
|
||||
Xamarin port changes are released under the MIT license.
|
||||
|
||||
## Author
|
||||
|
||||
Miguel de Icaza
|
||||
|
|
|
@ -13,3 +13,5 @@ urlFragment: recipesandprinting
|
|||
This sample demonstrates displaying items in a table view, allowing the
|
||||
user to dig into detail pages and view photos, ingredients, and instructions.
|
||||
It also uses the standard print controller from UIKit to allow printing.
|
||||
|
||||
![App showing a recipe on screen](RecipesAndPrinting02.png)
|
||||
|
|
|
@ -1,28 +1,23 @@
|
|||
---
|
||||
name: Xamarin.iOS - RegionDefiner
|
||||
description: This is a MonoTouch port of the WWDC2012 sample of the same name showing how to get around with MapKit. This sample is an example to generate...
|
||||
description: "Port of the WWDC2012 sample showing how to get around with MapKit (map)"
|
||||
page_type: sample
|
||||
languages:
|
||||
- csharp
|
||||
products:
|
||||
- xamarin
|
||||
extensions:
|
||||
tags:
|
||||
- map
|
||||
urlFragment: regiondefiner
|
||||
---
|
||||
# RegionDefiner
|
||||
|
||||
This is a MonoTouch port of the WWDC2012 sample of the same name showing how to get around with MapKit.
|
||||
This is a Xamarin.iOS port of the WWDC2012 sample showing how to get around with MapKit.
|
||||
This sample is an example to generate GeoJSON coverage files for use with the Maps routing apps API.
|
||||
|
||||
## Build Requirements
|
||||
|
||||
Xamarin.iOS 9.0 and above.
|
||||
![RegionDefiner application screenshot](Screenshots/screenshot-1.png "RegionDefiner application screenshot")
|
||||
|
||||
## License
|
||||
|
||||
Xamarin port changes are released under the MIT license.
|
||||
|
||||
![RegionDefiner application screenshot](Screenshots/screenshot-1.png "RegionDefiner application screenshot")
|
||||
|
||||
## Author
|
||||
|
||||
Ported to Xamarin.iOS by Gouri Kumari
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
name: Xamarin.iOS - RosyWriter
|
||||
description: This is a port of Apple's RosyWriter sample to C and MonoTouch....
|
||||
description: "This is a port of Apple's RosyWriter sample to C and Xamarin.iOS"
|
||||
page_type: sample
|
||||
languages:
|
||||
- csharp
|
||||
|
@ -22,21 +22,17 @@ storage.
|
|||
|
||||
This sample shows multiple parts of iOS in action:
|
||||
|
||||
* GLKit to easily setup a GL context, load shaders and render frames.
|
||||
* GLKit to easily setup a GL context, load shaders and render frames.
|
||||
|
||||
* AVFoundation to connect to the video camera
|
||||
* AVFoundation to connect to the video camera
|
||||
|
||||
* CoreVide's OpenGLTextureCache to directly bind camera frames
|
||||
to OpenGL textures
|
||||
* CoreVide's OpenGLTextureCache to directly bind camera frames
|
||||
to OpenGL textures
|
||||
|
||||
* ALAssets for creating assets.
|
||||
|
||||
* Grand Central Dispatch, showing how the main thread uses two
|
||||
separate dispatch queues with their own threads to perform
|
||||
the CPU intensive "pinkening" and the saving of the data.
|
||||
|
||||
# Port
|
||||
|
||||
This port was written by Eric Beisecker of Xamarin.
|
||||
* ALAssets for creating assets.
|
||||
|
||||
* Grand Central Dispatch, showing how the main thread uses two
|
||||
separate dispatch queues with their own threads to perform
|
||||
the CPU intensive "pinkening" and the saving of the data.
|
||||
|
||||
![Screenshot of camera applying a red filter](Screenshots/screenshot-1.png)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
name: Xamarin.iOS - Handling Rotation
|
||||
description: This sample demonstrates how to handle user-interface layout changes when an iOS device is rotated. The sample has separate examples for iPhone and...
|
||||
description: "Demonstrates how to handle user-interface layout changes when an iOS device is rotated"
|
||||
page_type: sample
|
||||
languages:
|
||||
- csharp
|
||||
|
@ -15,4 +15,3 @@ This sample demonstrates how to handle user-interface layout changes when an iOS
|
|||
The sample has separate examples for iPhone and iPad devices.
|
||||
|
||||
The code was written and testing on iOS 5. Apple made some changes to rotation handling in iOS 6 - the sample is yet to be updated to reflect those changes.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
name: Xamarin.iOS - Scratch Ticket
|
||||
description: This sample shows how to create and use a custom component with Xamarin's Designer for iOS. It is the related sample for the walkthrough – Using...
|
||||
description: "Shows how to create and use a custom component with Xamarin's Designer for iOS"
|
||||
page_type: sample
|
||||
languages:
|
||||
- csharp
|
||||
|
@ -10,4 +10,6 @@ urlFragment: scratchticket
|
|||
---
|
||||
# Scratch Ticket
|
||||
|
||||
This sample shows how to create and use a custom component with Xamarin's Designer for iOS. It is the related sample for the walkthrough – [Using Custom Controls with the Xamarin Designer for iOS](/guides/ios/user_interface/designer/ios_designable_controls_walkthrough/).
|
||||
This sample shows how to create and use a custom component with Xamarin's Designer for iOS. It is the related sample for the walkthrough – [Using Custom Controls with the Xamarin Designer for iOS](https://docs.microsoft.com/xamarin/ios/user-interface/designer/ios-designable-controls-walkthrough).
|
||||
|
||||
![Partially scratched-off showing monkey image underneath](Screenshots/screen02.png)
|
||||
|
|
До Ширина: | Высота: | Размер: 36 KiB После Ширина: | Высота: | Размер: 36 KiB |
До Ширина: | Высота: | Размер: 134 KiB После Ширина: | Высота: | Размер: 134 KiB |
До Ширина: | Высота: | Размер: 147 KiB После Ширина: | Высота: | Размер: 147 KiB |
|
@ -1,9 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<SampleMetadata>
|
||||
<ID>0857a1e5-1178-4973-85ba-08655ae7b565</ID>
|
||||
<IsFullApplication>false</IsFullApplication>
|
||||
<Level>Beginner</Level>
|
||||
<Tags>User Interface</Tags>
|
||||
<Gallery>true</Gallery>
|
||||
<Brief>Demonstrates how to create a master-detail style of application.</Brief>
|
||||
</SampleMetadata>
|
|
@ -1,15 +1,8 @@
|
|||
---
|
||||
name: Xamarin.iOS - Search Demo
|
||||
description: This sample demonstrates how to create a master-detail style of application with a UITableViewController and UINavigationController. It also shows...
|
||||
page_type: sample
|
||||
languages:
|
||||
- csharp
|
||||
products:
|
||||
- xamarin
|
||||
urlFragment: searchdemo
|
||||
---
|
||||
|
||||
# Search Demo
|
||||
|
||||
## DECPRECATED
|
||||
|
||||
This sample demonstrates how to create a master-detail style of application with a UITableViewController and UINavigationController. It also shows how to add a UISearchBar to a UITableView. The search in this case calls the Bing web service to retrieve results. The associated web page is loaded in a UIWebView when a row is selcted in the table.
|
||||
|
||||
The Bing web service requires an API key, which can be obtained at https://datamarket.azure.com
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
name: Xamarin.iOS - Shared Resources
|
||||
description: 'This sample illustrates how to work with various iOS resources including: the accelerometer, photo/video library, camera, battery status, contacts,...'
|
||||
description: 'Illustrates how to work with various iOS resources including: the accelerometer, photo/video library, camera, battery status, contacts...'
|
||||
page_type: sample
|
||||
languages:
|
||||
- csharp
|
||||
|
@ -13,6 +13,3 @@ urlFragment: sharedresources
|
|||
This sample illustrates how to work with various iOS resources including: the accelerometer, photo/video library, camera, battery status, contacts, file system, and network activity indicator.
|
||||
|
||||
![Shared Resources application screenshot](Screenshots/01.png "Shared Resources application screenshot")
|
||||
|
||||
## Authors
|
||||
Bryan Costanich
|
||||
|
|
Загрузка…
Ссылка в новой задаче