Translations: 简体中文
The sketch3compat directory provides some utility functions, utility classes, and alias classes that are compatible with the sketch3 API, which can help you adapt to sketch4 more easily. You can copy them directly into your project.
- DownloadRequest: You can use
Sketch.executeDownload(ImageRequest)
orSketch.enqueueDownload(ImageRequest)
instead - LoadRequest: Just don’t set
target
Other migration details are being gradually improved.