зеркало из https://github.com/xamarin/mac-samples.git
3c0a72ae06 | ||
---|---|---|
.. | ||
Screenshots | ||
AppDelegate.cs | ||
DocumentSample.csproj | ||
DocumentSample.sln | ||
Info.plist | ||
Main.cs | ||
MainMenu.xib | ||
MainMenu.xib.designer.cs | ||
Metadata.xml | ||
MyDocument.cs | ||
MyDocument.xib | ||
MyDocument.xib.designer.cs | ||
README.md |
README.md
name | description | page_type | languages | products | urlFragment | ||
---|---|---|---|---|---|---|---|
Xamarin.Mac - DocumentSample | Shows how to create a Document-based application. Document-based applications are supported by the NSDocument family of classes and take a lot of... | sample |
|
|
documentsample |
DocumentSample
Shows how to create a Document-based application.
Document-based applications are supported by the NSDocument
family of classes and take a lot of the repetitive work of creating a multi-document application out of the user hands.
They take care of loading, saving, creating new instances and closing of windows for you.
In addition to this sample, there is a template in Xamarin Studio that will create the basics for you.
Prerequisites
- Mac computer with the latest version of macOS.
- Visual Studio for Mac.
- Latest version of Xcode from Apple.
Running the sample
- Open the solution file (.sln) in Visual Studio for Mac.
- Use the Run button or menu to start the app.