Skip to content

Support bracket notation on Obj-C collections #1444

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

Open
stuartmorgan-g opened this issue Aug 22, 2024 · 1 comment · May be fixed by #2234
Open

Support bracket notation on Obj-C collections #1444

stuartmorgan-g opened this issue Aug 22, 2024 · 1 comment · May be fixed by #2234

Comments

@stuartmorgan-g
Copy link

It would be very nice, and far more idiomatic, to be able to write someNSMutableDictionary[key] = value; the way I can in Obj-C, rather than having to use someNSMutableDictionarysetObject_forKey_(value, key); (which is a construction that basically nobody uses in modern Obj-C development).

Similarly for NSMutableArray.

@liamappelbe
Copy link
Contributor

Yeah. package:jni has good support for collections. We need the same thing in package:objective_c

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

Successfully merging a pull request may close this issue.

2 participants