Skip to content

Instantly share code, notes, and snippets.

@vs-mobiletools-engineering-service2
Created November 16, 2022 14:09
Show Gist options
  • Save vs-mobiletools-engineering-service2/967d867bd2344e5b85bb185d3e787c8c to your computer and use it in GitHub Desktop.
Save vs-mobiletools-engineering-service2/967d867bd2344e5b85bb185d3e787c8c to your computer and use it in GitHub Desktop.
previous-api-comparison/watchos-api-diff.md
title description author ms.author ms.date ms.topic ms.assetid ms.prod
Xamarin.WatchOS SDK API diff
List of API changes for Xamarin.WatchOS.
spouliot
sepoulio
11/16/2022
article
289956a5-831b-6f5b-d311-9cb0809a0070
xamarin

Xamarin.WatchOS SDK API diff

Namespace Foundation

Type Changed: Foundation.NSAttributedString

Obsoleted methods:

 [Obsolete ("Use 'GetData' instead.")]
 public NSData GetDataFromRange (NSRange range, NSAttributedStringDocumentAttributes documentAttributes, ref NSError error);
 [Obsolete ("Use 'GetData' instead.")]
 public virtual NSData GetDataFromRange (NSRange range, NSDictionary attributes, ref NSError error);
 [Obsolete ("Use 'GetFileWrapper' instead.")]
 public NSFileWrapper GetFileWrapperFromRange (NSRange range, NSAttributedStringDocumentAttributes documentAttributes, ref NSError error);
 [Obsolete ("Use 'GetFileWrapper' instead.")]
 public virtual NSFileWrapper GetFileWrapperFromRange (NSRange range, NSDictionary attributes, ref NSError error);

Added methods:

public NSData GetData (NSRange range, NSAttributedStringDocumentAttributes options, out NSError error);
public NSData GetData (NSRange range, NSDictionary options, out NSError error);
public NSFileWrapper GetFileWrapper (NSRange range, NSAttributedStringDocumentAttributes options, out NSError error);
public NSFileWrapper GetFileWrapper (NSRange range, NSDictionary options, out NSError error);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment