Skip to content

Generated interface for HRLMatrixDataSource is not satisfactory #3

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
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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