Comments (13)
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.
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.
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.
Yes it is. But it's unchecked.
from jwfolders.
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.
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.
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.
Thanks a lot jwilling!
I wish you continue bringing awesome stuff to the community!
from jwfolders.
No problem. Let me know if you have any more issues and I'll be glad to help.
from jwfolders.
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
"_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.
You need to add QuartzCore.framework to your project's linked libraries.
from jwfolders.
Really really thank you man! And all works like a charm now =D
from jwfolders.
Sweet! Good luck with your app.
from jwfolders.
Related Issues (18)
- JWDemo not compiling HOT 4
- Issue with screenshot( taking a long time) in iPad3 HOT 5
- Version tag HOT 2
- Notch is at left side of the screen, not on the centre. HOT 2
- Usage in UICollectionView HOT 2
- UIView+Screenshot category used in this library does not work with CALayer masks HOT 1
- Call close method from other class (asynchronous and synchonous) HOT 2
- Move away from using static variables.
- Change Parent Value HOT 8
- folder bug when click cell quickly HOT 5
- Grid view last row last image problem HOT 3
- UIScrollView Issue HOT 3
- Close a folder HOT 2
- Poor Quality in content view HOT 4
- move the folder horizontally HOT 7
- Don't use colorWithPatternImage:
- '-[JWFolders setDirection:]: exception HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jwfolders.