Skip to content

Why not just place data source methods into a superclass? #5

@krisanthony

Description

@krisanthony

I'm at a loss to the advantage here. Seems to me you'd have the same amount of code, and the same number of files if you just moved the code to a superclass rather than another object.

Ex:
superclass with photoDataSource methods
subclass
2 files

object with photoDataSource methods
uiviewcontroller with object set as datasource
2 files

Is there an advantage I am missing to not just placing all the photoDataSource methods into a superclass rather than a separate object?

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