I followed the Ray Wenderlich MapKit tutorial in swift: http://www.raywenderlich.com/90971/introduction-mapkit-swift-tutorial and when I created Artwork class I got the error written in the title. I don't know what I have to do. This is the code:
class Artwork: NSObject, MKAnnotation {
let title: String
let locationName: String
let discipline: String
let coordinate: CLLocationCoordinate2D
init(title: String, locationName: String, discipline: String, coordinate: CLLocationCoordinate2D) {
self.title = title
self.locationName = locationName
self.discipline = discipline
self.coordinate = coordinate
super.init()
}
}
Please help!