objective c - iOS & SwipeView: not key value coding compliant -


i'm more or less new ios development.

i downloaded following repository include in project: https://github.com/nicklockwood/swipeview

it includes horizontal paging view , bases on xib file (exampleviewcontroller) being loaded in mainwindow.xib file (hopefully have understood right!). want incorporate in app , without xib, since i'm using storyboard. view should activated upon button push.

now figured suffice transfer viewcontroller class, include in storyboard viewcontroller , include swipeview in it.

(the same logic, understanding, applied xibs.)

the other change applied transferring contents of awakefromnib in viewdidload.

building project yields error:

this class not key value coding-compliant key delegate.

the first stackoverflow results haven't been useful me - have input maybe?

that error means, have property (delegate in case) present in storyboard, not in code of class. right click on controller in storyboard open black info window, , see if there property called delegate there has yellow warning triangle next it. if so, delete connection, or add property class.


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -