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

Parametric types #19

Open
jkrumbiegel opened this issue Mar 23, 2023 · 1 comment
Open

Parametric types #19

jkrumbiegel opened this issue Mar 23, 2023 · 1 comment

Comments

@jkrumbiegel
Copy link

In my ScriptingBridge project, some properties are SBElementArrays where the element type is known. I don't think there's a way right now to map that, correct? At least variations of @objcwrapper MyArray{T<:Integer} <: NSArray don't work. Would be nice to have something like that, because currently I have to manually reinterpret the id{NSObject}s to what I know they really are.

@maleadt
Copy link
Member

maleadt commented Apr 12, 2023

Yeah, that's not supported now. The NSArray wrapper also suffers from this, hence it returning an id too.

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

2 participants