Comments (8)
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.
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.
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.
@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.
@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.
Please add import FAPanels
the FAPanels framework in the file you are using FAPanels.
from fapanels.
@fahidattique55 I already add it but it still gives me same error. < here FAPanelController >
from fapanels.
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)
- Test
- UITabBarController ? HOT 3
- How to push View when any option selected from menu? HOT 4
- Integration with Swift 5 HOT 5
- Center panel? What is it? For what? HOT 1
- Username Not change when i logout and login Again different user HOT 1
- Left side menu right slide will open WebView website own side menu as well? HOT 1
- Using on Multiple Pages (Show Menu in childs)
- Status bar change to dark HOT 1
- Memory Issue HOT 1
- Change icon color when selected
- Pushing from menu won't get back HOT 1
- FAPanels Crash *Shuffled()* HOT 7
- Thread 1: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0) HOT 1
- No configurable or customizable HOT 1
- Push and pop from left Menu HOT 2
- Side Menu Not Updating Value While App Runing HOT 3
- It doesnt working Edge Tap Gesture.
- panelController.configs.leftPanelWidth = view.bounds.size.width = No more panels haha
- After navigate to root view controller from side menu,side menu is not able visible
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 fapanels.