Skip to content

Can't have NSString and NSNumber as values in an NSDictionary #306

@mwcampbell

Description

@mwcampbell

I don't see a way to create an NSDictionary with an NSString and an NSNumber as values, because the public Rust API for NSDictionary requires values to be Owned references, and this isn't possible for NSString and NSNumber. This blocks me from posting announcement notifications in the AccessKit macOS adapter, unless I use an unsafe workaround.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-frameworkAffects the framework crates and the translator for thembugSomething isn't working

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions