Skip to content
This repository was archived by the owner on Feb 8, 2023. It is now read-only.
This repository was archived by the owner on Feb 8, 2023. It is now read-only.

Global Events sent to all instances #10

@IanKeen

Description

@IanKeen

If I create multiple DDHotKeyTextField's programmatically they appear to all update when a hotkey combination is pressed.

    DDHotKeyTextField *t = [[DDHotKeyTextField alloc] initWithFrame:NSMakeRect(0, 0, 100, 25)];
    [self.textFieldContainer addSubview:t];

    DDHotKeyTextField *t2 = [[DDHotKeyTextField alloc] initWithFrame:NSMakeRect(0, 25, 100, 25)];
    [self.textFieldContainer addSubview:t2];

With this code in a viewWillAppear I can click into each of the textfields and when I press a combination of keys they both update

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