Skip to content
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

Refactor for loops to use Objective-C iterators #2

Open
zhifengkoh opened this issue Jul 10, 2015 · 1 comment
Open

Refactor for loops to use Objective-C iterators #2

zhifengkoh opened this issue Jul 10, 2015 · 1 comment
Assignees
Milestone

Comments

@zhifengkoh
Copy link
Owner

For the speeds

@zhifengkoh zhifengkoh self-assigned this Jul 10, 2015
@zhifengkoh zhifengkoh added this to the 1.0 milestone Jul 10, 2015
@zhifengkoh
Copy link
Owner Author

This does not seem to be possible upon first attempt.

An Objective-C iterator can be constructed for context.selection, which has a class of __NSArrayI. However, I am attempting to use this for artboard.layers(), which has a class of MSArray. MSArray does not appear to implement the objectEnumerator method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant