Skip to content

NSArray.arrayWithObjects and NSDictionary.dictionaryWithObjectsAndKeys not working in 10.13 #48

Description

@bomberstudios

In 10.12, these two work as expected:

var a = NSArray.arrayWithObjects('a', 'b', 'c', nil)
var dict = NSDictionary.dictionaryWithObjectsAndKeys('key1', 'object1', nil);

However, in 10.13, I'm getting:

ObjC method arrayWithObjects: requires 1 argument, but JavaScript passed 4 arguments
ObjC method dictionaryWithObjectsAndKeys: requires 1 argument, but JavaScript passed 3 arguments

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions