Share a singleton shadower for all cases when shadow isn't drawn, fix issues (#2511)

This commit is contained in:
Adlai Holler
2016-10-30 15:34:29 -07:00
committed by appleguy
parent 611894329a
commit 3eb7a307fa
8 changed files with 54 additions and 35 deletions

View File

@@ -59,7 +59,7 @@ struct ASTextKitAttributes {
/**
An array of UIBezierPath objects representing the exclusion paths inside the receiver's bounding rectangle. Default value: nil.
*/
NSArray *exclusionPaths;
NSArray<UIBezierPath *> *exclusionPaths;
/**
The shadow offset for any shadows applied to the text. The coordinate space for this is the same as UIKit, so a
positive width means towards the right, and a positive height means towards the bottom.