File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -93,8 +93,15 @@ typedef enum SSYVectorImageStyles_enum SSYVectorImageStyle ;
93
93
and inset parameters. It's a todo. UPDATE: Actually I will never DO this
94
94
TODO, because…
95
95
96
- This class should not be used for new designs deployed to macOS 10.15 or iOS
97
- 13 or later. Use Apple's SF Symbols instead.
96
+ This class should maybe not be initially used for new designs deployed to
97
+ macOS 10.15 or iOS 13 or later. Consider using Apple's SF Symbols instead.
98
+ Unfortunately it is a lot more complicated. For example, the code to just
99
+ draw a triangle in this class is about 700 characters. The .svg file to
100
+ draw a triangle compatible with SF Symbols is about 27,000 characters, and
101
+ you are probably going to need an SVG editor app. I tried this and found
102
+ another issue – you need to actually copy your symbols 26 times to make the
103
+ 27 images. But you also get nice rounded corners, 27 different variations,
104
+ guides for text. Pick your poison.
98
105
*/
99
106
+ (NSImage *)imageStyle : (SSYVectorImageStyle)style
100
107
wength : (CGFloat )wength
You can’t perform that action at this time.
0 commit comments