How to conform to NSCopying and implement copyWithZone in Swift 2?
I would like to implement a simple GKGameModel in Swift 2. Apple's example is expressed in Objective-C and includes this method declaration (as required by protocol NSCopying from which GKGameModel inherits): - (id)copyWithZone:(NSZone *)zone { AAPLBoard *copy = [[[self class] allocWithZone:zone] init]; [copy setGameModel:self]; return copy; } How does this translate into Swift 2? Is the following appropriate in terms of efficiency and ignoring zone? func copyWithZone(zone: NSZone) -> AnyObject { let copy = GameModel() // ... copy properties return copy } zrzka NSZone is no longer used in