簡體   English   中英

用戶與協議PFSubclassing的冗余一致性(Swift 2.0)

[英]Redundance Conformance of User to Protocol PFSubclassing (Swift 2.0)

在此輸入圖像描述

我剛剛將Swift 1.2代碼遷移到Swift 2.0。

此代碼以前工作正常。 但現在有一個錯誤說

Redundance Conformance of User to Protocol PFSubclassing (Swift 2.0)

可能是什么導致了這個?

PFUser符合PFSubclassing協議。 所以不需要在你的子類中使用Conform PFSubclassing。 刪除PFSubclassing將起作用。

** class LCUser:PFUSer {

//數據成員} **

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM