Git Product home page Git Product logo

Comments (8)

fahidattique55 avatar fahidattique55 commented on May 24, 2024

@GilisHugo,

You are mixing here the two mechanisms of using FAPanels.

First Way

If you have already set the root window as FAPanel controller from storyboard. then you won't face any issue in,

let rootController: FAPanelController = window?.rootViewController as! FAPanelController

Second Way

Create a FAPanelController and set it as root of your window

let rootController = FAPanelController()
window?.rootViewController = rootController

So these are the two ways to use it. Please let me know in case you face further issues integrating the library. Thanks for liking it. Hope you will enjoy using it :)

from fapanels.

theMoe avatar theMoe commented on May 24, 2024

I have the same error. If I add

import FAPlane

to AppDelegate.swift, I don't see the error anymore. But it doesn't work.

from fapanels.

fahidattique55 avatar fahidattique55 commented on May 24, 2024

@theMoe

Can you please add some details about the issue you are facing with FAPanels? That would be helpful for me to diagnose.

Thanks

from fapanels.

theMoe avatar theMoe commented on May 24, 2024

@fahidattique55 I think import in AppDelegate is not the right way. The problem is, that Xcode doesn't provide the FAPaneController, when I try it to add it to a ViewController.

from fapanels.

ibolat38 avatar ibolat38 commented on May 24, 2024

@fahidattique55 @theMoe @GilisHugo Hello everyone, I have faced this problem. First I added 'FAPanles' on Cocoapods and then i just want to use 'leftMenuVC' ... On my project there is a ViewController as a 'UIViewController'.. I deleted it and I added 'FAPanelController' as a 'UIViewController' and i set it as a root.. but its still gives me error on Appdelegate < here error >

from fapanels.

fahidattique55 avatar fahidattique55 commented on May 24, 2024

@ibolat38

Please add import FAPanels the FAPanels framework in the file you are using FAPanels.

from fapanels.

ibolat38 avatar ibolat38 commented on May 24, 2024

@fahidattique55 I already add it but it still gives me same error. < here FAPanelController >

from fapanels.

shahzaib-iosdev avatar shahzaib-iosdev commented on May 24, 2024

hi @fahidattique55 i am facing issue with your library. i have to use this side drawer after login screen so how can i use your side drawer withou appdelegate ? by without assigning it as a root view controller? any idea ?

from fapanels.

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.