Skip to content

IB integrator generates wrong class name for empty @CustomClass, doesn't support structs in IBInspectable #230

@dkimitsa

Description

@dkimitsa

currently interface builder integration plugin generate wrong class name if class is annotated with @CustomClass without specifying the name. E.g.
package com.path;
@CustomClass
class Test extends UIView
will generate obj-c class Test instead of j_com_path_Test. last one is expected by runtime.
As result iOS will not be able to create subclass.

Also IB doesn't support generating outlets/IBInspectable for Struct classes such as CGRect/CGSize/CGPoint/NSRange

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions