Skip to content
This repository was archived by the owner on Apr 19, 2021. It is now read-only.
This repository was archived by the owner on Apr 19, 2021. It is now read-only.

Why the class can't be recognized when i try to add a picker cell with two component? #22

Closed
@RainbowMango

Description

@RainbowMango

I add a new swift file like 'FormPickerCell' named 'FormTwoComponentPickerCell'. I want to use picker with two components.
I extend FormRowType also as follows
enum FormRowType {
...
case Picker
case TwoComponentPicker
...
}

When i add this new class to FormViewController in function defaultCellClassForRowType like
Static.defaultCellClasses[FormRowType.TwoComponentPicker] = FormTwoComponentPickerCell.self

Xcode says 'Use of unresolved identifier 'FormTwoComponentPickerCell''.
By the way, the new class added just the same as FormPickerCell except class name.

Could any one give me a hit? thanks.

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