While working in Swift, we usually see this error “Class ViewController has no initializers”. It’s not specifically for ViewController rather it can be related to any of our class. It’s a compile-time error we usually face in Xcode. In this article, we will discuss the reason for this error and then its solution. Reason for […]