-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't set row count in NSTableViewDataSource using MochaJSDelegate #10
Comments
Can you share the code you're using? |
I use this code for create NSTableView in cocoascript:
|
So |
No, i haven't figure out it where 2135 is coming from and i still get that result after remove the delegate |
Here's an example of where someone else achieved this: https://github.com/onmyway133/Sketch-Action/blob/7eea7084c6312d851b904d07630b12b601455714/SketchAction.sketchplugin/Contents/Sketch/ui.js |
@matt-curtis this example doesn't work or does not rely on Cocoascript. Actually this plugin creates NSTableView by framework (you can comment "@import ui.js" and nothing breaks) |
Hmm, so presumably you couldn't get the code in |
Thanks for the answer! I've tried |
@timurnurutdinov You can pull in Sketch's Headers to solve that. |
Hi, I'm trying to use NSTableView in sketch plugin, but can't to set row count in NSTableViewDataSource using MochaJSDelegate. How to use it in NSTableViewDataSource?
Thanks
The text was updated successfully, but these errors were encountered: