Skip to content

[Swift] Implement new Concept Exercise: inheritance #415

@wneumann

Description

@wneumann

This issue describes how to implement the inheritance concept exercise for the Swift track.

Getting started

Please please please read the docs before starting. Posting PRs without reading these docs will be a lot more frustrating for you during the review cycle, and exhaust Exercism's maintainers' time. So, before diving into the implementation, please read the following documents:

Please also watch the following video:

Goal

This concept exercise should convey a basic understanding of how to do class inheritance in Swift.

Things to teach

  • Base classes
  • Subclassing
  • Overriding properties and methods
  • Accessing superclass properties and methods
  • Preventing overriding with final

Things not to teach

  • Type casting

Concepts

  • inheritance

Prerequisites

  • structs-and-classes
  • properties
  • methods

Resources to refer to

Hints

After

Representer

TBD

Analyzer

TBD

Implementing

See the Swift track implementation guide for guidance.

Help

If you have any questions while implementing the exercise, please post the questions as comments in this issue.

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