No more `private init` in Swift?

Viewed 7520

I saw a number of references to using private init in Swift to restrict object construction (e.g. this), yet it does not seem to be possible when I try (in Xcode 7.2.1 Playground):

class C {
    private init() {}
}

var c = C() // No errors.

Am I missing something or is this actually a bug?

1 Answers
Related