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

Commit

Permalink
Merge pull request #118 from xamarin/jusjohns-gallery-updates
Browse files Browse the repository at this point in the history
jusjohns batch updates adding yaml and transforming headings
  • Loading branch information
conceptdev authored Jul 18, 2019
2 parents 71befcc + 0d14a89 commit c039f82
Show file tree
Hide file tree
Showing 88 changed files with 1,301 additions and 380 deletions.
20 changes: 16 additions & 4 deletions AnimatedClock/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,22 @@
AnimatedClock
=============
---
name: Xamarin.Mac - AnimatedClock
description: Shows the use of custom property animations for CALayers in the CoreAnimation Layers API. This is based on the GlossyClock sample.
page_type: sample
languages:
- csharp
products:
- xamarin
technologies:
- xamarin-mac
urlFragment: animatedclock
---
# AnimatedClock

Shows the use of custom property animations for `CALayers` in the `CoreAnimation` Layers API.
This is based on the GlossyClock sample.

Author
------
![AnimatedClock application screenshot](Screenshots/0.png "AnimatedClock application screenshot")

## Author

Ported to Xamarin.Mac by Rolf Bjarne Kvinge.
15 changes: 13 additions & 2 deletions AnimatingViews/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
AnimatingViews
==============
---
name: Xamarin.Mac - AnimatingViews
description: The Animating View sample shows how to use CoreAnimation to animate views. The code that does the animation lives in the...
page_type: sample
languages:
- csharp
products:
- xamarin
technologies:
- xamarin-mac
urlFragment: animatingviews
---
# AnimatingViews

The Animating View sample shows how to use `CoreAnimation` to animate views. The code that does the animation lives in the `AnimatingViewsWindowController.cs` file and shows how to animate either using the simple API (just assigning a value to the Frame property) or manually controlling the animation's properties.
21 changes: 14 additions & 7 deletions AzureTodoMac/Readme.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
AzureToDoMac
============
---
name: Xamarin.Mac - AzureToDoMac
description: 'This sample covers using Azure Cloud Data in a Xamarin.Mac application by creating a simple ToDo list application. UPDATE: the most recent (Nov-16)...'
page_type: sample
languages:
- csharp
products:
- xamarin
technologies:
- xamarin-mac
urlFragment: azuretodomac
---
# AzureToDoMac

This sample covers using Azure Cloud Data in a Xamarin.Mac application by creating a simple ToDo list application.

UPDATE: the most recent (Nov-16) version of the [Azure Mobile Client NuGet](https://www.nuget.org/packages/Microsoft.Azure.Mobile.Client/) doesn't explicitly support the Xamarin.Mac platform, so the NET45 assemblies have been referenced directly in this sample.

---

**NOTE:** You'll need to edit the `Constants` class and provide your Azure Developer Credentials by setting the `ApplicationURL` values _before_ this sample can be successfully run.

The table configured in Azure should also have the same columns as the `TodoItem` class: `id`, `text`, `notes`, `complete`.

---

![](Screenshots/01.png)
![AzureToDoMac sample screenshot](Screenshots/01.png)
15 changes: 13 additions & 2 deletions ButtonMadness/Readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
ButtonMaddness
==============
---
name: Xamarin.Mac - ButtonMaddness
description: This is a button sample for mac.
page_type: sample
languages:
- csharp
products:
- xamarin
technologies:
- xamarin-mac
urlFragment: buttonmadness
---
# ButtonMaddness

This is a button sample for mac.
23 changes: 17 additions & 6 deletions CAQuartzComposition/README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,31 @@
CAQuartzComposition
===================
---
name: Xamarin.Mac - CAQuartzComposition
description: Shows the use of the CoreAnimation and QuartzComposition QCCompositionLayer. For a full description of the program and the original article point...
page_type: sample
languages:
- csharp
products:
- xamarin
technologies:
- xamarin-mac
urlFragment: caquartzcomposition
---
# CAQuartzComposition

Shows the use of the `CoreAnimation` and `QuartzComposition` `QCCompositionLayer`.
For a full description of the program and the original article point your browser here:
[Core Animation Tutorial]

Instructions
------------
## Instructions

There are two menu options you can access from the View menu item.

* Switch View - which will switch between the to Quartz Compositions.
* Use Filters - which toggles the use of filters being applied to the layer or not.

Author
------
![CAQuartzComposition application screenshot](Screenshots/0.png "CAQuartzComposition application screenshot")

## Author

Ported to Xamarin.Mac by Kenneth J. Pouncey.

Expand Down
15 changes: 13 additions & 2 deletions CFNetwork/Readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
CFNetwork
=========
---
name: Xamarin.Mac - CFNetwork
description: CFNetwork Xamarin.Mac sample.
page_type: sample
languages:
- csharp
products:
- xamarin
technologies:
- xamarin-mac
urlFragment: cfnetwork
---
# CFNetwork

CFNetwork Xamarin.Mac sample.
24 changes: 16 additions & 8 deletions CircleView/Readme.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,27 @@
CircleView
==============
---
name: Xamarin.Mac - CircleView
description: This is a sample ported from Swift which draws text on a custom view using NSLayoutManager. Runtime OS X 10.10+ Copyright Xamarin port changes are...
page_type: sample
languages:
- csharp
products:
- xamarin
technologies:
- xamarin-mac
urlFragment: circleview
---
# CircleView

This is a sample ported from Swift which draws text on a custom view using `NSLayoutManager`.

Runtime
------------------
## Runtime
OS X 10.10+

Copyright
--------
## Copyright

Xamarin port changes are released under the MIT license

Author
------
## Author

Ported to Xamarin.Mac by Chris Hamons

26 changes: 18 additions & 8 deletions Constraints/README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,30 @@
Constraints
========
---
name: Xamarin.Mac - Constraints
description: This sample shows how to use UI constraints in Xamarin.Mac apps. Build Requirements OS X 10.12, Xcode 8.0 or later Runtime OS X 10.12
page_type: sample
languages:
- csharp
products:
- xamarin
technologies:
- xamarin-mac
urlFragment: constraints
---
# Constraints

This sample shows how to use UI constraints in Xamarin.Mac apps.


Build Requirements
------------------
## Build Requirements

OS X 10.12, Xcode 8.0 or later

Runtime
------------------
## Runtime
OS X 10.12


Author
------
![Constraints application screenshot](Screenshots/1.png "Constraints application screenshot")

## Author

Timothy Risi
20 changes: 16 additions & 4 deletions CoreAnimationBook/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
CoreAnimationBook
=================
---
name: Xamarin.Mac - CoreAnimationBook
description: The samples in this directory are ports from the book Pragmatic's Core Animation for Mac OS X and show how to use CoreAnimation with Xamarin.Mac.
page_type: sample
languages:
- csharp
products:
- xamarin
technologies:
- xamarin-mac
urlFragment: coreanimationbook
---
# CoreAnimationBook

The samples in this directory are ports from the book "Pragmatic's Core Animation for Mac OS X" and show how to use CoreAnimation with Xamarin.Mac.

Author
------
![CoreAnimationBook application screenshot](Screenshots/1.png "CoreAnimationBook application screenshot")

## Author

Ported to Xamarin.Mac by Kenneth J. Pouncey.
29 changes: 19 additions & 10 deletions CoreTextArcMonoMac/ReadMe.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
CoreTextArcMonoMac
==================
---
name: Xamarin.Mac - CoreTextArcMonoMac
description: Illustrates how to use CoreText to draw text along an arc in a Xamarin.Mac application. The main drawing functionality demonstrated in this...
page_type: sample
languages:
- csharp
products:
- xamarin
technologies:
- xamarin-mac
urlFragment: coretextarcmonomac
---
# CoreTextArcMonoMac

Illustrates how to use `CoreText` to draw text along an arc in a Xamarin.Mac application.

The main drawing functionality demonstrated in this application is implemented in a custom `NSView` called `CoreTextArcView`.
All of the interresting functionality in that view is encapsulated in the -drawRect: method in the `CoreTextArcView.cs` file.
There, `CoreText` is used to layout and draw glyphs along a curve.

NSFontPanel
-----------
## NSFontPanel

This sample also makes use of the `NSFontPanel` to allow user configuration of the text being displayed in the custom view.
This functionality can be found in the file `MyDocument.cs`. Key points to make note of in that file are:
Expand All @@ -19,20 +29,19 @@ This functionality can be found in the file `MyDocument.cs`. Key points to make

3. The methods -toggleBold: and -toggleItalic: are called in response to user clicks in the italic and bold checkboxes. In these methods, the respective font attributes are changed and then the current settings are synchronized to the font pane and to the custom view.

Instructions
------------
## Instructions

* Build and run this sample.
* When launched, the application will display a string drawn along an curve.
* Click in the checkboxes in wthe window to change some font settings.
* Choose the "Show Fonts" menu item from the "Format" menu to open the font panel so you can change additional font settings.

Copyright
---------
## Copyright

Xamarin port changes are released under the MIT license

Author
------
![CoreTextArcMonoMac application screenshot](Screenshots/0.png "CoreTextArcMonoMac application screenshot")

## Author

Ported to Xamarin.Mac by Kenneth J. Pouncey.
20 changes: 16 additions & 4 deletions CoreWLANWirelessManager/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
CoreWLANWirelessManager
=======================
---
name: Xamarin.Mac - CoreWLANWirelessManager
description: 'Description: An example application which utilizes the CoreWLAN Framework. Interface Popup Button: The app supports a multiple interface scenario,...'
page_type: sample
languages:
- csharp
products:
- xamarin
technologies:
- xamarin-mac
urlFragment: corewlanwirelessmanager
---
# CoreWLANWirelessManager

* Description:
An example application which utilizes the `CoreWLAN` Framework.
Expand All @@ -24,7 +35,8 @@ And, there is a button in the bottom right corner of the Scan tab which allows t

Also there is another one push button entitled "Create IBSS". A sheet will be presented upon clicking the Create IBSS button that will allow the user to provide the appropriate credentials for creating the computer-to-computer network.

Author
------
![CoreWLANWirelessManager application screenshot](Screenshots/1.png "CoreWLANWirelessManager application screenshot")

## Author

Ported to Xamarin.Mac by Oleg Demchenko.
15 changes: 13 additions & 2 deletions CustomFont/Readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
Custom Fonts
============
---
name: Xamarin.Mac - Custom Fonts
description: This sample shows how to embed a custom font in a Xamarin.Mac application and how to use that font in a User Interface item.
page_type: sample
languages:
- csharp
products:
- xamarin
technologies:
- xamarin-mac
urlFragment: customfont
---
# Custom Fonts

This sample shows how to embed a custom font in a Xamarin.Mac application and how to use that font in a User Interface item.
20 changes: 16 additions & 4 deletions DatePicker/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
DatePicker
==========
---
name: Xamarin.Mac - DatePicker
description: Shows the use of the NSDatePicker control with Xamarin.Mac.
page_type: sample
languages:
- csharp
products:
- xamarin
technologies:
- xamarin-mac
urlFragment: datepicker
---
# DatePicker

Shows the use of the `NSDatePicker` control with Xamarin.Mac.

Author
------
![DatePicker application screenshot](Screenshots/0.png "DatePicker application screenshot")

## Author

Ported to Xamarin.Mac by Kenneth Pouncey.
Loading

0 comments on commit c039f82

Please sign in to comment.