Git Product home page Git Product logo

Comments (13)

jwilling avatar jwilling commented on July 17, 2024

How did you add the classes to Xcode in the first place? It sounds like When you dropped them in you forgot to add them to the current target.

from jwfolders.

88fsantos avatar 88fsantos commented on July 17, 2024

Well, you are correct. I just dropped them inside my project. It's the first time I use a imported library. What do I do now?

from jwfolders.

jwilling avatar jwilling commented on July 17, 2024

Can you go ahead and check something for me? Click on JWFolders.m on the left side of Xcode where you dropped them in, then open the utilities pane on the right side of Xcode. In the utilities pane, open the file inspector (first tab) and look at "target membership". Is there a check mark next to your app name in the list?

from jwfolders.

88fsantos avatar 88fsantos commented on July 17, 2024

Yes it is. But it's unchecked.

from jwfolders.

jwilling avatar jwilling commented on July 17, 2024

There's your problem. When you first dropped in the source files, you needed to add them to your target. Go ahead and remove all the files from your project that are related to my classes.

Drop them in again, but this time in the popup window that first shows you're going to check the box next to your app name so that it adds it to the correct target.

from jwfolders.

88fsantos avatar 88fsantos commented on July 17, 2024

Tks a lot man! Just more two question. Is possible tu use it in a tableview? And open the subviews bellow cells?

And is it possible to use, on a storyboard projecto (because you use xib in your sample),

Thanks!

from jwfolders.

jwilling avatar jwilling commented on July 17, 2024

I'm guessing yes, and yes. However, I haven't tested this in a table view so I'm not entirely sure. If you're thinking of emulating something like Tweetbot, then I would create that with an extra table view cell instead of using this. Here's the reasoning: once the folder is opened, the rest of the screen is static because of the way this is implemented. With cells, the user would still be able to scroll around if they want to.

On storyboards, I really haven't tried it but that should not affect the way this works. As long as you have the correct references to your container view, content view, and position, you should be all set.

from jwfolders.

88fsantos avatar 88fsantos commented on July 17, 2024

Thanks a lot jwilling!

I wish you continue bringing awesome stuff to the community!

from jwfolders.

jwilling avatar jwilling commented on July 17, 2024

No problem. Let me know if you have any more issues and I'll be glad to help.

from jwfolders.

88fsantos avatar 88fsantos commented on July 17, 2024

Well, after properlly targetting the classes, i get a different error:

Undefined symbols for architecture i386:
"OBJC_CLASS$_CABasicAnimation", referenced from:
objc-class-ref in JWFolders.o
"OBJC_CLASS$_CAMediaTimingFunction", referenced from:
objc-class-ref in JWFolders.o
"OBJC_CLASS$_CALayer", referenced from:
objc-class-ref in JWFolders.o
"_kCAGravityCenter", referenced from:
-[JWFolders buttonForRect:screen:position🔝transparent:] in JWFolders.o
"_kCAMediaTimingFunctionEaseInEaseOut", referenced from:
-[JWFolders openFolderWithContentView:position:containerView:openBlock:closeBlock:completionBlock:direction:] in JWFolders.o
-[JWFolders performClose:] in JWFolders.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

from jwfolders.

jwilling avatar jwilling commented on July 17, 2024

You need to add QuartzCore.framework to your project's linked libraries.

from jwfolders.

88fsantos avatar 88fsantos commented on July 17, 2024

Really really thank you man! And all works like a charm now =D

from jwfolders.

jwilling avatar jwilling commented on July 17, 2024

Sweet! Good luck with your app.

from jwfolders.

Related Issues (18)

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.