You are getting this error because NSObject already conforms to Equatable through its isEqual method.
So I'm not sure if this is the correct way of doing this, but you could override the isEqual method of NSObject:
class FooBar: NSObject, NSCoding {
...
override func isEqual(object: AnyObject?) -> Bool {
return self == (object as? FooBar)
}