Redundance Conformance of User to Protocol PFSubclassing (Swift 2.0)
Asked Answered
T

1

7

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?

Thirzia answered 8/9, 2015 at 11:52 Comment(0)
K
4

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

**class LCUser : PFUSer {

// data members }**

Koo answered 23/9, 2015 at 19:40 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.