Skip to content

Generated interface for HRLMatrixDataSource is not satisfactory #3

@indisoluble

Description

@indisoluble

ObjC interface for HRLMatrixDataSource:

@protocol HRLMatrixDataSource <NSObject>
...
- (HRLValue)valueAtRow:(HRLSize)row column:(HRLSize)column;
- (HRLClass)classForRow:(HRLSize)row;
@end

Looks like this in Swift:

public protocol HRLMatrixDataSource : NSObjectProtocol {
...
    public func value(atRow row: HRLSize, column: HRLSize) -> HRLValue
    public func `class`(forRow row: HRLSize) -> UInt
}

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