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
I updated my xcode 6.4 to xcode 7 (swift 2) and now I'm getting this error in my swift project. After few tries i found out it was happening because of
func containerView() -> UIView {
return self.view
}
which is a protocol of UIViewControllerTransitionCoordinatorContext , if i remove that function then it says my ViewController does not conform to this protocol UIViewControllerTransitionCoordinatorContext . xcode 7 is suggesting me to change the function to
func containerView() -> UIView? {
return self.view
}
and after that it suggests me to delete the question mark.
The text was updated successfully, but these errors were encountered:
I updated my xcode 6.4 to xcode 7 (swift 2) and now I'm getting this error in my swift project. After few tries i found out it was happening because of
func containerView() -> UIView {
return self.view
}
which is a protocol of UIViewControllerTransitionCoordinatorContext , if i remove that function then it says my ViewController does not conform to this protocol UIViewControllerTransitionCoordinatorContext . xcode 7 is suggesting me to change the function to
func containerView() -> UIView? {
return self.view
}
and after that it suggests me to delete the question mark.
The text was updated successfully, but these errors were encountered: