Skip to content
This repository has been archived by the owner on Jun 2, 2018. It is now read-only.

Xcode5 'Attempt to implement instance selector with incompatible block (selector: -popoverControllerDidDismissPopover:)' #180

Closed
nilskasseckert opened this issue Sep 22, 2013 · 2 comments

Comments

@nilskasseckert
Copy link

Hi,
I have following Code:
"__weak KDChildEditViewController * weakSelf = self;
[self.popover setDidDismissBlock:^(UIPopoverController * controller) {
weakSelf.child.dateOfBirth = picker.date;
weakSelf.dateView.text = weakSelf.child.dateOfBirth.prettyDate;
}];"
Under Xcode 4.4 that work's without Problems. In Xcode 5 I become following Error: "Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Attempt to implement instance selector with incompatible block (selector: -popoverControllerDidDismissPopover:)'" Why? What can I do?

Best regards
Nils

@a2
Copy link
Collaborator

a2 commented Sep 22, 2013

What version of BlocksKit are you using?

@nilskasseckert
Copy link
Author

Thank you! I used an older Version. With the newest Version it works's! Thank you very much!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants