Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 48c353a

Browse files
author
Mitchell Hwang
committed
Add mono readme and iOS specific readme
1 parent b8e7e73 commit 48c353a

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

core/mono-samples/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Sample .NET mono runtime
2+
3+
This folder contains sample code demonstrating how to build mobile (iOS, Android, Browser WebAssembly) apps with the mono runtime. The requirements for each sample can be found within the corresponding folder, and each sample can be ran using `dotnet publish`.

core/mono-samples/iOS/README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
languages:
3+
- c#
4+
products:
5+
- dotnet
6+
- iOS
7+
- mono runtime
8+
page_type: sample
9+
name: "iOS Sample: Simple greeting and counter (C#)"
10+
description: "An iOS application that contains an example of embedding the mono runtime to invoke unmanaged code with C#."
11+
---
12+
13+
# iOS Sample: Simple greeting and counter (C#)
14+
15+
In this sample, the mono runtime is used to invoke objective-c unmanaged code (main.m) from the C# managed side (Program.cs) and vice versa. With the sample running, you can enter your name and click the corresponding button to modify the greeting message as well as clicking a button to increment a counter.
16+
17+
NOTE: The purpose of this sample is to demonstrate the concept of building an iOS application on top of the mono runtime.
18+
19+
## Requirements
20+
21+
To run the sample for iOS you will need a recent version of XCode installed (e.g. 11.3 or higher).
22+
23+
## Building the sample
24+
25+
To build the sample from the command line, run `dotnet publish`.

0 commit comments

Comments
 (0)