-
-
Save chamons/b454a59c5cbda5615317 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public override NSData GetAsData (string typeName, out NSError outError) | |
{ | |
// Insert code here to write your document to data of the specified type. | |
// If outError != NULL, ensure that you create and set an appropriate error when returning nil. | |
outError = new NSError (); | |
return NSData.FromString ("asdf"); | |
} | |
public override bool ReadFromData (NSData data, string typeName, out NSError outError) | |
{ | |
// Insert code here to read your document from the given data of the specified type. | |
// If outError != NULL, ensure that you create and set an appropriate error when returning NO. | |
outError = new NSError (); | |
return true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment