From a5e43f027297f8f5b83304a02354c2d3f75d0bc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguye=CC=82=CC=83n?= Date: Sun, 8 Jan 2017 16:51:41 -0800 Subject: [ios, macos] Note reversed order in NS/UIEdgeInsets --- platform/macos/docs/guides/For Style Authors.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'platform/macos/docs/guides') diff --git a/platform/macos/docs/guides/For Style Authors.md b/platform/macos/docs/guides/For Style Authors.md index a4fd7ee9c4..c58cb4badc 100644 --- a/platform/macos/docs/guides/For Style Authors.md +++ b/platform/macos/docs/guides/For Style Authors.md @@ -262,6 +262,11 @@ Array (`-font`) | `NSArray` | `[String]` Array (`-offset`, `-translate`) | `NSValue` containing `CGVector` | `NSValue` containing `CGVector` Array (`-padding`) | `NSValue.edgeInsetsValue` | `NSValue.edgeInsetsValue` +For padding attributes, note that the arguments to +`NSEdgeInsetsMake()` in Objective-C and +`EdgeInsets(top:left:bottom:right:)` in Swift are specified in counterclockwise +order, in contrast to the clockwise order defined by the style specification. + ## Filtering sources You can filter a shape or vector source by setting the -- cgit v1.2.1