Skip to content

UIKit watchOS xcode9 beta1

Vincent Dondain edited this page Aug 23, 2017 · 3 revisions

#UIKit.framework ##Vincent

diff -ruN /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h /Applications/Xcode9-beta1.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h
--- /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h	2016-09-23 21:43:02.000000000 -0400
+++ /Applications/Xcode9-beta1.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h	2017-05-30 01:57:43.000000000 -0400
@@ -2,42 +2,45 @@
 //  NSAttributedString.h
 //  UIKit
 //
-//  Copyright (c) 2011-2015, Apple Inc. All rights reserved.
+//  Copyright (c) 2011-2017, Apple Inc. All rights reserved.
 //
 
 #import <Foundation/NSAttributedString.h>
+#import <Foundation/NSItemProvider.h>
 #import <UIKit/UIKitDefines.h>
+
+@class NSAttributedString;
 @class NSFileWrapper;
 @class NSURL;
 
 NS_ASSUME_NONNULL_BEGIN
 /************************ Attributes ************************/
 
-// Predefined character attributes for text. If the key is not in the dictionary, then use the default values as described below.
-UIKIT_EXTERN NSString * const NSFontAttributeName NS_AVAILABLE(10_0, 6_0);                // UIFont, default Helvetica(Neue) 12
-UIKIT_EXTERN NSString * const NSParagraphStyleAttributeName NS_AVAILABLE(10_0, 6_0);      // NSParagraphStyle, default defaultParagraphStyle
-UIKIT_EXTERN NSString * const NSForegroundColorAttributeName NS_AVAILABLE(10_0, 6_0);     // UIColor, default blackColor
-UIKIT_EXTERN NSString * const NSBackgroundColorAttributeName NS_AVAILABLE(10_0, 6_0);     // UIColor, default nil: no background
-UIKIT_EXTERN NSString * const NSLigatureAttributeName NS_AVAILABLE(10_0, 6_0);            // NSNumber containing integer, default 1: default ligatures, 0: no ligatures
-UIKIT_EXTERN NSString * const NSKernAttributeName NS_AVAILABLE(10_0, 6_0);                // NSNumber containing floating point value, in points; amount to modify default kerning. 0 means kerning is disabled.
-UIKIT_EXTERN NSString * const NSStrikethroughStyleAttributeName NS_AVAILABLE(10_0, 6_0);  // NSNumber containing integer, default 0: no strikethrough
-UIKIT_EXTERN NSString * const NSUnderlineStyleAttributeName NS_AVAILABLE(10_0, 6_0);      // NSNumber containing integer, default 0: no underline
-UIKIT_EXTERN NSString * const NSStrokeColorAttributeName NS_AVAILABLE(10_0, 6_0);         // UIColor, default nil: same as foreground color
-UIKIT_EXTERN NSString * const NSStrokeWidthAttributeName NS_AVAILABLE(10_0, 6_0);         // NSNumber containing floating point value, in percent of font point size, default 0: no stroke; positive for stroke alone, negative for stroke and fill (a typical value for outlined text would be 3.0)
-UIKIT_EXTERN NSString * const NSShadowAttributeName NS_AVAILABLE(10_0, 6_0);              // NSShadow, default nil: no shadow
-UIKIT_EXTERN NSString *const NSTextEffectAttributeName NS_AVAILABLE(10_10, 7_0);          // NSString, default nil: no text effect
-
-UIKIT_EXTERN NSString * const NSAttachmentAttributeName NS_AVAILABLE(10_0, 7_0);          // NSTextAttachment, default nil
-UIKIT_EXTERN NSString * const NSLinkAttributeName NS_AVAILABLE(10_0, 7_0);                // NSURL (preferred) or NSString
-UIKIT_EXTERN NSString * const NSBaselineOffsetAttributeName NS_AVAILABLE(10_0, 7_0);      // NSNumber containing floating point value, in points; offset from baseline, default 0
-UIKIT_EXTERN NSString * const NSUnderlineColorAttributeName NS_AVAILABLE(10_0, 7_0);      // UIColor, default nil: same as foreground color
-UIKIT_EXTERN NSString * const NSStrikethroughColorAttributeName NS_AVAILABLE(10_0, 7_0);  // UIColor, default nil: same as foreground color
-UIKIT_EXTERN NSString * const NSObliquenessAttributeName NS_AVAILABLE(10_0, 7_0);         // NSNumber containing floating point value; skew to be applied to glyphs, default 0: no skew
-UIKIT_EXTERN NSString * const NSExpansionAttributeName NS_AVAILABLE(10_0, 7_0);           // NSNumber containing floating point value; log of expansion factor to be applied to glyphs, default 0: no expansion
+// Predefined character attributes for text. If the key is not present in the dictionary, it indicates the default value described below.
+UIKIT_EXTERN NSAttributedStringKey const NSFontAttributeName NS_AVAILABLE(10_0, 6_0);                // UIFont, default Helvetica(Neue) 12
+UIKIT_EXTERN NSAttributedStringKey const NSParagraphStyleAttributeName NS_AVAILABLE(10_0, 6_0);      // NSParagraphStyle, default defaultParagraphStyle
+UIKIT_EXTERN NSAttributedStringKey const NSForegroundColorAttributeName NS_AVAILABLE(10_0, 6_0);     // UIColor, default blackColor
+UIKIT_EXTERN NSAttributedStringKey const NSBackgroundColorAttributeName NS_AVAILABLE(10_0, 6_0);     // UIColor, default nil: no background
+UIKIT_EXTERN NSAttributedStringKey const NSLigatureAttributeName NS_AVAILABLE(10_0, 6_0);            // NSNumber containing integer, default 1: default ligatures, 0: no ligatures
+UIKIT_EXTERN NSAttributedStringKey const NSKernAttributeName NS_AVAILABLE(10_0, 6_0);                // NSNumber containing floating point value, in points; amount to modify default kerning. 0 means kerning is disabled.
+UIKIT_EXTERN NSAttributedStringKey const NSStrikethroughStyleAttributeName NS_AVAILABLE(10_0, 6_0);  // NSNumber containing integer, default 0: no strikethrough
+UIKIT_EXTERN NSAttributedStringKey const NSUnderlineStyleAttributeName NS_AVAILABLE(10_0, 6_0);      // NSNumber containing integer, default 0: no underline
+UIKIT_EXTERN NSAttributedStringKey const NSStrokeColorAttributeName NS_AVAILABLE(10_0, 6_0);         // UIColor, default nil: same as foreground color
+UIKIT_EXTERN NSAttributedStringKey const NSStrokeWidthAttributeName NS_AVAILABLE(10_0, 6_0);         // NSNumber containing floating point value, in percent of font point size, default 0: no stroke; positive for stroke alone, negative for stroke and fill (a typical value for outlined text would be 3.0)
+UIKIT_EXTERN NSAttributedStringKey const NSShadowAttributeName NS_AVAILABLE(10_0, 6_0);              // NSShadow, default nil: no shadow
+UIKIT_EXTERN NSAttributedStringKey const NSTextEffectAttributeName NS_AVAILABLE(10_10, 7_0);          // NSString, default nil: no text effect
+
+UIKIT_EXTERN NSAttributedStringKey const NSAttachmentAttributeName NS_AVAILABLE(10_0, 7_0);          // NSTextAttachment, default nil
+UIKIT_EXTERN NSAttributedStringKey const NSLinkAttributeName NS_AVAILABLE(10_0, 7_0);                // NSURL (preferred) or NSString
+UIKIT_EXTERN NSAttributedStringKey const NSBaselineOffsetAttributeName NS_AVAILABLE(10_0, 7_0);      // NSNumber containing floating point value, in points; offset from baseline, default 0
+UIKIT_EXTERN NSAttributedStringKey const NSUnderlineColorAttributeName NS_AVAILABLE(10_0, 7_0);      // UIColor, default nil: same as foreground color
+UIKIT_EXTERN NSAttributedStringKey const NSStrikethroughColorAttributeName NS_AVAILABLE(10_0, 7_0);  // UIColor, default nil: same as foreground color
+UIKIT_EXTERN NSAttributedStringKey const NSObliquenessAttributeName NS_AVAILABLE(10_0, 7_0);         // NSNumber containing floating point value; skew to be applied to glyphs, default 0: no skew
+UIKIT_EXTERN NSAttributedStringKey const NSExpansionAttributeName NS_AVAILABLE(10_0, 7_0);           // NSNumber containing floating point value; log of expansion factor to be applied to glyphs, default 0: no expansion
 
-UIKIT_EXTERN NSString * const NSWritingDirectionAttributeName NS_AVAILABLE(10_6, 7_0);    // NSArray of NSNumbers representing the nested levels of writing direction overrides as defined by Unicode LRE, RLE, LRO, and RLO characters.  The control characters can be obtained by masking NSWritingDirection and NSWritingDirectionFormatType values.  LRE: NSWritingDirectionLeftToRight|NSWritingDirectionEmbedding, RLE: NSWritingDirectionRightToLeft|NSWritingDirectionEmbedding, LRO: NSWritingDirectionLeftToRight|NSWritingDirectionOverride, RLO: NSWritingDirectionRightToLeft|NSWritingDirectionOverride,
+UIKIT_EXTERN NSAttributedStringKey const NSWritingDirectionAttributeName NS_AVAILABLE(10_6, 7_0);    // NSArray of NSNumbers representing the nested levels of writing direction overrides as defined by Unicode LRE, RLE, LRO, and RLO characters.  The control characters can be obtained by masking NSWritingDirection and NSWritingDirectionFormatType values.  LRE: NSWritingDirectionLeftToRight|NSWritingDirectionEmbedding, RLE: NSWritingDirectionRightToLeft|NSWritingDirectionEmbedding, LRO: NSWritingDirectionLeftToRight|NSWritingDirectionOverride, RLO: NSWritingDirectionRightToLeft|NSWritingDirectionOverride,
 
-UIKIT_EXTERN NSString * const NSVerticalGlyphFormAttributeName NS_AVAILABLE(10_7, 6_0);   // An NSNumber containing an integer value.  0 means horizontal text.  1 indicates vertical text.  If not specified, it could follow higher-level vertical orientation settings.  Currently on iOS, it's always horizontal.  The behavior for any other value is undefined.
+UIKIT_EXTERN NSAttributedStringKey const NSVerticalGlyphFormAttributeName NS_AVAILABLE(10_7, 6_0);   // An NSNumber containing an integer value.  0 means horizontal text.  1 indicates vertical text.  If not specified, it could follow higher-level vertical orientation settings.  Currently on iOS, it's always horizontal.  The behavior for any other value is undefined.
 
 
 
@@ -65,7 +68,8 @@
 } NS_ENUM_AVAILABLE(10_11, 9_0);
 
 // NSTextEffectAttributeName values
-UIKIT_EXTERN NSString *const NSTextEffectLetterpressStyle NS_AVAILABLE(10_10, 7_0);
+typedef NSString * NSTextEffectStyle NS_STRING_ENUM;
+UIKIT_EXTERN NSTextEffectStyle const NSTextEffectLetterpressStyle NS_AVAILABLE(10_10, 7_0);
 
 
 /************************ Attribute fixing ************************/
@@ -79,64 +83,76 @@
 
 /************************ Document formats ************************/
 
+typedef NSString * NSAttributedStringDocumentType NS_EXTENSIBLE_STRING_ENUM;
+
 // Supported document types for the NSDocumentTypeDocumentAttribute key in the document attributes dictionary.
-UIKIT_EXTERN NSString * const NSPlainTextDocumentType NS_AVAILABLE(10_0, 7_0);
-UIKIT_EXTERN NSString * const NSRTFTextDocumentType NS_AVAILABLE(10_0, 7_0);
-UIKIT_EXTERN NSString * const NSRTFDTextDocumentType NS_AVAILABLE(10_0, 7_0);
-UIKIT_EXTERN NSString * const NSHTMLTextDocumentType NS_AVAILABLE(10_0, 7_0);
+UIKIT_EXTERN NSAttributedStringDocumentType const NSPlainTextDocumentType NS_AVAILABLE(10_0, 7_0);
+UIKIT_EXTERN NSAttributedStringDocumentType const NSRTFTextDocumentType  NS_AVAILABLE(10_0, 7_0);
+UIKIT_EXTERN NSAttributedStringDocumentType const NSRTFDTextDocumentType NS_AVAILABLE(10_0, 7_0);
+UIKIT_EXTERN NSAttributedStringDocumentType const NSHTMLTextDocumentType  NS_AVAILABLE(10_0, 7_0);
+
+typedef NSString * NSTextLayoutSectionKey NS_STRING_ENUM;
 
 // Keys for NSLayoutOrientationSectionsAttribute.
-UIKIT_EXTERN NSString * const NSTextLayoutSectionOrientation NS_AVAILABLE(10_7, 7_0); // NSNumber containing NSTextLayoutOrientation value. default: NSTextLayoutOrientationHorizontal
-UIKIT_EXTERN NSString * const NSTextLayoutSectionRange NS_AVAILABLE(10_7, 7_0); // NSValue containing NSRange representing a character range. default: a range covering the whole document
+UIKIT_EXTERN NSTextLayoutSectionKey const NSTextLayoutSectionOrientation NS_AVAILABLE(10_7, 7_0); // NSNumber containing NSTextLayoutOrientation value. default: NSTextLayoutOrientationHorizontal
+UIKIT_EXTERN NSTextLayoutSectionKey const NSTextLayoutSectionRange NS_AVAILABLE(10_7, 7_0); // NSValue containing NSRange representing a character range. default: a range covering the whole document
 
+typedef NSString * NSAttributedStringDocumentAttributeKey NS_EXTENSIBLE_STRING_ENUM;
 
 // Keys for options and document attributes dictionaries.  They are in and out document properties used by both read/write methods.
 
-UIKIT_EXTERN NSString * const NSDocumentTypeDocumentAttribute NS_AVAILABLE(10_0, 7_0);  // @"DocumentType", one of the document types declared above.  For reader methods, this key in options can specify the document type for interpreting the contents.  Upon return, the document attributes can contain this key for indicating the actual format used to read the contents.  For write methods, this key specifies the format for generating the data.
+UIKIT_EXTERN NSAttributedStringDocumentAttributeKey const NSDocumentTypeDocumentAttribute NS_AVAILABLE(10_0, 7_0);  // @"DocumentType", one of the document types declared above.  For reader methods, this key in options can specify the document type for interpreting the contents.  Upon return, the document attributes can contain this key for indicating the actual format used to read the contents.  For write methods, this key specifies the format for generating the data.
 
 
 // NSPlainTextDocumentType document attributes
-UIKIT_EXTERN NSString * const NSCharacterEncodingDocumentAttribute NS_AVAILABLE(10_0, 7_0);  // @"CharacterEncoding", NSNumber containing integer specifying NSStringEncoding for the file; default for plain text is the default encoding.  This key in options can specify the string encoding for reading the data.  Upon return, the document attributes can contain the actual encoding used.  For writing methods, this value is used for generating the plain text data.
-UIKIT_EXTERN NSString * const NSDefaultAttributesDocumentAttribute NS_AVAILABLE(10_11, 7_0);  // @"DefaultAttributes", NSDictionary containing attributes to be applied to plain files.  Used by reader methods.  This key in options can specify the default attributes applied to the entire document contents.  The document attributes can contain this key indicating the actual attributes used.
+UIKIT_EXTERN NSAttributedStringDocumentAttributeKey const NSCharacterEncodingDocumentAttribute NS_AVAILABLE(10_0, 7_0);  // @"CharacterEncoding", NSNumber containing integer specifying NSStringEncoding for the file; default for plain text is the default encoding.  This key in options can specify the string encoding for reading the data.  Upon return, the document attributes can contain the actual encoding used.  For writing methods, this value is used for generating the plain text data.
+UIKIT_EXTERN NSAttributedStringDocumentAttributeKey const NSDefaultAttributesDocumentAttribute NS_AVAILABLE(10_11, 7_0);  // @"DefaultAttributes", NSDictionary containing attributes to be applied to plain files.  Used by reader methods.  This key in options can specify the default attributes applied to the entire document contents.  The document attributes can contain this key indicating the actual attributes used.
 
 
 // NSRTFTextDocumentType and NSRTFDTextDocumentType document attributes
 // Document dimension
 // They are document attributes used by read/write methods.
-UIKIT_EXTERN NSString * const NSPaperSizeDocumentAttribute NS_AVAILABLE(10_0, 7_0);  // @"PaperSize", NSValue containing CGSize (in points)
-UIKIT_EXTERN NSString * const NSPaperMarginDocumentAttribute NS_AVAILABLE_IOS(7_0);  // @"PaperMargin", NSValue containing UIEdgeInsets
+UIKIT_EXTERN NSAttributedStringDocumentAttributeKey const NSPaperSizeDocumentAttribute NS_AVAILABLE(10_0, 7_0);  // @"PaperSize", NSValue containing CGSize (in points)
+UIKIT_EXTERN NSAttributedStringDocumentAttributeKey const NSPaperMarginDocumentAttribute NS_AVAILABLE_IOS(7_0);  // @"PaperMargin", NSValue containing UIEdgeInsets
 
-UIKIT_EXTERN NSString * const NSViewSizeDocumentAttribute NS_AVAILABLE(10_0, 7_0);  // @"ViewSize", NSValue containing CGSize (in points)
-UIKIT_EXTERN NSString * const NSViewZoomDocumentAttribute NS_AVAILABLE(10_0, 7_0);  // @"ViewZoom", NSNumber containing floating point value (100 == 100% zoom)
-UIKIT_EXTERN NSString * const NSViewModeDocumentAttribute NS_AVAILABLE(10_0, 7_0);  // @"ViewMode", NSNumber containing integer; 0 = normal; 1 = page layout
+UIKIT_EXTERN NSAttributedStringDocumentAttributeKey const NSViewSizeDocumentAttribute NS_AVAILABLE(10_0, 7_0);  // @"ViewSize", NSValue containing CGSize (in points)
+UIKIT_EXTERN NSAttributedStringDocumentAttributeKey const NSViewZoomDocumentAttribute NS_AVAILABLE(10_0, 7_0);  // @"ViewZoom", NSNumber containing floating point value (100 == 100% zoom)
+UIKIT_EXTERN NSAttributedStringDocumentAttributeKey const NSViewModeDocumentAttribute NS_AVAILABLE(10_0, 7_0);  // @"ViewMode", NSNumber containing integer; 0 = normal; 1 = page layout
 
 // Document settings
 // They are document attributes used by read/write methods.
-UIKIT_EXTERN NSString * const NSReadOnlyDocumentAttribute NS_AVAILABLE(10_0, 7_0);  // @"ReadOnly", NSNumber containing integer; if missing, or 0 or negative, not readonly; 1 or more, readonly. Note that this has nothing to do with the file system protection on the file, but instead, on how the file should be displayed to the user
-UIKIT_EXTERN NSString * const NSBackgroundColorDocumentAttribute NS_AVAILABLE(10_0, 7_0);  // @"BackgroundColor", UIColor, representing the document-wide page background color
-UIKIT_EXTERN NSString * const NSHyphenationFactorDocumentAttribute NS_AVAILABLE(10_0, 7_0);  // @"HyphenationFactor", NSNumber containing floating point value (0=off, 1=full hyphenation)
-UIKIT_EXTERN NSString * const NSDefaultTabIntervalDocumentAttribute NS_AVAILABLE(10_0, 7_0);  // @"DefaultTabInterval", NSNumber containing floating point value, representing the document-wide default tab stop interval, in points
-UIKIT_EXTERN NSString * const NSTextLayoutSectionsAttribute NS_AVAILABLE(10_7, 7_0);  // NSArray of dictionaries.  Each dictionary describing a layout orientation section.  The dictionary can have two attributes: NSTextLayoutSectionOrientation and NSTextLayoutSectionRange.  When there is a gap between sections, it's assumed to have NSTextLayoutOrientationHorizontal.
+UIKIT_EXTERN NSAttributedStringDocumentAttributeKey const NSReadOnlyDocumentAttribute NS_AVAILABLE(10_0, 7_0);  // @"ReadOnly", NSNumber containing integer; if missing, or 0 or negative, not readonly; 1 or more, readonly. Note that this has nothing to do with the file system protection on the file, but instead, on how the file should be displayed to the user
+UIKIT_EXTERN NSAttributedStringDocumentAttributeKey const NSBackgroundColorDocumentAttribute NS_AVAILABLE(10_0, 7_0);  // @"BackgroundColor", UIColor, representing the document-wide page background color
+UIKIT_EXTERN NSAttributedStringDocumentAttributeKey const NSHyphenationFactorDocumentAttribute NS_AVAILABLE(10_0, 7_0);  // @"HyphenationFactor", NSNumber containing floating point value (0=off, 1=full hyphenation)
+UIKIT_EXTERN NSAttributedStringDocumentAttributeKey const NSDefaultTabIntervalDocumentAttribute NS_AVAILABLE(10_0, 7_0);  // @"DefaultTabInterval", NSNumber containing floating point value, representing the document-wide default tab stop interval, in points
+UIKIT_EXTERN NSAttributedStringDocumentAttributeKey const NSTextLayoutSectionsAttribute NS_AVAILABLE(10_7, 7_0);  // NSArray of dictionaries.  Each dictionary describing a layout orientation section.  The dictionary can have two attributes: NSTextLayoutSectionOrientation and NSTextLayoutSectionRange.  When there is a gap between sections, it's assumed to have NSTextLayoutOrientationHorizontal.
+
+
+typedef NSString * NSAttributedStringDocumentReadingOptionKey NS_EXTENSIBLE_STRING_ENUM;
+
+UIKIT_EXTERN NSAttributedStringDocumentReadingOptionKey const NSDocumentTypeDocumentOption;  // @"DocumentType", NSString indicating a document type to be forced when loading the document, specified as one of the NSDocumentTypeDocumentAttribute constants listed above
+UIKIT_EXTERN NSAttributedStringDocumentReadingOptionKey const NSDefaultAttributesDocumentOption;  // @"DefaultAttributes", for plain text only; NSDictionary containing attributes to be applied to plain files
+UIKIT_EXTERN NSAttributedStringDocumentReadingOptionKey const NSCharacterEncodingDocumentOption;  // @"CharacterEncoding", for plain text and HTML; NSNumber containing integer specifying NSStringEncoding to be used to interpret the file
 
 
 
 @interface NSAttributedString (NSAttributedStringDocumentFormats)
 // Methods initializing the receiver contents with an external document data.  options specify document attributes for interpreting the document contents.  NSDocumentTypeDocumentAttribute, NSCharacterEncodingDocumentAttribute, and NSDefaultAttributesDocumentAttribute are supported options key.  When they are not specified, these methods will examine the data and do their best to detect the appropriate attributes.  If dict is non-NULL, it will return a dictionary with various document-wide attributes accessible via NS...DocumentAttribute keys.
-- (nullable instancetype)initWithURL:(NSURL *)url options:(NSDictionary<NSString *, id> *)options documentAttributes:(NSDictionary<NSString *, id> * __nullable * __nullable)dict error:(NSError **)error NS_AVAILABLE(10_4, 9_0);
-- (nullable instancetype)initWithData:(NSData *)data options:(NSDictionary<NSString *, id> *)options documentAttributes:(NSDictionary<NSString *, id> * __nullable * __nullable)dict error:(NSError **)error NS_AVAILABLE(10_0, 7_0);
+- (nullable instancetype)initWithURL:(NSURL *)url options:(NSDictionary<NSAttributedStringDocumentReadingOptionKey, id> *)options documentAttributes:(NSDictionary<NSAttributedStringDocumentAttributeKey, id> * __nullable * __nullable)dict error:(NSError **)error NS_AVAILABLE(10_4, 9_0);
+- (nullable instancetype)initWithData:(NSData *)data options:(NSDictionary<NSAttributedStringDocumentReadingOptionKey, id> *)options documentAttributes:(NSDictionary<NSAttributedStringDocumentAttributeKey, id> * __nullable * __nullable)dict error:(NSError **)error NS_AVAILABLE(10_0, 7_0);
 
 // Generates an NSData object for the receiver contents in range.  It requires a document attributes dict specifying at least the NSDocumentTypeDocumentAttribute to determine the format to be written.
-- (nullable NSData *)dataFromRange:(NSRange)range documentAttributes:(NSDictionary<NSString *, id> *)dict error:(NSError **)error NS_AVAILABLE(10_0, 7_0);
+- (nullable NSData *)dataFromRange:(NSRange)range documentAttributes:(NSDictionary<NSAttributedStringDocumentAttributeKey, id> *)dict error:(NSError **)error NS_AVAILABLE(10_0, 7_0);
 
 // Returns an NSFileWrapper object for the receiver contents in range.  It requires a document attributes dict specifying at least the NSDocumentTypeDocumentAttribute to determine the format to be written.  The method returns a directory file wrapper for those document types represented by a file package such as NSRTFDTextDocumentType; otherwise, it returns a regular-file file wrapper.
-- (nullable NSFileWrapper *)fileWrapperFromRange:(NSRange)range documentAttributes:(NSDictionary<NSString *, id> *)dict error:(NSError **)error NS_AVAILABLE(10_0, 7_0);
+- (nullable NSFileWrapper *)fileWrapperFromRange:(NSRange)range documentAttributes:(NSDictionary<NSAttributedStringDocumentAttributeKey, id> *)dict error:(NSError **)error NS_AVAILABLE(10_0, 7_0);
 
 @end
 
 @interface NSMutableAttributedString (NSMutableAttributedStringDocumentFormats)
 // Methods replacing the receiver contents with an external document data.  options specify document attributes for interpreting the document contents.  NSDocumentTypeDocumentAttribute, NSCharacterEncodingDocumentAttribute, and NSDefaultAttributesDocumentAttribute are supported options key.  When they are not specified, these methods will examine the data and do their best to detect the appropriate attributes.  If dict is non-NULL, it will return a dictionary with various document-wide attributes accessible via NS...DocumentAttribute keys.
-- (BOOL)readFromURL:(NSURL *)url options:(NSDictionary<NSString *, id> *)opts documentAttributes:(NSDictionary<NSString *, id> * __nullable * __nullable)dict error:(NSError **)error  NS_AVAILABLE(10_11, 9_0);
-- (BOOL)readFromData:(NSData *)data options:(NSDictionary<NSString *, id> *)opts documentAttributes:(NSDictionary<NSString *, id> * __nullable * __nullable)dict error:(NSError **)error NS_AVAILABLE(10_0, 7_0);
+- (BOOL)readFromURL:(NSURL *)url options:(NSDictionary<NSAttributedStringDocumentReadingOptionKey, id> *)opts documentAttributes:(NSDictionary<NSAttributedStringDocumentAttributeKey, id> * __nullable * __nullable)dict error:(NSError **)error  API_AVAILABLE(macosx(10.5), ios(9.0), watchos(2.0), tvos(9.0));
+- (BOOL)readFromData:(NSData *)data options:(NSDictionary<NSAttributedStringDocumentReadingOptionKey, id> *)opts documentAttributes:(NSDictionary<NSAttributedStringDocumentAttributeKey, id> * __nullable * __nullable)dict error:(NSError **)error NS_AVAILABLE(10_0, 7_0);
 @end
 
 
@@ -146,6 +162,11 @@
 - (BOOL)containsAttachmentsInRange:(NSRange)range NS_AVAILABLE(10_11, 9_0);
 @end
 
+
+@interface NSAttributedString (UINSItemProvider) <NSItemProviderReading, NSItemProviderWriting>
+
+@end
+
 /************************ Deprecated ************************/
 
 typedef NS_ENUM(NSInteger, NSTextWritingDirection) {
diff -ruN /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSParagraphStyle.h /Applications/Xcode9-beta1.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSParagraphStyle.h
--- /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSParagraphStyle.h	2016-09-23 19:10:16.000000000 -0400
+++ /Applications/Xcode9-beta1.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSParagraphStyle.h	2017-05-25 06:42:45.000000000 -0400
@@ -2,7 +2,7 @@
 //  NSParagraphStyle.h
 //  UIKit
 //
-//  Copyright (c) 2011-2015, Apple Inc. All rights reserved.
+//  Copyright (c) 2011-2017, Apple Inc. All rights reserved.
 //
 // NSParagraphStyle and NSMutableParagraphStyle hold paragraph style information
 // NSTextTab holds information about a single tab stop
@@ -15,18 +15,19 @@
 NS_ASSUME_NONNULL_BEGIN
 
 // NSTextTab
-UIKIT_EXTERN NSString *const NSTabColumnTerminatorsAttributeName NS_AVAILABLE(10_0, 7_0); // An attribute for NSTextTab options.  The value is NSCharacterSet.  The character set is used to determine the tab column terminating character.  The tab and newline characters are implied even if not included in the character set.
+typedef NSString * NSTextTabOptionKey NS_STRING_ENUM;
+UIKIT_EXTERN NSTextTabOptionKey const NSTabColumnTerminatorsAttributeName NS_AVAILABLE(10_0, 7_0); // An attribute for NSTextTab options.  The value is NSCharacterSet.  The character set is used to determine the tab column terminating character.  The tab and newline characters are implied even if not included in the character set.
 
 NS_CLASS_AVAILABLE(10_0, 7_0) @interface NSTextTab : NSObject <NSCopying, NSCoding, NSSecureCoding>
 
 + (NSCharacterSet *)columnTerminatorsForLocale:(nullable NSLocale *)aLocale NS_AVAILABLE(10_11, 7_0); // Returns the column terminators for locale. Passing nil returns an instance corresponding to +[NSLocale systemLocale]. For matching user's formatting preferences, pass +[NSLocale currentLocale]. Can be used as the value for NSTabColumnTerminatorsAttributeName to make a decimal tab stop.
 
-- (instancetype)initWithTextAlignment:(NSTextAlignment)alignment location:(CGFloat)loc options:(NSDictionary<NSString *, id> *)options NS_DESIGNATED_INITIALIZER; // Initializes a text tab with the text alignment, location, and options.  The text alignment is used to determine the position of text inside the tab column.
+- (instancetype)initWithTextAlignment:(NSTextAlignment)alignment location:(CGFloat)loc options:(NSDictionary<NSTextTabOptionKey, id> *)options NS_DESIGNATED_INITIALIZER; // Initializes a text tab with the text alignment, location, and options.  The text alignment is used to determine the position of text inside the tab column.
 
 
-@property(readonly, NS_NONATOMIC_IOSONLY) NSTextAlignment alignment;  // Defines the alignment of tab column contents. NSTextAlignmentNatural and NSTextAlignmentJustified are resolved either NSTextAlignmentLeft or NSTextAlignmentRight based on the user's preferred language.
-@property(readonly, NS_NONATOMIC_IOSONLY) CGFloat location; // Location of the tab stop inside the line fragment rect coordinate system
-@property(readonly, NS_NONATOMIC_IOSONLY) NSDictionary<NSString *, id> *options; // Optional configuration attributes
+@property (readonly, NS_NONATOMIC_IOSONLY) NSTextAlignment alignment;  // Defines the alignment of tab column contents. NSTextAlignmentNatural and NSTextAlignmentJustified are resolved either NSTextAlignmentLeft or NSTextAlignmentRight based on the user's preferred language.
+@property (readonly, NS_NONATOMIC_IOSONLY) CGFloat location; // Location of the tab stop inside the line fragment rect coordinate system
+@property (readonly, NS_NONATOMIC_IOSONLY) NSDictionary<NSTextTabOptionKey, id> *options; // Optional configuration attributes
 @end
 
 
@@ -43,62 +44,58 @@
 
 NS_CLASS_AVAILABLE(10_0, 6_0) @interface NSParagraphStyle : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
 
-#if UIKIT_DEFINE_AS_PROPERTIES
-@property(class, nonatomic, readonly) NSParagraphStyle *defaultParagraphStyle; // This class method returns a shared and cached NSParagraphStyle instance with the default style settings, with same value as the result of [[NSParagraphStyle alloc] init].
-#else
-+ (NSParagraphStyle *)defaultParagraphStyle; // This class method returns a shared and cached NSParagraphStyle instance with the default style settings, with same value as the result of [[NSParagraphStyle alloc] init].
-#endif
+@property (class, readonly, copy, NS_NONATOMIC_IOSONLY) NSParagraphStyle *defaultParagraphStyle; // This class property returns a shared and cached NSParagraphStyle instance with the default style settings, with same value as the result of [[NSParagraphStyle alloc] init].
 
 + (NSWritingDirection)defaultWritingDirectionForLanguage:(nullable NSString *)languageName;  // languageName is in ISO lang region format
 
-@property(readonly, NS_NONATOMIC_IOSONLY) CGFloat lineSpacing; // "Leading": distance between the bottom of one line fragment and top of next (applied between lines in the same container). This value is included in the line fragment heights in layout manager.
-@property(readonly, NS_NONATOMIC_IOSONLY) CGFloat paragraphSpacing; // Distance between the bottom of this paragraph and top of next (or the beginning of its paragraphSpacingBefore, if any).
-@property(readonly, NS_NONATOMIC_IOSONLY) NSTextAlignment alignment;
+@property (readonly, NS_NONATOMIC_IOSONLY) CGFloat lineSpacing; // "Leading": distance between the bottom of one line fragment and top of next (applied between lines in the same container). This value is included in the line fragment heights in layout manager.
+@property (readonly, NS_NONATOMIC_IOSONLY) CGFloat paragraphSpacing; // Distance between the bottom of this paragraph and top of next (or the beginning of its paragraphSpacingBefore, if any).
+@property (readonly, NS_NONATOMIC_IOSONLY) NSTextAlignment alignment;
 
 // The following values are relative to the appropriate margin (depending on the paragraph direction)
 
-@property(readonly, NS_NONATOMIC_IOSONLY) CGFloat headIndent; // Distance from margin to front edge of paragraph
-@property(readonly, NS_NONATOMIC_IOSONLY) CGFloat tailIndent; // Distance from margin to back edge of paragraph; if negative or 0, from other margin
-@property(readonly, NS_NONATOMIC_IOSONLY) CGFloat firstLineHeadIndent; // Distance from margin to edge appropriate for text direction
+@property (readonly, NS_NONATOMIC_IOSONLY) CGFloat headIndent; // Distance from margin to front edge of paragraph
+@property (readonly, NS_NONATOMIC_IOSONLY) CGFloat tailIndent; // Distance from margin to back edge of paragraph; if negative or 0, from other margin
+@property (readonly, NS_NONATOMIC_IOSONLY) CGFloat firstLineHeadIndent; // Distance from margin to edge appropriate for text direction
 
-@property(readonly, NS_NONATOMIC_IOSONLY) CGFloat minimumLineHeight; // Line height is the distance from bottom of descenders to top of ascenders; basically the line fragment height. Does not include lineSpacing (which is added after this computation).
-@property(readonly, NS_NONATOMIC_IOSONLY) CGFloat maximumLineHeight; // 0 implies no maximum.
+@property (readonly, NS_NONATOMIC_IOSONLY) CGFloat minimumLineHeight; // Line height is the distance from bottom of descenders to top of ascenders; basically the line fragment height. Does not include lineSpacing (which is added after this computation).
+@property (readonly, NS_NONATOMIC_IOSONLY) CGFloat maximumLineHeight; // 0 implies no maximum.
 
-@property(readonly, NS_NONATOMIC_IOSONLY) NSLineBreakMode lineBreakMode;
+@property (readonly, NS_NONATOMIC_IOSONLY) NSLineBreakMode lineBreakMode;
 
-@property(readonly, NS_NONATOMIC_IOSONLY) NSWritingDirection baseWritingDirection;
+@property (readonly, NS_NONATOMIC_IOSONLY) NSWritingDirection baseWritingDirection;
 
-@property(readonly, NS_NONATOMIC_IOSONLY) CGFloat lineHeightMultiple; // Natural line height is multiplied by this factor (if positive) before being constrained by minimum and maximum line height.
-@property(readonly, NS_NONATOMIC_IOSONLY) CGFloat paragraphSpacingBefore; // Distance between the bottom of the previous paragraph (or the end of its paragraphSpacing, if any) and the top of this paragraph.
+@property (readonly, NS_NONATOMIC_IOSONLY) CGFloat lineHeightMultiple; // Natural line height is multiplied by this factor (if positive) before being constrained by minimum and maximum line height.
+@property (readonly, NS_NONATOMIC_IOSONLY) CGFloat paragraphSpacingBefore; // Distance between the bottom of the previous paragraph (or the end of its paragraphSpacing, if any) and the top of this paragraph.
 
 // Specifies the threshold for hyphenation.  Valid values lie between 0.0 and 1.0 inclusive.  Hyphenation will be attempted when the ratio of the text width as broken without hyphenation to the width of the line fragment is less than the hyphenation factor.  When this takes on its default value of 0.0, the layout manager's hyphenation factor is used instead.  When both are 0.0, hyphenation is disabled.
-@property(readonly, NS_NONATOMIC_IOSONLY) float hyphenationFactor;
+@property (readonly, NS_NONATOMIC_IOSONLY) float hyphenationFactor;
 
-@property(readonly,copy, NS_NONATOMIC_IOSONLY) NSArray<NSTextTab *> *tabStops NS_AVAILABLE(10_0, 7_0); // An array of NSTextTabs. Contents should be ordered by location. The default value is an array of 12 left-aligned tabs at 28pt interval
-@property(readonly, NS_NONATOMIC_IOSONLY) CGFloat defaultTabInterval NS_AVAILABLE(10_0, 7_0); // The default tab interval used for locations beyond the last element in tabStops
+@property (readonly,copy, NS_NONATOMIC_IOSONLY) NSArray<NSTextTab *> *tabStops NS_AVAILABLE(10_0, 7_0); // An array of NSTextTabs. Contents should be ordered by location. The default value is an array of 12 left-aligned tabs at 28pt interval
+@property (readonly, NS_NONATOMIC_IOSONLY) CGFloat defaultTabInterval NS_AVAILABLE(10_0, 7_0); // The default tab interval used for locations beyond the last element in tabStops
 
-@property(readonly, NS_NONATOMIC_IOSONLY) BOOL allowsDefaultTighteningForTruncation NS_AVAILABLE(10_11, 9_0); // Tightens inter-character spacing in attempt to fit lines wider than the available space if the line break mode is one of the truncation modes before starting to truncate. NO by default. The maximum amount of tightening performed is determined by the system based on contexts such as font, line width, etc.
+@property (readonly, NS_NONATOMIC_IOSONLY) BOOL allowsDefaultTighteningForTruncation NS_AVAILABLE(10_11, 9_0); // Tightens inter-character spacing in attempt to fit lines wider than the available space if the line break mode is one of the truncation modes before starting to truncate. NO by default. The maximum amount of tightening performed is determined by the system based on contexts such as font, line width, etc.
 @end
 
 
 NS_CLASS_AVAILABLE(10_0, 6_0) @interface NSMutableParagraphStyle : NSParagraphStyle
 
-@property(NS_NONATOMIC_IOSONLY) CGFloat lineSpacing;
-@property(NS_NONATOMIC_IOSONLY) CGFloat paragraphSpacing;
-@property(NS_NONATOMIC_IOSONLY) NSTextAlignment alignment;
-@property(NS_NONATOMIC_IOSONLY) CGFloat firstLineHeadIndent;
-@property(NS_NONATOMIC_IOSONLY) CGFloat headIndent;
-@property(NS_NONATOMIC_IOSONLY) CGFloat tailIndent;
-@property(NS_NONATOMIC_IOSONLY) NSLineBreakMode lineBreakMode;
-@property(NS_NONATOMIC_IOSONLY) CGFloat minimumLineHeight;
-@property(NS_NONATOMIC_IOSONLY) CGFloat maximumLineHeight;
-@property(NS_NONATOMIC_IOSONLY) NSWritingDirection baseWritingDirection;
-@property(NS_NONATOMIC_IOSONLY) CGFloat lineHeightMultiple;
-@property(NS_NONATOMIC_IOSONLY) CGFloat paragraphSpacingBefore;
-@property(NS_NONATOMIC_IOSONLY) float hyphenationFactor;
-@property(null_resettable, copy, NS_NONATOMIC_IOSONLY) NSArray<NSTextTab *> *tabStops NS_AVAILABLE(10_0, 7_0);
-@property(NS_NONATOMIC_IOSONLY) CGFloat defaultTabInterval NS_AVAILABLE(10_0, 7_0);
-@property(NS_NONATOMIC_IOSONLY) BOOL allowsDefaultTighteningForTruncation NS_AVAILABLE(10_11, 9_0);
+@property (NS_NONATOMIC_IOSONLY) CGFloat lineSpacing;
+@property (NS_NONATOMIC_IOSONLY) CGFloat paragraphSpacing;
+@property (NS_NONATOMIC_IOSONLY) NSTextAlignment alignment;
+@property (NS_NONATOMIC_IOSONLY) CGFloat firstLineHeadIndent;
+@property (NS_NONATOMIC_IOSONLY) CGFloat headIndent;
+@property (NS_NONATOMIC_IOSONLY) CGFloat tailIndent;
+@property (NS_NONATOMIC_IOSONLY) NSLineBreakMode lineBreakMode;
+@property (NS_NONATOMIC_IOSONLY) CGFloat minimumLineHeight;
+@property (NS_NONATOMIC_IOSONLY) CGFloat maximumLineHeight;
+@property (NS_NONATOMIC_IOSONLY) NSWritingDirection baseWritingDirection;
+@property (NS_NONATOMIC_IOSONLY) CGFloat lineHeightMultiple;
+@property (NS_NONATOMIC_IOSONLY) CGFloat paragraphSpacingBefore;
+@property (NS_NONATOMIC_IOSONLY) float hyphenationFactor;
+@property (null_resettable, copy, NS_NONATOMIC_IOSONLY) NSArray<NSTextTab *> *tabStops NS_AVAILABLE(10_0, 7_0);
+@property (NS_NONATOMIC_IOSONLY) CGFloat defaultTabInterval NS_AVAILABLE(10_0, 7_0);
+@property (NS_NONATOMIC_IOSONLY) BOOL allowsDefaultTighteningForTruncation NS_AVAILABLE(10_11, 9_0);
 
 - (void)addTabStop:(NSTextTab *)anObject NS_AVAILABLE(10_0, 9_0);
 - (void)removeTabStop:(NSTextTab *)anObject NS_AVAILABLE(10_0, 9_0);
diff -ruN /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSStringDrawing.h /Applications/Xcode9-beta1.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSStringDrawing.h
--- /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSStringDrawing.h	2016-09-23 19:10:16.000000000 -0400
+++ /Applications/Xcode9-beta1.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSStringDrawing.h	2017-05-25 06:42:45.000000000 -0400
@@ -2,7 +2,7 @@
 //  NSStringDrawing.h
 //  UIKit
 //
-//  Copyright (c) 2011-2015, Apple Inc. All rights reserved.
+//  Copyright (c) 2011-2017, Apple Inc. All rights reserved.
 //
 
 #import <Foundation/NSString.h>
@@ -19,20 +19,20 @@
 NS_CLASS_AVAILABLE(10_11, 6_0) @interface NSStringDrawingContext : NSObject
 
 // Minimum scale factor for drawWithRect:options:context: and boundingRectWithSize:options:context: methods. If this property is set, the extended string drawing methods will attempt to draw the attributed string in the given bounds by proportionally scaling the font(s) in the attributed string
-@property(NS_NONATOMIC_IOSONLY) CGFloat minimumScaleFactor;
+@property (NS_NONATOMIC_IOSONLY) CGFloat minimumScaleFactor;
 
 // actual scale factor used by the last drawing call where minimum scale factor was specified
-@property(readonly, NS_NONATOMIC_IOSONLY) CGFloat actualScaleFactor;
+@property (readonly, NS_NONATOMIC_IOSONLY) CGFloat actualScaleFactor;
 
 // bounds of the string drawn by the previous invocation of drawWithRect:options:context:
-@property(readonly, NS_NONATOMIC_IOSONLY) CGRect totalBounds;
+@property (readonly, NS_NONATOMIC_IOSONLY) CGRect totalBounds;
 
 @end
 
 @interface NSString(NSStringDrawing)
-- (CGSize)sizeWithAttributes:(nullable NSDictionary<NSString *, id> *)attrs NS_AVAILABLE(10_0, 7_0);
-- (void)drawAtPoint:(CGPoint)point withAttributes:(nullable NSDictionary<NSString *, id> *)attrs NS_AVAILABLE(10_0, 7_0);
-- (void)drawInRect:(CGRect)rect withAttributes:(nullable NSDictionary<NSString *, id> *)attrs NS_AVAILABLE(10_0, 7_0);
+- (CGSize)sizeWithAttributes:(nullable NSDictionary<NSAttributedStringKey, id> *)attrs NS_AVAILABLE(10_0, 7_0);
+- (void)drawAtPoint:(CGPoint)point withAttributes:(nullable NSDictionary<NSAttributedStringKey, id> *)attrs NS_AVAILABLE(10_0, 7_0);
+- (void)drawInRect:(CGRect)rect withAttributes:(nullable NSDictionary<NSAttributedStringKey, id> *)attrs NS_AVAILABLE(10_0, 7_0);
 @end
 
 @interface NSAttributedString(NSStringDrawing)
@@ -53,8 +53,8 @@
 // NOTE: All of the following methods will default to drawing on a baseline, limiting drawing to a single line.
 // To correctly draw and size multi-line text, pass NSStringDrawingUsesLineFragmentOrigin in the options parameter.
 @interface NSString (NSExtendedStringDrawing)
-- (void)drawWithRect:(CGRect)rect options:(NSStringDrawingOptions)options attributes:(nullable NSDictionary<NSString *, id> *)attributes context:(nullable NSStringDrawingContext *)context NS_AVAILABLE(10_11, 7_0);
-- (CGRect)boundingRectWithSize:(CGSize)size options:(NSStringDrawingOptions)options attributes:(nullable NSDictionary<NSString *, id> *)attributes context:(nullable NSStringDrawingContext *)context NS_AVAILABLE(10_11, 7_0);
+- (void)drawWithRect:(CGRect)rect options:(NSStringDrawingOptions)options attributes:(nullable NSDictionary<NSAttributedStringKey, id> *)attributes context:(nullable NSStringDrawingContext *)context NS_AVAILABLE(10_11, 7_0);
+- (CGRect)boundingRectWithSize:(CGSize)size options:(NSStringDrawingOptions)options attributes:(nullable NSDictionary<NSAttributedStringKey, id> *)attributes context:(nullable NSStringDrawingContext *)context NS_AVAILABLE(10_11, 7_0);
 @end
 
 @interface NSAttributedString (NSExtendedStringDrawing)
@@ -64,8 +64,8 @@
 
 /************************ Deprecated ************************/
 @interface NSStringDrawingContext (NSStringDrawingContextDeprecated)
-@property(nonatomic) CGFloat minimumTrackingAdjustment NS_DEPRECATED_IOS(6_0,7_0) __TVOS_PROHIBITED;
-@property(nonatomic, readonly) CGFloat actualTrackingAdjustment NS_DEPRECATED_IOS(6_0,7_0) __TVOS_PROHIBITED;
+@property (nonatomic) CGFloat minimumTrackingAdjustment NS_DEPRECATED_IOS(6_0,7_0) __TVOS_PROHIBITED;
+@property (nonatomic, readonly) CGFloat actualTrackingAdjustment NS_DEPRECATED_IOS(6_0,7_0) __TVOS_PROHIBITED;
 @end
 
 NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityConstants.h /Applications/Xcode9-beta1.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityConstants.h
--- /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityConstants.h	2016-08-12 01:05:53.000000000 -0400
+++ /Applications/Xcode9-beta1.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityConstants.h	2017-05-25 06:42:45.000000000 -0400
@@ -214,6 +214,14 @@
     UIAccessibilityNavigationStyleCombined = 2,
 } NS_ENUM_AVAILABLE_IOS(8_0);
 
+
+typedef NS_ENUM(NSInteger, UIAccessibilityContainerType) {
+    UIAccessibilityContainerTypeNone = 0,
+    UIAccessibilityContainerTypeDataTable,     // If using this container type, you must also implement the UIAccessibilityContainerDataTable protocol.
+    UIAccessibilityContainerTypeList,
+    UIAccessibilityContainerTypeLandmark,
+} NS_ENUM_AVAILABLE_IOS(11_0);
+
 /*
  Accessibility Speech Attributes
  
@@ -235,5 +243,32 @@
 // Default value == 1.0f.
 UIKIT_EXTERN NSString *const UIAccessibilitySpeechAttributePitch NS_AVAILABLE_IOS(7_0);
 
+// The corresponding value for this key should be a NSNumber with a YES or NO value.
+// If YES, then this announcement will be queued behind existing speech; if NO, then it will interrupt existing speech.
+// Default behavior is to interrupt existing speech.
+UIKIT_EXTERN NSString *const UIAccessibilitySpeechAttributeQueueAnnouncement NS_AVAILABLE_IOS(11_0);
+
+// Use an NSString, containing International Phonetic Alphabet (IPA) symbols.
+// Controls the pronunciation of a word or phrase, e.g. a proper name.
+UIKIT_EXTERN NSString *const UIAccessibilitySpeechAttributeIPANotation NS_AVAILABLE_IOS(11_0);
+
+/*
+ Accessibility Text Attributes
+ 
+ The following attributes can be used in the NSAttributedString returned by attributeText methods of views conforming to UITextInput
+ to convey extra information about the text.
+ 
+ Use existing NSAttributedString attributes for properties not defined here from <UIKit/NSAttributedString.h>
+ 
+ To include an inline element (like an image or table), use NSAttachmentAttributeName and set the value to the element.
+ */
+
+// Use an NSNumber where the value is [0, 6]. Use 0 to indicate the absence of a specific heading level.
+UIKIT_EXTERN NSString *const UIAccessibilityTextAttributeHeadingLevel NS_AVAILABLE_IOS(11_0);
+
+// Use an NSArray of localized NSStrings to convey custom text attributes.
+// For example, a range of text may have multiple custom 'annotation styles, which can be described with this key.
+UIKIT_EXTERN NSString *const UIAccessibilityTextAttributeCustom NS_AVAILABLE_IOS(11_0);
+
 NS_ASSUME_NONNULL_END
 
diff -ruN /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBezierPath.h /Applications/Xcode9-beta1.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBezierPath.h
--- /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBezierPath.h	2016-09-23 19:10:16.000000000 -0400
+++ /Applications/Xcode9-beta1.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBezierPath.h	2017-05-25 07:00:47.000000000 -0400
@@ -19,7 +19,7 @@
     UIRectCornerAllCorners  = ~0UL
 };
 
-NS_CLASS_AVAILABLE_IOS(3_2) @interface UIBezierPath : NSObject<NSCopying, NSCoding>
+NS_CLASS_AVAILABLE_IOS(3_2) @interface UIBezierPath : NSObject<NSCopying, NSSecureCoding>
 
 + (instancetype)bezierPath;
 + (instancetype)bezierPathWithRect:(CGRect)rect;
diff -ruN /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h /Applications/Xcode9-beta1.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h
--- /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h	2016-09-23 18:42:41.000000000 -0400
+++ /Applications/Xcode9-beta1.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h	2017-05-25 06:42:45.000000000 -0400
@@ -12,9 +12,11 @@
 #endif
 #import <UIKit/UIKitDefines.h>
 
+
 NS_ASSUME_NONNULL_BEGIN
 
 @class UIImage;
+@class UITraitCollection;
 
 NS_CLASS_AVAILABLE_IOS(2_0) @interface UIColor : NSObject <NSSecureCoding, NSCopying>
 
@@ -101,6 +103,12 @@
 
 @end
 
+
+@interface UIColor (UINSItemProvider) <NSItemProviderReading, NSItemProviderWriting>
+
+@end
+
+
 #if __has_include(<CoreImage/CoreImage.h>)
 @interface CIColor(UIKitAdditions)
 
@@ -109,4 +117,9 @@
 @end
 #endif
 
+@interface UIColor (UIColorNamedColors)
++ (nullable UIColor *)colorNamed:(NSString *)name NS_AVAILABLE_IOS(11_0);      // load from main bundle
++ (nullable UIColor *)colorNamed:(NSString *)name inBundle:(nullable NSBundle *)bundle compatibleWithTraitCollection:(nullable UITraitCollection *)traitCollection NS_AVAILABLE_IOS(11_0);
+@end
+
 NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFont.h /Applications/Xcode9-beta1.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFont.h
--- /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFont.h	2016-09-23 19:10:16.000000000 -0400
+++ /Applications/Xcode9-beta1.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFont.h	2017-05-25 07:00:47.000000000 -0400
@@ -19,7 +19,7 @@
 // Returns an instance of the font associated with the text style and scaled appropriately for the user's selected content size category. See UIFontDescriptor.h for the complete list.
 + (UIFont *)preferredFontForTextStyle:(UIFontTextStyle)style NS_AVAILABLE_IOS(7_0);
 // Returns an instance of the font associated with the text style and scaled appropriately for the content size category defined in the trait collection.
-+ (UIFont *)preferredFontForTextStyle:(UIFontTextStyle)style compatibleWithTraitCollection:(nullable UITraitCollection *)traitCollection NS_AVAILABLE_IOS(10_0);
++ (UIFont *)preferredFontForTextStyle:(UIFontTextStyle)style compatibleWithTraitCollection:(nullable UITraitCollection *)traitCollection NS_AVAILABLE_IOS(10_0) __WATCHOS_PROHIBITED;
 
 // Returns a font using CSS name matching semantics.
 + (nullable UIFont *)fontWithName:(NSString *)fontName size:(CGFloat)fontSize;
@@ -45,8 +45,8 @@
 // Weights used here are analogous to those used with UIFontDescriptor's UIFontWeightTrait.
 // See the UIFontWeight... constants in UIFontDescriptor.h for suggested values.
 // The caveat above about the use of ...systemFont... methods applies to these methods too.
-+ (UIFont *)systemFontOfSize:(CGFloat)fontSize weight:(CGFloat)weight NS_AVAILABLE_IOS(8_2);
-+ (UIFont *)monospacedDigitSystemFontOfSize:(CGFloat)fontSize weight:(CGFloat)weight NS_AVAILABLE_IOS(9_0);
++ (UIFont *)systemFontOfSize:(CGFloat)fontSize weight:(UIFontWeight)weight NS_AVAILABLE_IOS(8_2);
++ (UIFont *)monospacedDigitSystemFontOfSize:(CGFloat)fontSize weight:(UIFontWeight)weight NS_AVAILABLE_IOS(9_0);
 
 
 // Font attributes
diff -ruN /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontMetrics.h /Applications/Xcode9-beta1.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontMetrics.h
--- /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontMetrics.h	1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode9-beta1.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontMetrics.h	2017-05-25 07:00:48.000000000 -0400
@@ -0,0 +1,35 @@
+//
+//  UIFontMetrics.h
+//  UIKit
+//
+//  Copyright (c) 2017 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <CoreGraphics/CoreGraphics.h>
+#import <UIKit/UIKitDefines.h>
+#import <UIKit/UIFont.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+UIKIT_EXTERN API_AVAILABLE(ios(11.0),tvos(11.0),watchos(4.0))
+@interface UIFontMetrics : NSObject
+
+@property (class, readonly, strong) UIFontMetrics *defaultMetrics;
+
++ (instancetype)metricsForTextStyle:(UIFontTextStyle)textStyle;
+
+- (instancetype)init NS_UNAVAILABLE;
+- (instancetype)initForTextStyle:(UIFontTextStyle)textStyle NS_DESIGNATED_INITIALIZER;
+
+- (UIFont *)scaledFontForFont:(UIFont *)font;
+- (UIFont *)scaledFontForFont:(UIFont *)font maximumPointSize:(CGFloat)maximumPointSize;
+- (UIFont *)scaledFontForFont:(UIFont *)font compatibleWithTraitCollection:(nullable UITraitCollection *)traitCollection __WATCHOS_PROHIBITED;
+- (UIFont *)scaledFontForFont:(UIFont *)font maximumPointSize:(CGFloat)maximumPointSize compatibleWithTraitCollection:(nullable UITraitCollection *)traitCollection __WATCHOS_PROHIBITED;
+
+- (CGFloat)scaledValueForValue:(CGFloat)value;
+- (CGFloat)scaledValueForValue:(CGFloat)value compatibleWithTraitCollection:(nullable UITraitCollection *)traitCollection __WATCHOS_PROHIBITED;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGeometry.h /Applications/Xcode9-beta1.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGeometry.h
--- /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGeometry.h	2016-08-12 01:05:53.000000000 -0400
+++ /Applications/Xcode9-beta1.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGeometry.h	2017-05-27 22:37:29.000000000 -0400
@@ -16,6 +16,12 @@
     CGFloat top, left, bottom, right;  // specify amount to inset (positive) for each of the edges. values can be negative to 'outset'
 } UIEdgeInsets;
 
+/* Specifically for use in methods and functions supporting user interface layout direction
+ */
+typedef struct NSDirectionalEdgeInsets {
+    CGFloat top, leading, bottom, trailing;  // specify amount to inset (positive) for each of the edges. values can be negative to 'outset'
+} NSDirectionalEdgeInsets API_AVAILABLE(ios(11.0),tvos(11.0),watchos(4.0));
+
 typedef struct UIOffset {
     CGFloat horizontal, vertical; // specify amount to offset a position, positive for right or down, negative for left or up
 } UIOffset;
@@ -34,6 +40,12 @@
     return insets;
 }
 
+UIKIT_STATIC_INLINE NSDirectionalEdgeInsets NSDirectionalEdgeInsetsMake(CGFloat top, CGFloat leading, CGFloat bottom, CGFloat trailing) API_AVAILABLE(ios(11.0),tvos(11.0),watchos(4.0))
+{
+    NSDirectionalEdgeInsets insets = {top, leading, bottom, trailing};
+    return insets;
+}
+
 UIKIT_STATIC_INLINE CGRect UIEdgeInsetsInsetRect(CGRect rect, UIEdgeInsets insets) {
     rect.origin.x    += insets.left;
     rect.origin.y    += insets.top;
@@ -51,15 +63,22 @@
     return insets1.left == insets2.left && insets1.top == insets2.top && insets1.right == insets2.right && insets1.bottom == insets2.bottom;
 }
 
+UIKIT_STATIC_INLINE BOOL NSDirectionalEdgeInsetsEqualToDirectionalEdgeInsets(NSDirectionalEdgeInsets insets1, NSDirectionalEdgeInsets insets2) API_AVAILABLE(ios(11.0),tvos(11.0),watchos(4.0))
+{
+    return insets1.leading == insets2.leading && insets1.top == insets2.top && insets1.trailing == insets2.trailing && insets1.bottom == insets2.bottom;
+}
+
 UIKIT_STATIC_INLINE BOOL UIOffsetEqualToOffset(UIOffset offset1, UIOffset offset2) {
     return offset1.horizontal == offset2.horizontal && offset1.vertical == offset2.vertical;
 }
 
 #if UIKIT_REMOVE_ZERO_FROM_SWIFT
 UIKIT_EXTERN const UIEdgeInsets UIEdgeInsetsZero NS_SWIFT_UNAVAILABLE("Use UIEdgeInsets.zero instead");
+UIKIT_EXTERN const NSDirectionalEdgeInsets NSDirectionalEdgeInsetsZero API_AVAILABLE(ios(11.0),tvos(11.0),watchos(4.0));
 UIKIT_EXTERN const UIOffset UIOffsetZero NS_SWIFT_UNAVAILABLE("Use UIOffset.zero instead");
 #else
 UIKIT_EXTERN const UIEdgeInsets UIEdgeInsetsZero;
+UIKIT_EXTERN const NSDirectionalEdgeInsets NSDirectionalEdgeInsetsZero;
 UIKIT_EXTERN const UIOffset UIOffsetZero;
 #endif
 
@@ -69,6 +88,7 @@
 UIKIT_EXTERN NSString *NSStringFromCGRect(CGRect rect);
 UIKIT_EXTERN NSString *NSStringFromCGAffineTransform(CGAffineTransform transform);
 UIKIT_EXTERN NSString *NSStringFromUIEdgeInsets(UIEdgeInsets insets);
+UIKIT_EXTERN NSString *NSStringFromDirectionalEdgeInsets(NSDirectionalEdgeInsets insets) API_AVAILABLE(ios(11.0),tvos(11.0),watchos(4.0));
 UIKIT_EXTERN NSString *NSStringFromUIOffset(UIOffset offset);
 
 UIKIT_EXTERN CGPoint CGPointFromString(NSString *string);
@@ -77,6 +97,7 @@
 UIKIT_EXTERN CGRect CGRectFromString(NSString *string);
 UIKIT_EXTERN CGAffineTransform CGAffineTransformFromString(NSString *string);
 UIKIT_EXTERN UIEdgeInsets UIEdgeInsetsFromString(NSString *string);
+UIKIT_EXTERN NSDirectionalEdgeInsets NSDirectionalEdgeInsetsFromString(NSString *string) API_AVAILABLE(ios(11.0),tvos(11.0),watchos(4.0));
 UIKIT_EXTERN UIOffset UIOffsetFromString(NSString *string);
 
 @interface NSValue (NSValueUIGeometryExtensions)
@@ -87,6 +108,7 @@
 + (NSValue *)valueWithCGRect:(CGRect)rect;
 + (NSValue *)valueWithCGAffineTransform:(CGAffineTransform)transform;
 + (NSValue *)valueWithUIEdgeInsets:(UIEdgeInsets)insets;
++ (NSValue *)valueWithDirectionalEdgeInsets:(NSDirectionalEdgeInsets)insets API_AVAILABLE(ios(11.0),tvos(11.0),watchos(4.0));
 + (NSValue *)valueWithUIOffset:(UIOffset)insets NS_AVAILABLE_IOS(5_0);
 
 #if UIKIT_DEFINE_AS_PROPERTIES
@@ -96,6 +118,7 @@
 @property(nonatomic, readonly) CGRect CGRectValue;
 @property(nonatomic, readonly) CGAffineTransform CGAffineTransformValue;
 @property(nonatomic, readonly) UIEdgeInsets UIEdgeInsetsValue;
+@property(nonatomic, readonly) NSDirectionalEdgeInsets directionalEdgeInsetsValue API_AVAILABLE(ios(11.0),tvos(11.0),watchos(4.0));
 @property(nonatomic, readonly) UIOffset UIOffsetValue NS_AVAILABLE_IOS(5_0);
 #else
 - (CGPoint)CGPointValue;
@@ -104,6 +127,7 @@
 - (CGRect)CGRectValue;
 - (CGAffineTransform)CGAffineTransformValue;
 - (UIEdgeInsets)UIEdgeInsetsValue;
+- (NSDirectionalEdgeInsets)directionalEdgeInsetsValue API_AVAILABLE(ios(11.0),tvos(11.0),watchos(4.0));
 - (UIOffset)UIOffsetValue NS_AVAILABLE_IOS(5_0);
 #endif
 
@@ -117,6 +141,7 @@
 - (void)encodeCGRect:(CGRect)rect forKey:(NSString *)key;
 - (void)encodeCGAffineTransform:(CGAffineTransform)transform forKey:(NSString *)key;
 - (void)encodeUIEdgeInsets:(UIEdgeInsets)insets forKey:(NSString *)key;
+- (void)encodeDirectionalEdgeInsets:(NSDirectionalEdgeInsets)insets forKey:(NSString *)key API_AVAILABLE(ios(11.0),tvos(11.0),watchos(4.0));
 - (void)encodeUIOffset:(UIOffset)offset forKey:(NSString *)key NS_AVAILABLE_IOS(5_0);
 
 - (CGPoint)decodeCGPointForKey:(NSString *)key;
@@ -125,6 +150,7 @@
 - (CGRect)decodeCGRectForKey:(NSString *)key;
 - (CGAffineTransform)decodeCGAffineTransformForKey:(NSString *)key;
 - (UIEdgeInsets)decodeUIEdgeInsetsForKey:(NSString *)key;
+- (NSDirectionalEdgeInsets)decodeDirectionalEdgeInsetsForKey:(NSString *)key API_AVAILABLE(ios(11.0),tvos(11.0),watchos(4.0));
 - (UIOffset)decodeUIOffsetForKey:(NSString *)key NS_AVAILABLE_IOS(5_0);
 
 @end
