schriftgestalt / GlyphsSDK

Scripting SDK for Glyphs
Apache License 2.0
89 stars 37 forks source link

"Implementing unavailable method" #45

Closed Mark2Mark closed 3 years ago

Mark2Mark commented 3 years ago

With the Glyphs 3 Templates > Reporter

The default GlyphsCore framework works, as long as the Framework search path is adjusted to "Glyphs 3" (as in #44). However, the Framework in the file browser is marked red, and the compiler complains Implementing unavailable method for the following methods: - (void) drawForegroundForLayer:(GSLayer*)Layer - (void) drawBackgroundForLayer:(GSLayer*)Layer - (void) drawBackgroundForInactiveLayer:(GSLayer*)Layer

Dragging (copy items if needed) the framework from a current Glyphs 3 package solves the red framework, but does not solve those error messages.

I guess they should to default to: - (void)drawForegroundForLayer:(GSLayer *)layer options:(NSDictionary *)options - (void)drawBackgroundForLayer:(GSLayer *)layer options:(NSDictionary *)options - (void) drawBackgroundForInactiveLayer:(GSLayer *)layer options:(NSDictionary *)options