Redundance Conformance of User to Protocol PFSubclassing (Swift 2.0)

297 Views Asked by At

enter image description here

I just migrated my Swift 1.2 code to Swift 2.0.

This code previously works fine. but now there is an error saying

Redundance Conformance of User to Protocol PFSubclassing (Swift 2.0)

What might be causing this?

1

There are 1 best solutions below

0
On BEST ANSWER

PFUser Conforms PFSubclassing Protocol. So no need to Conform PFSubclassing in you subclass. Remove PFSubclassing will work.

**class LCUser : PFUSer {

// data members }**