Git Product home page Git Product logo

Comments (8)

jwilling avatar jwilling commented on August 16, 2024

The problem is likely because of your setup. By default, screenshots are used for the top and the bottom of the views, meaning that even if you change the actual views you won't see the change until you close the folder. You might want to look at the following property:

/* Sets whether the stationary folder pane should
 * be transparent to show actual content underneath.
 * The pane will still absorb touches, so your content
 * will not recieve touch events. Defaults to NO. */
@property (nonatomic, assign) BOOL transparentPane;

from jwfolders.

marcelosantoro avatar marcelosantoro commented on August 16, 2024

jwilling... tks for your answer...
i am new in iOS development... this is my first project :)...

please, can you show an example about how to use what you tell me in your answer ???

Thank you so much friend.

from jwfolders.

jwilling avatar jwilling commented on August 16, 2024

Can you me how you're creating the folder in the first place?

from jwfolders.

marcelosantoro avatar marcelosantoro commented on August 16, 2024

Tks again :)...

This is where i am creating the Folder in the "Parent View"

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view.

    //Conteudo do componente JWFolder
    self.problemasFolder = [[ProblemasTableViewController alloc] initWithNibName:nil bundle:nil];
}

- (IBAction)btnSelecionarProblema:(id)sender {

    CGPoint openPoint = CGPointMake(CGRectGetWidth(self.view.frame) / 2, [sender frame].origin.y + 40);

    JWFolders *folder = [JWFolders folder];
    folder.contentView = self.problemasFolder.view;
    folder.containerView = self.view;
    folder.position = openPoint;
    folder.direction = JWFoldersOpenDirectionDown;
    folder.contentBackgroundColor = [UIColor colorWithWhite:1.0 alpha:1.0];
    folder.shadowsEnabled = YES;
    folder.darkensBackground = NO;
    folder.showsNotch = YES;
    [folder open];



}

from jwfolders.

jwilling avatar jwilling commented on August 16, 2024

Okay, then just do this before you open the folder:

folder.transparentPane = YES;

from jwfolders.

marcelosantoro avatar marcelosantoro commented on August 16, 2024

i did it.. but dont solved my problem... i solved it using another way !!! i dont know if is the right way... but works for me !!!

See working in the gif:
demo1

from jwfolders.

jwilling avatar jwilling commented on August 16, 2024

I'm not sure what you changed, but glad you got it sorted.

from jwfolders.

aqua7regia avatar aqua7regia commented on August 16, 2024

Thx a lot.
I set the property

folder.transparentPane = YES;

then it works well. :)

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.