Comments (8)
Of course, as long your VC conforms the protocol Panelable, you can inject it to the method 'show'.
from panels.
but I'm working to make Panelable nicer :)
from panels.
"Trying to instantiate something that does not conform Panelable :("
import UIKit
import AVFoundation
import Panels
class ViewController12: UIViewController, Panelable {
@IBOutlet var headerHeight: NSLayoutConstraint!
@IBOutlet var headerPanel: UIView!
}
My storyboard name is "Main". Help me, I do not understand what the problem is. Thank!
from panels.
Hi @Savyalov, sorry for the late response. Are you still having problems? There is an extension included in the framework to instantiate Panels from the storyboard, maybe it helps.
from panels.
Thank! Already figured out.
from panels.
Thank! Already figured out.
What was your solution? I have the same problem doing programmatically. Please help.
from panels.
Good morning! I just deleted and installed again Panelable. Nothing else helped.
from panels.
Hi,
I'm trying to implement without storyboard.
Its my code.. what is the problem?
let panelManager = Panels(target: self)
let panelConfiguration = PanelConfiguration(size: .oneThird)
panelManager.show(panel: self, config: panelConfiguration, view: myView)
myVIew is just existing UIView
self is UIController & Panelable
runtime error
EXC_BAD_ACCESS
Panels.swift: 38 Line
parentViewController?.addContainer(container: panel)
from panels.
Related Issues (20)
- Example app crashes if you tap "Close" twice HOT 2
- Show the Panels on top of a TabBar HOT 2
- Does it support below iOS 10? HOT 1
- HeaderHeight calculation pushes Header further down with each show HOT 7
- Drag gesture doesn't follow the movement HOT 2
- Panel reopens after being dismissed HOT 7
- Specify a platform for this target in Example Podfile
- 2nd time dismiss animation works but panel stay HOT 4
- 'NSInvalidArgumentException
- need some help HOT 3
- UITextField will cause the panel to collapse HOT 1
- curveTopCorners() wont work HOT 2
- Support Swift Package Manager HOT 1
- How to apply "modalPresentationStyle = .popover"? HOT 2
- crash when running on real device HOT 2
- keyboard present and Penel moves up with the keyboard
- CocoaPods version is not match the latest version
- support orienation change HOT 2
- content height of collectionview inside panel wrong when orientation change
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 panels.