![]() Var layerArray = MSLayerArray. Var layerArray = MSLayerArray.arrayWithLayers() Var layerArray = MSLayerArray.arrayWithLayer(layer) If your plugin uses code similar to this… You can check the value of BCSketchInfo.shared().metadata().appVersion to see what the current version is. Amazing Weed Farm Anecdote Overdose Graffiti Graffiti Alphabet Crowter Banksy Graffiti - Adove of Peace Strapped with a B. Note: when making changes to your plugin, you may want to add a version check to ensure that the code keeps working with older versions of Sketch. Graffiti Alphabet By YK South Banksy Graffiti - Critics Inside a Graffiti Art Pi. If you feel something is missing from our API, please submit feedback and feature requests!. We recommend using the JavaScript API where possible. They may even crash Sketch if they’re passing the returned value unchecked to other parts of the plugin code.Ĭheck the table in the next section for examples of how to migrate your code. Plugins relying on any of the internal methods in MSLayerArray will not work. layers() method to get an NSArray with the layers, will now receive an NSArray object. But we are aware that some plugins use it, and we’re providing this information to help them migrate their code to use the new APIs.Ĭode expecting an MSLayerArray object, and using its. This change made our internal code cleaner and easier to maintain by removing an unnecessary layer of abstraction.Īs mentioned in our Internal API page, this is an internal class that should never be used. Code that dealt with layer arrays now uses regular NSArray objects instead. We removed the internal class MSLayerArray from our codebase. We offer these notes as a preview of the upcoming changes to plugin developers.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |