You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Method 'setFrontCardView' with Objective-C selector 'setFrontCardView:' conflicts with setter for 'frontCardView' with the same Objective-C selector
#79
Open
datomnurdin opened this issue
May 6, 2015
· 3 comments
I got this two error messages after updated xcode 6.3.1.
/Users/MNurdin/Documents/Github/MDCSwipeToChoose/Examples/SwiftLikedOrNope/SwiftLikedOrNope/ChoosePersonViewController.swift:111:10: Method 'setFrontCardView' with Objective-C selector 'setFrontCardView:' conflicts with setter for 'frontCardView' with the same Objective-C selector
Code
func setFrontCardView(frontCardView:ChoosePersonView) -> Void{
// Keep track of the person currently being chosen.
// Quick and dirty, just for the purposes of this sample app.
self.frontCardView = frontCardView
self.currentPerson = frontCardView.person
}
Please advice. Thank you.
The text was updated successfully, but these errors were encountered:
just rename the "setFrontCardView" method to whatever you like . for me i just renamed the method to "setFrontCardViewUpdate" . then you have to change the corresponding code section where this method is called in the ChoosePersonViewController.swift file . there should 2 places where the method "setFrontCardView" is called . just change those to the new method name.
I got this two error messages after updated xcode 6.3.1.
Code
Please advice. Thank you.
The text was updated successfully, but these errors were encountered: