Extensions in Swift can:

Extension은 타입에 새 기능을 추가할 수 있지만 기존 기능을 재정의할 수는 없음.

Extension Syntax

extension SomeType {
    // new functionality to add to SomeType goes here
}
extension SomeType: SomeProtocol, AnotherProtocol {
    // implementation of protocol requirements goes here
}

기존 타입에 새로운 기능을 추가하기 위해 확장을 정의한다면 새로운 기능은 확장이 정의되기 전에 생성되었어도 기존에 인스턴스에서 사용 가능****

Computed Properties