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

Add automated resource loading of icon-images #15

Closed
julianrex opened this issue Jun 28, 2019 · 1 comment
Closed

Add automated resource loading of icon-images #15

julianrex opened this issue Jun 28, 2019 · 1 comment

Comments

@julianrex
Copy link

See mapbox/mapbox-plugins-android#1000 (comment) and @fabian-guerra's subsequent comment.

Because we use a delegate method to handle this we'd need to either:

  • add an object that can intercept and forward delegate methods
  • or add hooks to the SDK (either at the core or iOS level) that an extension could use to provide this behavior.

I favor the latter - and this could be considered as a part of a larger extension integration effort, though it would be straight-forward to add a custom delegate object (and even easier just to add something to the SDK).

Another interesting option in the mean-time might be to use class_addMethod to add default functionality to an existing class/delegate - and this could be done via an extension. Though this might be a bit too "magic".

@julianrex
Copy link
Author

Closing as stale.

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

No branches or pull requests

1 participant