diff -ruN /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode9-beta1.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes
--- /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes	1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode9-beta1.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes	2017-05-30 01:57:28.000000000 -0400
@@ -0,0 +1,936 @@
+#
+# Swift 3 specific notes are at the end of the file.
+# The following are notes applicable to Swift 3 and Swift 4.
+#
+---
+Name: UIKit
+Classes:
+- Name: UIBezierPath
+  Methods:
+  - Selector: 'reversing'
+    SwiftName: 'reversed'
+    MethodKind: Instance
+- Name: UIPrintInfo
+  Methods:
+  - Selector: printInfo
+    MethodKind: Class
+    SwiftName: 'printInfo()'
+- Name: UIPrintInteractionController
+  Properties:
+  - Name: 'sharedPrintController'
+    SwiftName: shared
+- Name: NSLayoutAnchor
+  Methods:
+  - Selector: 'constraintEqualToAnchor:'
+    SwiftName: constraint(equalTo:)
+    MethodKind: Instance
+  - Selector: 'constraintGreaterThanOrEqualToAnchor:'
+    SwiftName: constraint(greaterThanOrEqualTo:)
+    MethodKind: Instance
+  - Selector: 'constraintLessThanOrEqualToAnchor:'
+    SwiftName: constraint(lessThanOrEqualTo:)
+    MethodKind: Instance
+  - Selector: 'constraintEqualToAnchor:constant:'
+    SwiftName: constraint(equalTo:constant:)
+    MethodKind: Instance
+  - Selector: 'constraintGreaterThanOrEqualToAnchor:constant:'
+    SwiftName: constraint(greaterThanOrEqualTo:constant:)
+    MethodKind: Instance
+  - Selector: 'constraintLessThanOrEqualToAnchor:constant:'
+    SwiftName: constraint(lessThanOrEqualTo:constant:)
+    MethodKind: Instance
+- Name: NSLayoutXAxisAnchor
+  Methods:
+  - Selector: 'constraintEqualToSystemSpacingAfterAnchor:multiplier:'
+    SwiftName: constraintEqualToSystemSpacingAfter(_:multiplier:)
+    MethodKind: Instance
+  - Selector: 'constraintGreaterThanOrEqualToSystemSpacingAfterAnchor:multiplier:'
+    SwiftName: constraintGreaterThanOrEqualToSystemSpacingAfter(_:multiplier:)
+    MethodKind: Instance
+  - Selector: 'constraintLessThanOrEqualToSystemSpacingAfterAnchor:multiplier:'
+    SwiftName: constraintLessThanOrEqualToSystemSpacingAfter(_:multiplier:)
+    MethodKind: Instance
+- Name: NSLayoutYAxisAnchor
+  Methods:
+  - Selector: 'constraintEqualToSystemSpacingBelowAnchor:multiplier:'
+    SwiftName: constraintEqualToSystemSpacingBelow(_:multiplier:)
+    MethodKind: Instance
+  - Selector: 'constraintGreaterThanOrEqualToSystemSpacingBelowAnchor:multiplier:'
+    SwiftName: constraintGreaterThanOrEqualToSystemSpacingBelow(_:multiplier:)
+    MethodKind: Instance
+  - Selector: 'constraintLessThanOrEqualToSystemSpacingBelowAnchor:multiplier:'
+    SwiftName: constraintLessThanOrEqualToSystemSpacingBelow(_:multiplier:)
+    MethodKind: Instance
+- Name: NSLayoutDimension
+  Methods:
+  - Selector: 'constraintEqualToConstant:'
+    SwiftName: constraint(equalToConstant:)
+    MethodKind: Instance
+  - Selector: 'constraintGreaterThanOrEqualToConstant:'
+    SwiftName: constraint(greaterThanOrEqualToConstant:)
+    MethodKind: Instance
+  - Selector: 'constraintLessThanOrEqualToConstant:'
+    SwiftName: constraint(lessThanOrEqualToConstant:)
+    MethodKind: Instance
+  - Selector: 'constraintEqualToAnchor:multiplier:'
+    SwiftName: constraint(equalTo:multiplier:)
+    MethodKind: Instance
+  - Selector: 'constraintGreaterThanOrEqualToAnchor:multiplier:'
+    SwiftName: constraint(greaterThanOrEqualTo:multiplier:)
+    MethodKind: Instance
+  - Selector: 'constraintLessThanOrEqualToAnchor:multiplier:'
+    SwiftName: constraint(lessThanOrEqualTo:multiplier:)
+    MethodKind: Instance
+  - Selector: 'constraintEqualToAnchor:multiplier:constant:'
+    SwiftName: constraint(equalTo:multiplier:constant:)
+    MethodKind: Instance
+  - Selector: 'constraintGreaterThanOrEqualToAnchor:multiplier:constant:'
+    SwiftName: constraint(greaterThanOrEqualTo:multiplier:constant:)
+    MethodKind: Instance
+  - Selector: 'constraintLessThanOrEqualToAnchor:multiplier:constant:'
+    SwiftName: constraint(lessThanOrEqualTo:multiplier:constant:)
+    MethodKind: Instance
+- Name: NSLayoutConstraint
+  Properties:
+  - Name: firstItem
+    Nullability: O
+- Name: NSLayoutManager
+  Methods:
+  - Selector: 'getGlyphsInRange:glyphs:properties:characterIndexes:bidiLevels:'
+    SwiftName: getGlyphs(in:glyphs:properties:characterIndexes:bidiLevels:)
+    MethodKind: Instance
+  - Selector: 'textContainerForGlyphAtIndex:effectiveRange:'
+    SwiftName: textContainer(forGlyphAt:effectiveRange:)
+    MethodKind: Instance
+  - Selector: 'textContainerForGlyphAtIndex:effectiveRange:withoutAdditionalLayout:'
+    SwiftName: textContainer(forGlyphAt:effectiveRange:withoutAdditionalLayout:)
+    MethodKind: Instance
+  - Selector: 'lineFragmentRectForGlyphAtIndex:effectiveRange:'
+    SwiftName: lineFragmentRect(forGlyphAt:effectiveRange:)
+    MethodKind: Instance
+  - Selector: 'lineFragmentRectForGlyphAtIndex:effectiveRange:withoutAdditionalLayout:'
+    SwiftName: lineFragmentRect(forGlyphAt:effectiveRange:withoutAdditionalLayout:)
+    MethodKind: Instance
+  - Selector: 'lineFragmentUsedRectForGlyphAtIndex:effectiveRange:'
+    SwiftName: lineFragmentUsedRect(forGlyphAt:effectiveRange:)
+    MethodKind: Instance
+  - Selector: 'lineFragmentUsedRectForGlyphAtIndex:effectiveRange:withoutAdditionalLayout:'
+    SwiftName: lineFragmentUsedRect(forGlyphAt:effectiveRange:withoutAdditionalLayout:)
+    MethodKind: Instance
+  - Selector: 'locationForGlyphAtIndex:'
+    SwiftName: location(forGlyphAt:)
+    MethodKind: Instance
+  - Selector: 'notShownAttributeForGlyphAtIndex:'
+    SwiftName: notShownAttribute(forGlyphAt:)
+    MethodKind: Instance
+  - Selector: 'drawsOutsideLineFragmentForGlyphAtIndex:'
+    SwiftName: drawsOutsideLineFragment(forGlyphAt:)
+    MethodKind: Instance
+  - Selector: 'attachmentSizeForGlyphAtIndex:'
+    SwiftName: attachmentSize(forGlyphAt:)
+    MethodKind: Instance
+  - Selector: 'truncatedGlyphRangeInLineFragmentForGlyphAtIndex:'
+    SwiftName: truncatedGlyphRange(inLineFragmentForGlyphAt:)
+    MethodKind: Instance
+  - Selector: 'getLineFragmentInsertionPointsForCharacterAtIndex:alternatePositions:inDisplayOrder:positions:characterIndexes:'
+    SwiftName: getLineFragmentInsertionPoints(forCharacterAt:alternatePositions:inDisplayOrder:positions:characterIndexes:)
+    MethodKind: Instance
+- Name: NSString
+  Methods:
+  - Selector: 'sizeWithAttributes:'
+    SwiftName: size(withAttributes:)
+    MethodKind: Instance
+- Name: UIApplication
+  Methods:
+  - Selector: 'openURL:'
+    SwiftName: openURL(_:)
+    MethodKind: Instance
+  - Selector: 'canOpenURL:'
+    SwiftName: canOpenURL(_:)
+    MethodKind: Instance
+  - Selector: 'sendEvent:'
+    SwiftName: sendEvent(_:)
+    MethodKind: Instance
+  - Selector: 'registerForRemoteNotificationTypes:'
+    SwiftName: registerForRemoteNotifications(matching:)
+    MethodKind: Instance
+  - Selector: 'cancelLocalNotification:'
+    SwiftName: cancelLocalNotification(_:)
+    MethodKind: Instance
+  - Selector: 'registerUserNotificationSettings:'
+    SwiftName: registerUserNotificationSettings(_:)
+    MethodKind: Instance
+- Name: NSIndexPath
+  Methods:
+  - Selector: 'indexPathForItem:inSection:'
+    SwiftName: init(item:section:)
+    MethodKind: Class
+  - Selector: 'indexPathForRow:inSection:'
+    SwiftName: init(row:section:)
+    MethodKind: Class
+- Name: UICollisionBehavior
+  Methods:
+  - Selector: 'setTranslatesReferenceBoundsIntoBoundaryWithInsets:'
+    SwiftName: setTranslatesReferenceBoundsIntoBoundary(with:)
+    MethodKind: Instance
+- Name: UIControl
+  Methods:
+  - Selector: 'beginTrackingWithTouch:withEvent:'
+    SwiftName: beginTracking(_:with:)
+    MethodKind: Instance
+  - Selector: 'continueTrackingWithTouch:withEvent:'
+    SwiftName: continueTracking(_:with:)
+    MethodKind: Instance
+  - Selector: 'endTrackingWithTouch:withEvent:'
+    SwiftName: endTracking(_:with:)
+    MethodKind: Instance
+- Name: UIFieldBehavior
+  Methods:
+  - Selector: 'radialGravityFieldWithPosition:'
+    SwiftName: radialGravityField(position:)
+    MethodKind: Class
+  - Selector: 'linearGravityFieldWithVector:'
+    SwiftName: linearGravityField(direction:)
+    MethodKind: Class
+  - Selector: 'velocityFieldWithVector:'
+    SwiftName: velocityField(direction:)
+    MethodKind: Class
+  - Selector: 'noiseFieldWithSmoothness:animationSpeed:'
+    SwiftName: noiseField(smoothness:animationSpeed:)
+    MethodKind: Class
+  - Selector: 'turbulenceFieldWithSmoothness:animationSpeed:'
+    SwiftName: turbulenceField(smoothness:animationSpeed:)
+    MethodKind: Class
+- Name: UIFontMetrics
+  Methods:
+  - Selector: 'scaledValueForValue:compatibleWithTraitCollection:'
+    SwiftName: scaledValue(for:compatibleWith:)
+    MethodKind: Instance
+  - Selector: 'scaledValueForValue:'
+    SwiftName: scaledValue(for:)
+    MethodKind: Instance
+- Name: UIImageAsset
+  Methods:
+  - Selector: 'unregisterImageWithTraitCollection:'
+    SwiftName: unregister(imageWith:)
+    MethodKind: Instance
+- Name: UILocalizedIndexedCollation
+  Methods:
+  - Selector: 'sectionForSectionIndexTitleAtIndex:'
+    SwiftName: section(forSectionIndexTitle:)
+    MethodKind: Instance
+- Name: UINavigationBar
+  Methods:
+  - Selector: 'pushNavigationItem:animated:'
+    SwiftName: pushItem(_:animated:)
+    MethodKind: Instance
+  - Selector: 'popNavigationItemAnimated:'
+    SwiftName: popItem(animated:)
+    MethodKind: Instance
+- Name: UINavigationController
+  Methods:
+  - Selector: 'popToViewController:animated:'
+    SwiftName: popToViewController(_:animated:)
+    MethodKind: Instance
+- Name: UIPageControl
+  Methods:
+  - Selector: 'sizeForNumberOfPages:'
+    SwiftName: size(forNumberOfPages:)
+    MethodKind: Instance
+- Name: UIPasteboard
+  Properties:
+  - Name: pasteboardTypes
+    SwiftName: types
+  Methods:
+  - Selector: 'containsPasteboardTypes:'
+    SwiftName: contains(pasteboardTypes:)
+    MethodKind: Instance
+  - Selector: 'pasteboardTypesForItemSet:'
+    SwiftName: types(forItemSet:)
+    MethodKind: Instance
+  - Selector: 'containsPasteboardTypes:inItemSet:'
+    SwiftName: contains(pasteboardTypes:inItemSet:)
+    MethodKind: Instance
+- Name: UIPopoverController
+  Properties:
+  - Name: popoverContentSize
+    SwiftName: contentSize
+  - Name: isPopoverVisible
+    SwiftName: isVisible
+  - Name: popoverArrowDirection
+    SwiftName: arrowDirection
+  - Name: popoverLayoutMargins
+    SwiftName: layoutMargins
+  - Name: popoverBackgroundViewClass
+    SwiftName: backgroundViewClass
+  Methods:
+  - Selector: 'setPopoverContentSize:animated:'
+    SwiftName: setContentSize(_:animated:)
+    MethodKind: Instance
+  - Selector: 'presentPopoverFromRect:inView:permittedArrowDirections:animated:'
+    SwiftName: present(from:in:permittedArrowDirections:animated:)
+    MethodKind: Instance
+  - Selector: 'presentPopoverFromBarButtonItem:permittedArrowDirections:animated:'
+    SwiftName: present(from:permittedArrowDirections:animated:)
+    MethodKind: Instance
+  - Selector: 'dismissPopoverAnimated:'
+    SwiftName: dismiss(animated:)
+    MethodKind: Instance
+- Name: UIScrollView
+  Methods:
+  - Selector: 'touchesShouldBegin:withEvent:inContentView:'
+    SwiftName: touchesShouldBegin(_:with:in:)
+    MethodKind: Instance
+  - Selector: 'touchesShouldCancelInContentView:'
+    SwiftName: touchesShouldCancel(in:)
+    MethodKind: Instance
+- Name: UIStoryboardSegue
+  Properties:
+  - Name: sourceViewController
+    SwiftName: source
+  - Name: destinationViewController
+    SwiftName: destination
+- Name: UIStoryboardUnwindSegueSource
+  Properties:
+  - Name: sourceViewController
+    SwiftName: source
+- Name: UITextDragPreviewRenderer
+  Methods:
+  - Selector: 'adjustFirstLineRect:bodyRect:lastLineRect:textOrigin:'
+    SwiftName: adjust(firstLineRect:bodyRect:lastLineRect:textOrigin:)
+    MethodKind: Instance
+- Name: UIUserNotificationSettings
+  Methods:
+  - Selector: 'settingsForTypes:categories:'
+    SwiftName: init(types:categories:)
+    MethodKind: Class
+- Name: UIView
+  Methods:
+  - Selector: 'willMoveToWindow:'
+    SwiftName: willMove(toWindow:)
+    MethodKind: Instance
+  - Selector: 'viewWithTag:'
+    SwiftName: viewWithTag(_:)
+    MethodKind: Instance
+  - Selector: 'setNeedsDisplayInRect:'
+    SwiftName: setNeedsDisplay(_:)
+    MethodKind: Instance
+- Name: UIViewController
+  Properties:
+  - Name: presentedViewController
+    SwiftName: presentedViewController
+  - Name: presentingViewController
+    SwiftName: presentingViewController
+- Name: UIVibrancyEffect
+  Methods:
+  - Selector: 'effectForBlurEffect:'
+    SwiftName: init(blurEffect:)
+    MethodKind: Class
+- Name: UIWindow
+  Properties:
+  - Name: isKeyWindow
+    SwiftName: isKey
+  Methods:
+  - Selector: becomeKeyWindow
+    SwiftName: becomeKey()
+    MethodKind: Instance
+  - Selector: resignKeyWindow
+    SwiftName: resignKey()
+    MethodKind: Instance
+  - Selector: makeKeyWindow
+    SwiftName: makeKey()
+    MethodKind: Instance
+  - Selector: 'sendEvent:'
+    SwiftName: sendEvent(_:)
+    MethodKind: Instance
+- Name: UIGraphicsImageRendererFormat
+  Methods:
+  - Selector: 'formatForTraitCollection:'
+    SwiftName: init(for:)
+    MethodKind: Class
+- Name: UIDropProposal
+  Methods:
+  - Selector: 'initWithDropOperation:'
+    SwiftName: 'init(operation:)'
+    MethodKind: Instance
+- Name: UIPasteConfiguration
+  Methods:
+  - Selector: 'addTypeIdentifiersForAcceptingClass:'
+    SwiftName: 'addTypeIdentifiers(forAccepting:)'
+    MethodKind: Instance
+  - Selector: 'initWithTypeIdentifiersForAcceptingClass:'
+    MethodKind: Instance
+    SwiftName: 'init(forAccepting:)'
+Protocols:
+- Name: UIAppearance
+  Methods:
+  - Selector: 'appearanceWhenContainedInInstancesOfClasses:'
+    SwiftName: 'appearance(whenContainedInInstancesOf:)'
+    MethodKind: Class
+  - Selector: 'appearanceForTraitCollection:'
+    SwiftName: 'appearance(for:)'
+    MethodKind: Class
+  - Selector: 'appearanceForTraitCollection:whenContainedInInstancesOfClasses:'
+    SwiftName: 'appearance(for:whenContainedInInstancesOf:)'
+    MethodKind: Class
+- Name: UIActivityItemSource
+  Methods:
+  - Selector: 'activityViewController:itemForActivityType:'
+    MethodKind: Instance
+    Parameters:
+    - Position: 0
+      Nullability: N
+    - Position: 1
+      Nullability: O
+- Name: UIBarPositioningDelegate
+  Methods:
+  - Selector: 'positionForBar:'
+    SwiftName: position(for:)
+    MethodKind: Instance
+- Name: UIDocumentInteractionControllerDelegate
+  Methods:
+  - Selector: 'documentInteractionControllerViewControllerForPreview:'
+    SwiftName: documentInteractionControllerViewControllerForPreview(_:)
+    MethodKind: Instance
+  - Selector: 'documentInteractionControllerRectForPreview:'
+    SwiftName: documentInteractionControllerRectForPreview(_:)
+    MethodKind: Instance
+  - Selector: 'documentInteractionControllerViewForPreview:'
+    SwiftName: documentInteractionControllerViewForPreview(_:)
+    MethodKind: Instance
+  - Selector: 'documentInteractionControllerWillPresentOpenInMenu:'
+    SwiftName: documentInteractionControllerWillPresentOpenInMenu(_:)
+    MethodKind: Instance
+  - Selector: 'documentInteractionControllerDidDismissOpenInMenu:'
+    SwiftName: documentInteractionControllerDidDismissOpenInMenu(_:)
+    MethodKind: Instance
+- Name: UIDragInteractionDelegate
+  Methods:
+  - Selector: 'dragInteraction:previewForLiftingItem:session:'
+    SwiftName: 'dragInteraction(_:previewForLifting:session:)'
+    MethodKind: Instance
+  - Selector: 'dragInteraction:willAnimateLiftWithAnimator:session:'
+    SwiftName: 'dragInteraction(_:willAnimateLiftWith:session:)'
+    MethodKind: Instance
+  - Selector: 'dragInteraction:item:willAnimateCancelWithAnimator:'
+    SwiftName: 'dragInteraction(_:item:willAnimateCancelWith:)'
+    MethodKind: Instance
+- Name: UIDropInteractionDelegate
+  Methods:
+  - Selector: 'dropInteraction:item:willAnimateDropWithAnimator:'
+    SwiftName: 'dropInteraction(_:item:willAnimateDropWith:)'
+    MethodKind: Instance
+- Name: UINavigationControllerDelegate
+  Methods:
+  - Selector: 'navigationControllerPreferredInterfaceOrientationForPresentation:'
+    SwiftName: navigationControllerPreferredInterfaceOrientationForPresentation(_:)
+    MethodKind: Instance
+  - Selector: 'navigationController:interactionControllerForAnimationController:'
+    SwiftName: navigationController(_:interactionControllerFor:)
+    MethodKind: Instance
+- Name: UIPageViewControllerDelegate
+  Methods:
+  - Selector: 'pageViewControllerPreferredInterfaceOrientationForPresentation:'
+    SwiftName: pageViewControllerPreferredInterfaceOrientationForPresentation(_:)
+    MethodKind: Instance
+- Name: UIPasteConfigurationSupporting
+  Methods:
+  - Selector: 'pasteItemProviders:'
+    SwiftName: paste(itemProviders:)
+    MethodKind: Instance
+- Name: UIPopoverPresentationControllerDelegate
+  Methods:
+  - Selector: 'prepareForPopoverPresentation:'
+    SwiftName: prepareForPopoverPresentation(_:)
+    MethodKind: Instance
+- Name: UIScrollViewDelegate
+  Methods:
+  - Selector: 'scrollViewShouldScrollToTop:'
+    SwiftName: scrollViewShouldScrollToTop(_:)
+    MethodKind: Instance
+  - Selector: 'scrollViewDidScrollToTop:'
+    SwiftName: scrollViewDidScrollToTop(_:)
+    MethodKind: Instance
+- Name: UISearchControllerDelegate
+  Methods:
+  - Selector: 'willPresentSearchController:'
+    SwiftName: willPresentSearchController(_:)
+    MethodKind: Instance
+  - Selector: 'didPresentSearchController:'
+    SwiftName: didPresentSearchController(_:)
+    MethodKind: Instance
+  - Selector: 'willDismissSearchController:'
+    SwiftName: willDismissSearchController(_:)
+    MethodKind: Instance
+  - Selector: 'didDismissSearchController:'
+    SwiftName: didDismissSearchController(_:)
+    MethodKind: Instance
+  - Selector: 'presentSearchController:'
+    SwiftName: presentSearchController(_:)
+    MethodKind: Instance
+- Name: UISplitViewControllerDelegate
+  Methods:
+  - Selector: 'splitViewController:showDetailViewController:sender:'
+    SwiftName: splitViewController(_:showDetail:sender:)
+    MethodKind: Instance
+  - Selector: 'splitViewController:collapseSecondaryViewController:ontoPrimaryViewController:'
+    SwiftName: splitViewController(_:collapseSecondary:onto:)
+    MethodKind: Instance
+  - Selector: 'splitViewController:separateSecondaryViewControllerFromPrimaryViewController:'
+    SwiftName: splitViewController(_:separateSecondaryFrom:)
+    MethodKind: Instance
+  - Selector: 'splitViewControllerPreferredInterfaceOrientationForPresentation:'
+    SwiftName: splitViewControllerPreferredInterfaceOrientationForPresentation(_:)
+    MethodKind: Instance
+  - Selector: 'splitViewController:willShowViewController:invalidatingBarButtonItem:'
+    SwiftName: splitViewController(_:willShow:invalidating:)
+    MethodKind: Instance
+- Name: UITabBarControllerDelegate
+  Methods:
+  - Selector: 'tabBarControllerPreferredInterfaceOrientationForPresentation:'
+    SwiftName: tabBarControllerPreferredInterfaceOrientationForPresentation(_:)
+    MethodKind: Instance
+  - Selector: 'tabBarController:interactionControllerForAnimationController:'
+    SwiftName: tabBarController(_:interactionControllerFor:)
+    MethodKind: Instance
+- Name: UITextPasteItem
+  Methods:
+  - Selector: 'setStringResult:'
+    SwiftName: setResult(string:)
+    MethodKind: Instance
+  - Selector: 'setAttributedStringResult:'
+    SwiftName: setResult(attributedString:)
+    MethodKind: Instance
+  - Selector: 'setAttachmentResult:'
+    SwiftName: setResult(attachment:)
+    MethodKind: Instance
+- Name: UIViewControllerAnimatedTransitioning
+  Methods:
+  - Selector: 'transitionDuration:'
+    SwiftName: 'transitionDuration(using:)'
+    MethodKind: Instance
+  - Selector: 'animateTransition:'
+    SwiftName: 'animateTransition(using:)'
+    MethodKind: Instance
+  - Selector: 'interruptibleAnimatorForTransition:'
+    SwiftName: 'interruptibleAnimator(using:)'
+    MethodKind: Instance
+- Name: UIViewControllerTransitioningDelegate
+  Methods:
+  - Selector: 'animationControllerForPresentedController:presentingController:sourceController:'
+    SwiftName: 'animationController(forPresented:presenting:source:)'
+    MethodKind: Instance
+  - Selector: 'animationControllerForDismissedController:'
+    SwiftName: 'animationController(forDismissed:)'
+    MethodKind: Instance
+  - Selector: 'interactionControllerForPresentation:'
+    SwiftName: 'interactionControllerForPresentation(using:)'
+    MethodKind: Instance
+  - Selector: 'interactionControllerForDismissal:'
+    SwiftName: 'interactionControllerForDismissal(using:)'
+    MethodKind: Instance
+  - Selector: 'presentationControllerForPresentedViewController:presentingViewController:sourceViewController:'
+    SwiftName: 'presentationController(forPresented:presenting:source:)'
+    MethodKind: Instance
+Tags:
+- Name: NSTextLayoutOrientation
+  SwiftName: NSLayoutManager.TextLayoutOrientation
+- Name: NSGlyphProperty
+  SwiftName: NSLayoutManager.GlyphProperty
+- Name: NSControlCharacterAction
+  SwiftName: NSLayoutManager.ControlCharacterAction
+- Name: NSTypesetterBehavior
+  SwiftName: NSLayoutManager.TypesetterBehavior
+Typedefs:
+- Name: NSAttributedStringDocumentAttributeKey
+  SwiftName: NSAttributedString.DocumentAttributeKey
+- Name: NSAttributedStringDocumentReadingOptionKey
+  SwiftName: NSAttributedString.DocumentReadingOptionKey
+- Name: NSAttributedStringDocumentType
+  SwiftName: NSAttributedString.DocumentType
+- Name: NSTextEffectStyle
+  SwiftName: NSAttributedString.TextEffectStyle
+- Name: NSTextLayoutSectionKey
+  SwiftName: NSAttributedString.TextLayoutSectionKey
+- Name: NSTextTabOptionKey
+  SwiftName: NSTextTab.OptionKey
+- Name: UIFontDescriptorAttributeName
+  SwiftName: UIFontDescriptor.AttributeName
+- Name: UIFontDescriptorTraitKey
+  SwiftName: UIFontDescriptor.TraitKey
+- Name: UIFontDescriptorFeatureKey
+  SwiftName: UIFontDescriptor.FeatureKey
+- Name: UIFontWeight
+  SwiftName: UIFont.Weight
+Enumerators:
+- Name: NSLayoutFormatDirectionLeadingToTrailing
+  SwiftName: directionLeadingToTrailing
+- Name: UIViewAnimationOptionCurveEaseInOut
+  SwiftName: curveEaseInOut
+- Name: UIViewKeyframeAnimationOptionCalculationModeLinear
+  SwiftName: calculationModeLinear
+- Name: UIControlStateNormal
+  SwiftName: normal
+- Name: UIDocumentStateNormal
+  SwiftName: normal
+- Name: UIPrinterJobTypeUnknown
+  SwiftName: unknown
+- Name: UIUserInterfaceIdiomTV
+  SwiftName: tv
+- Name: UITextDragOptionStripTextColorFromPreviews
+  SwiftName: stripTextColorFromPreviews
+Globals:
+- Name: NSDirectionalEdgeInsetsZero
+  SwiftName: NSDirectionalEdgeInsets.zero
+- Name: UIStackViewSpacingUseDefault
+  SwiftName: UIStackView.spacingUseDefault
+- Name: UIStackViewSpacingUseSystem
+  SwiftName: UIStackView.spacingUseSystem
+- Name: NSFontAttributeName
+  SwiftName: font
+- Name: NSParagraphStyleAttributeName
+  SwiftName: paragraphStyle
+- Name: NSForegroundColorAttributeName
+  SwiftName: foregroundColor
+- Name: NSBackgroundColorAttributeName
+  SwiftName: backgroundColor
+- Name: NSLigatureAttributeName
+  SwiftName: ligature
+- Name: NSKernAttributeName
+  SwiftName: kern
+- Name: NSStrikethroughStyleAttributeName
+  SwiftName: strikethroughStyle
+- Name: NSUnderlineStyleAttributeName
+  SwiftName: underlineStyle
+- Name: NSStrokeColorAttributeName
+  SwiftName: strokeColor
+- Name: NSStrokeWidthAttributeName
+  SwiftName: strokeWidth 
+- Name: NSShadowAttributeName
+  SwiftName: shadow
+- Name: NSTextEffectAttributeName
+  SwiftName: textEffect 
+- Name: NSAttachmentAttributeName
+  SwiftName: attachment 
+- Name: NSLinkAttributeName
+  SwiftName: link 
+- Name: NSBaselineOffsetAttributeName
+  SwiftName: baselineOffset
+- Name: NSUnderlineColorAttributeName
+  SwiftName: underlineColor
+- Name: NSStrikethroughColorAttributeName
+  SwiftName: strikethroughColor
+- Name: NSObliquenessAttributeName
+  SwiftName: obliqueness
+- Name: NSExpansionAttributeName
+  SwiftName: expansion
+- Name: NSWritingDirectionAttributeName
+  SwiftName: writingDirection
+- Name: NSVerticalGlyphFormAttributeName
+  SwiftName: verticalGlyphForm
+- Name: NSPlainTextDocumentType
+  SwiftName: plain
+- Name: NSRTFTextDocumentType
+  SwiftName: rtf
+- Name: NSRTFDTextDocumentType
+  SwiftName: rtfd
+- Name: NSHTMLTextDocumentType
+  SwiftName: html
+- Name: NSDocumentTypeDocumentAttribute
+  SwiftName: documentType
+- Name: NSCharacterEncodingDocumentAttribute
+  SwiftName: characterEncoding
+- Name: NSDefaultAttributesDocumentAttribute
+  SwiftName: defaultAttributes
+- Name: NSPaperSizeDocumentAttribute
+  SwiftName: paperSize
+- Name: NSViewSizeDocumentAttribute
+  SwiftName: viewSize
+- Name: NSViewZoomDocumentAttribute
+  SwiftName: viewZoom
+- Name: NSViewModeDocumentAttribute
+  SwiftName: viewMode
+- Name: NSReadOnlyDocumentAttribute
+  SwiftName: readOnly
+- Name: NSBackgroundColorDocumentAttribute
+  SwiftName: backgroundColor
+- Name: NSHyphenationFactorDocumentAttribute
+  SwiftName: hyphenationFactor
+- Name: NSDefaultTabIntervalDocumentAttribute
+  SwiftName: defaultTabInterval
+- Name: NSTextLayoutSectionsAttribute
+  SwiftName: textLayoutSections
+- Name: NSTabColumnTerminatorsAttributeName
+  SwiftName: columnTerminators
+- Name: NSTextEffectLetterpressStyle
+  SwiftName: letterpressStyle
+- Name: NSPaperMarginDocumentAttribute 
+  SwiftName: paperMargin
+- Name: NSDocumentTypeDocumentOption
+  SwiftName: documentType
+- Name: NSDefaultAttributesDocumentOption
+  SwiftName: defaultAttributes
+- Name: NSCharacterEncodingDocumentOption
+  SwiftName: characterEncoding
+- Name: UIFontDescriptorFamilyAttribute
+  SwiftName: family
+- Name: UIFontDescriptorNameAttribute
+  SwiftName: name
+- Name: UIFontDescriptorFaceAttribute
+  SwiftName: face
+- Name: UIFontDescriptorSizeAttribute
+  SwiftName: size
+- Name: UIFontDescriptorVisibleNameAttribute
+  SwiftName: visibleName
+- Name: UIFontDescriptorMatrixAttribute
+  SwiftName: matrix
+- Name: UIFontDescriptorCharacterSetAttribute
+  SwiftName: characterSet
+- Name: UIFontDescriptorCascadeListAttribute
+  SwiftName: cascadeList
+- Name: UIFontDescriptorTraitsAttribute
+  SwiftName: traits
+- Name: UIFontDescriptorFixedAdvanceAttribute
+  SwiftName: fixedAdvance
+- Name: UIFontDescriptorFeatureSettingsAttribute
+  SwiftName: featureSettings
+- Name: UIFontDescriptorTextStyleAttribute
+  SwiftName: textStyle
+- Name: UIFontSymbolicTrait
+  SwiftName: symbolic
+- Name: UIFontWeightTrait
+  SwiftName: weight
+- Name: UIFontWidthTrait
+  SwiftName: width
+- Name: UIFontSlantTrait
+  SwiftName: slant
+- Name: UIFontFeatureTypeIdentifierKey
+  SwiftName: featureIdentifier
+- Name: UIFontFeatureSelectorIdentifierKey
+  SwiftName: typeIdentifier
+- Name: UIFontWeightUltraLight
+  SwiftName: ultraLight
+- Name: UIFontWeightThin
+  SwiftName: thin
+- Name: UIFontWeightLight
+  SwiftName: light
+- Name: UIFontWeightRegular
+  SwiftName: regular
+- Name: UIFontWeightMedium
+  SwiftName: medium
+- Name: UIFontWeightSemibold
+  SwiftName: semibold
+- Name: UIFontWeightBold
+  SwiftName: bold
+- Name: UIFontWeightHeavy
+  SwiftName: heavy
+- Name: UIFontWeightBlack
+  SwiftName: black
+Functions:
+- Name: NSDirectionalEdgeInsetsMake
+  Availability: nonswift
+- Name: NSDirectionalEdgeInsetsEqualToDirectionalEdgeInsets
+  Availability: nonswift
+#
+# Swift 3 specific conversions
+#
+SwiftVersions:
+- Version: 3
+  Classes:
+  - Name: NSLayoutConstraint
+    Properties:
+    - Name: firstItem
+      Nullability: U
+  - Name: UIKeyCommand
+    Properties:
+    - Name: input
+      Nullability: N
+  - Name: NSString
+    Methods:
+    - Selector: 'sizeWithAttributes:'
+      SwiftName: size(attributes:)
+      MethodKind: Instance
+  Protocols:
+  - Name: UIActivityItemSource
+    Methods:
+    - Selector: 'activityViewController:itemForActivityType:'
+      MethodKind: Instance
+      Parameters:
+      - Position: 0
+        Nullability: N
+      - Position: 1
+        Nullability: N
+  Tags:
+  - Name: NSTextLayoutOrientation
+    SwiftName: NSTextLayoutOrientation
+  - Name: NSGlyphProperty
+    SwiftName: NSGlyphProperty
+  - Name: NSControlCharacterAction
+    SwiftName: NSControlCharacterAction
+  - Name: NSTypesetterBehavior
+    SwiftName: NSTypesetterBehavior
+  Typedefs:
+  - Name: NSAttributedStringDocumentAttributeKey
+    SwiftWrapper: none
+  - Name: NSAttributedStringDocumentType
+    SwiftWrapper: none
+  - Name: NSTextLayoutSectionKey
+    SwiftWrapper: none
+  - Name: NSTextEffectStyle
+    SwiftWrapper: none
+  - Name: NSTextTabOptionKey
+    SwiftWrapper: none
+  - Name: NSAttributedStringDocumentReadingOptionKey
+    SwiftWrapper: none
+    Availability: nonswift
+  - Name: UIFontDescriptorAttributeName
+    SwiftWrapper: none
+  - Name: UIFontDescriptorTraitKey
+    SwiftWrapper: none
+  - Name: UIFontDescriptorFeatureKey
+    SwiftWrapper: none
+  - Name: UIFontWeight
+    SwiftWrapper: none
+  - Name: UILayoutPriority
+    SwiftWrapper: none
+  Globals:
+  - Name: NSFontAttributeName
+    SwiftName: NSFontAttributeName
+  - Name: NSParagraphStyleAttributeName
+    SwiftName: NSParagraphStyleAttributeName
+  - Name: NSForegroundColorAttributeName
+    SwiftName: NSForegroundColorAttributeName
+  - Name: NSBackgroundColorAttributeName
+    SwiftName: NSBackgroundColorAttributeName
+  - Name: NSLigatureAttributeName
+    SwiftName: NSLigatureAttributeName
+  - Name: NSKernAttributeName
+    SwiftName: NSKernAttributeName
+  - Name: NSStrikethroughStyleAttributeName
+    SwiftName: NSStrikethroughStyleAttributeName
+  - Name: NSUnderlineStyleAttributeName 
+    SwiftName: NSUnderlineStyleAttributeName
+  - Name: NSStrokeColorAttributeName 
+    SwiftName: NSStrokeColorAttributeName
+  - Name: NSStrokeWidthAttributeName
+    SwiftName: NSStrokeWidthAttributeName
+  - Name: NSShadowAttributeName 
+    SwiftName: NSShadowAttributeName 
+  - Name: NSTextEffectAttributeName
+    SwiftName: NSTextEffectAttributeName 
+  - Name: NSAttachmentAttributeName
+    SwiftName: NSAttachmentAttributeName
+  - Name: NSLinkAttributeName 
+    SwiftName: NSLinkAttributeName
+  - Name: NSBaselineOffsetAttributeName
+    SwiftName: NSBaselineOffsetAttributeName
+  - Name: NSUnderlineColorAttributeName
+    SwiftName: NSUnderlineColorAttributeName
+  - Name: NSStrikethroughColorAttributeName
+    SwiftName: NSStrikethroughColorAttributeName
+  - Name: NSObliquenessAttributeName
+    SwiftName: NSObliquenessAttributeName
+  - Name: NSExpansionAttributeName
+    SwiftName: NSExpansionAttributeName
+  - Name: NSWritingDirectionAttributeName
+    SwiftName: NSWritingDirectionAttributeName
+  - Name: NSVerticalGlyphFormAttributeName 
+    SwiftName: NSVerticalGlyphFormAttributeName
+  - Name: NSPlainTextDocumentType 
+    SwiftName: NSPlainTextDocumentType
+  - Name: NSRTFTextDocumentType 
+    SwiftName: NSRTFTextDocumentType
+  - Name: NSRTFDTextDocumentType 
+    SwiftName: NSRTFDTextDocumentType
+  - Name: NSHTMLTextDocumentType 
+    SwiftName: NSHTMLTextDocumentType
+  - Name: NSDocumentTypeDocumentAttribute 
+    SwiftName: NSDocumentTypeDocumentAttribute
+  - Name: NSCharacterEncodingDocumentAttribute 
+    SwiftName: NSCharacterEncodingDocumentAttribute
+  - Name: NSDefaultAttributesDocumentAttribute 
+    SwiftName: NSDefaultAttributesDocumentAttribute
+  - Name: NSPaperSizeDocumentAttribute
+    SwiftName: NSPaperSizeDocumentAttribute
+  - Name: NSViewSizeDocumentAttribute
+    SwiftName: NSViewSizeDocumentAttribute
+  - Name: NSViewZoomDocumentAttribute
+    SwiftName: NSViewZoomDocumentAttribute
+  - Name: NSViewModeDocumentAttribute
+    SwiftName: NSViewModeDocumentAttribute
+  - Name: NSReadOnlyDocumentAttribute
+    SwiftName: NSReadOnlyDocumentAttribute
+  - Name: NSBackgroundColorDocumentAttribute
+    SwiftName: NSBackgroundColorDocumentAttribute
+  - Name: NSHyphenationFactorDocumentAttribute
+    SwiftName: NSHyphenationFactorDocumentAttribute
+  - Name: NSDefaultTabIntervalDocumentAttribute
+    SwiftName: NSDefaultTabIntervalDocumentAttribute
+  - Name: NSTextLayoutSectionsAttribute
+    SwiftName: NSTextLayoutSectionsAttribute
+  - Name: NSTabColumnTerminatorsAttributeName
+    SwiftName: NSTabColumnTerminatorsAttributeName
+  - Name: NSTextEffectLetterpressStyle
+    SwiftName: NSTextEffectLetterpressStyle
+  - Name: NSPaperMarginDocumentAttribute 
+    SwiftName: NSPaperMarginDocumentAttribute
+  - Name: NSDocumentTypeDocumentOption
+    Availability: nonswift
+  - Name: NSDefaultAttributesDocumentOption
+    Availability: nonswift
+  - Name: NSCharacterEncodingDocumentOption
+    Availability: nonswift
+  - Name: UIFontDescriptorFamilyAttribute
+    SwiftName: UIFontDescriptorFamilyAttribute
+  - Name: UIFontDescriptorNameAttribute
+    SwiftName: UIFontDescriptorNameAttribute
+  - Name: UIFontDescriptorFaceAttribute
+    SwiftName: UIFontDescriptorFaceAttribute
+  - Name: UIFontDescriptorSizeAttribute
+    SwiftName: UIFontDescriptorSizeAttribute
+  - Name: UIFontDescriptorVisibleNameAttribute
+    SwiftName: UIFontDescriptorVisibleNameAttribute
+  - Name: UIFontDescriptorMatrixAttribute
+    SwiftName: UIFontDescriptorMatrixAttribute
+  - Name: UIFontDescriptorCharacterSetAttribute
+    SwiftName: UIFontDescriptorCharacterSetAttribute
+  - Name: UIFontDescriptorCascadeListAttribute
+    SwiftName: UIFontDescriptorCascadeListAttribute
+  - Name: UIFontDescriptorTraitsAttribute
+    SwiftName: UIFontDescriptorTraitsAttribute
+  - Name: UIFontDescriptorFixedAdvanceAttribute
+    SwiftName: UIFontDescriptorFixedAdvanceAttribute
+  - Name: UIFontDescriptorFeatureSettingsAttribute
+    SwiftName: UIFontDescriptorFeatureSettingsAttribute
+  - Name: UIFontDescriptorTextStyleAttribute
+    SwiftName: UIFontDescriptorTextStyleAttribute
+  - Name: UIFontSymbolicTrait
+    SwiftName: UIFontSymbolicTrait
+  - Name: UIFontWeightTrait
+    SwiftName: UIFontWeightTrait
+  - Name: UIFontWidthTrait
+    SwiftName: UIFontWidthTrait
+  - Name: UIFontSlantTrait
+    SwiftName: UIFontSlantTrait
+  - Name: UIFontFeatureTypeIdentifierKey
+    SwiftName: UIFontFeatureTypeIdentifierKey
+  - Name: UIFontFeatureSelectorIdentifierKey
+    SwiftName: UIFontFeatureSelectorIdentifierKey
+  - Name: UIFontWeightUltraLight
+    SwiftName: UIFontWeightUltraLight
+  - Name: UIFontWeightThin
+    SwiftName: UIFontWeightThin
+  - Name: UIFontWeightLight
+    SwiftName: UIFontWeightLight
+  - Name: UIFontWeightRegular
+    SwiftName: UIFontWeightRegular
+  - Name: UIFontWeightMedium
+    SwiftName: UIFontWeightMedium
+  - Name: UIFontWeightSemibold
+    SwiftName: UIFontWeightSemibold
+  - Name: UIFontWeightBold
+    SwiftName: UIFontWeightBold
+  - Name: UIFontWeightHeavy
+    SwiftName: UIFontWeightHeavy
+  - Name: UIFontWeightBlack
+    SwiftName: UIFontWeightBlack
diff -ruN /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h /Applications/Xcode9-beta1.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h
--- /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h	2016-09-23 21:28:34.000000000 -0400
+++ /Applications/Xcode9-beta1.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h	2017-05-30 01:57:43.000000000 -0400
@@ -14,6 +14,10 @@
 
 #import <UIKit/UIAccessibilityConstants.h>
 
+#if __has_include(<UIKit/UIAccessibilityContentSizeCategoryImageAdjusting.h>)
+#import <UIKit/UIAccessibilityContentSizeCategoryImageAdjusting.h>
+#endif
+
 #if __has_include(<UIKit/UIActivityIndicatorView.h>)
 #import <UIKit/UIActivityIndicatorView.h>
 #import <UIKit/UIActivity.h>
@@ -58,12 +62,16 @@
 #import <UIKit/UIDocumentPickerExtensionViewController.h>
 #import <UIKit/UICloudSharingController.h>
 #import <UIKit/NSFileProviderExtension.h>
+#import <UIKit/UIVisualEffect.h>
+#import <UIKit/UIBlurEffect.h>
+#import <UIKit/UIVibrancyEffect.h>
 #import <UIKit/UIVisualEffectView.h>
 #import <UIKit/UIEvent.h>
 #endif
 
 #import <UIKit/UIFont.h>
 #import <UIKit/UIFontDescriptor.h>
+#import <UIKit/UIFontMetrics.h>
 #import <UIKit/UIGeometry.h>
 
 #if __has_include(<UIKit/UIGestureRecognizer.h>)
@@ -98,8 +106,10 @@
 #import <UIKit/UIApplicationShortcutItem.h>
 #import <UIKit/UIUserNotificationSettings.h>
 #import <UIKit/UIFocus.h>
+#import <UIKit/UIFocusSystem.h>
 #import <UIKit/UIFocusGuide.h>
 #import <UIKit/UIFocusAnimationCoordinator.h>
+#import <UIKit/UIFocusDebugger.h>
 #import <UIKit/UILocalizedIndexedCollation.h>
 #import <UIKit/UILongPressGestureRecognizer.h>
 #import <UIKit/UIManagedDocument.h>
@@ -114,6 +124,8 @@
 #import <UIKit/UIPageViewController.h>
 #import <UIKit/UIPanGestureRecognizer.h>
 #import <UIKit/UIPasteboard.h>
+#import <UIKit/UIPasteConfiguration.h>
+#import <UIKit/UIPasteConfigurationSupporting.h>
 #import <UIKit/UIPickerView.h>
 #import <UIKit/UIPinchGestureRecognizer.h>
 #import <UIKit/UIPopoverController.h>
@@ -172,10 +184,26 @@
 #import <UIKit/UIViewController.h>
 #import <UIKit/UIWebView.h>
 #import <UIKit/UIWindow.h>
+
+#import <UIKit/UIDragInteraction.h>
+#import <UIKit/UIDragItem.h>
+#import <UIKit/UIDragPreview.h>
+#import <UIKit/UIDragPreviewParameters.h>
+#import <UIKit/UIDragSession.h>
+#import <UIKit/UIDropInteraction.h>
+#import <UIKit/UIInteraction.h>
+#import <UIKit/UITargetedDragPreview.h>
+#import <UIKit/UISpringLoadedInteraction.h>
+#import <UIKit/UISpringLoadedInteractionSupporting.h>
+
 #endif
 
 #import <UIKit/NSAttributedString.h>
 
+#if __has_include(<UIKit/NSItemProvider+UIKitAdditions.h>)
+#import <UIKit/NSItemProvider+UIKitAdditions.h>
+#endif
+
 #if __has_include(<UIKit/NSLayoutConstraint.h>)
 #import <UIKit/NSLayoutConstraint.h>
 #import <UIKit/NSLayoutAnchor.h>
@@ -186,6 +214,7 @@
 
 #import <UIKit/NSParagraphStyle.h>
 
+
 #if __has_include(<UIKit/NSShadow.h>)
 #import <UIKit/NSShadow.h>
 #endif
@@ -215,6 +244,15 @@
 #import <UIKit/UIRegion.h>
 #endif
 
+#if __has_include(<UIKit/UITextDragging.h>)
+#import <UIKit/UITextDragging.h>
+#import <UIKit/UITextDropping.h>
+#import <UIKit/UITextDropProposal.h>
+#import <UIKit/UITextDragPreviewRenderer.h>
+#import <UIKit/UITextDragURLPreviews.h>
+#import <UIKit/UIURLDragPreviewView.h>
+#endif
+
 #if __has_include(<UIKit/UIViewPropertyAnimator.h>)
 #import <UIKit/UIViewPropertyAnimator.h>
 #endif
@@ -225,3 +263,7 @@
 #import <UIKit/UIImpactFeedbackGenerator.h>
 #import <UIKit/UINotificationFeedbackGenerator.h>
 #endif
+
+#if __has_include(<DocumentManager/DocumentManager.h>)
+#import <DocumentManager/DocumentManager.h>
+#endif
Clone this wiki locally