Skip to content

Instance properties defined by protocol on superclass are not autodiscovered #96

Open
@freakboy3742

Description

@freakboy3742

On iOS, UITextField defines a keyboardType property. However, this property doesn't appear to get picked up by Rubicon.

Other properties (like borderStyle) work fine.

If you manually invoke send_message(obj, 'setKeyboardType:', ...), it works, too.

So - there's evidently something about the property discovery process.

A little digging revealed that the keyboardType() and setKeyboardType() accessor and mutator aren't found by cache_property_methods(). This may be due to the fact that they're defined on the UITextInputTraits protocol, rather than on a direct superclass of UITextField.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew features, or improvements to existing features.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions