Skip to content

Avoid objective-C RTTI (Run-Time Type information) code in engine #126868

Description

@cyanglaz

We shy away from RTTI-ish things in the engine. We should try to do the same for Objective-Code, such as isKindOfClass type checks.
Reasoning: https://google.github.io/styleguide/cppguide.html#Run-Time_Type_Information__RTTI_

An example: https://github.com/flutter/engine/blob/main/shell/platform/darwin/ios/framework/Source/FlutterViewController.mm#L1626

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectengineflutter/engine related. See also e: labels.platform-iosiOS applications specificallyplatform-macosBuilding on or for macOS specificallyteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions