简体   繁体   中英

Redundance Conformance of User to Protocol PFSubclassing (Swift 2.0)

在此输入图像描述

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?

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

**class LCUser : PFUSer {

// data members }**

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM