Giter VIP home page Giter VIP logo

Comments (10)

thomas-oo avatar thomas-oo commented on May 14, 2024 3

I finally got it!
I did subclass the view controller to PulleyViewController but when I checked your demo project, I noticed the module was Pulley and that I hadn't set a module in my project. I set the module to Pulley and voila, it worked! I guess if you don't set the module, it can't find the PulleyViewController?

Anyways I'm so happy, I've been wanting to make this work for so long! great work on this and cheers

from pulley.

amyleecodes avatar amyleecodes commented on May 14, 2024 2

It looks like you haven't set the subclass of the view controller to "PulleyViewController" in your Storyboard.

If you had, this would say "PulleyViewController" instead of "UIViewController":

'[<UIViewController 0x143d485f0> setValue:forUndefinedKey:]:

Checkout the example project in the main repo for a working example.

from pulley.

amyleecodes avatar amyleecodes commented on May 14, 2024

Ah! That would do it! Nice find. Let me know if you have any questions.

from pulley.

alexbartisro avatar alexbartisro commented on May 14, 2024

Just realised this 3 seconds before finding this thread. Maybe this piece of info is worth to be added to the Readme?

from pulley.

funkenstrahlen avatar funkenstrahlen commented on May 14, 2024

Stumbled across this problem too. Would never have found the solution without finding this.

from pulley.

amyleecodes avatar amyleecodes commented on May 14, 2024

Added a note about this (with a link to the issue) to the Interface Builder section of the README. Thanks for the heads up everyone!

from pulley.

amyleecodes avatar amyleecodes commented on May 14, 2024

@alpa99 Please make a new issue and I can assist you there. Posting in this issue isn’t on topic.

from pulley.

mickmgit avatar mickmgit commented on May 14, 2024

Xcode 9.1.4, latest version of Pulley. If I have the Module as Pulley, I get:

Unknown class _TtC6Pulley20PulleyViewController in Interface Builder file.

If I set the Module to None, I get:

Unknown class PulleyViewController in Interface Builder file.

Both situations crash.

If I check "Inherit Module From Target", then it works.

from pulley.

amyleecodes avatar amyleecodes commented on May 14, 2024

That is an expected Interface Builder behavior, and not related to Pulley.

from pulley.

mickmgit avatar mickmgit commented on May 14, 2024

from pulley.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.