I have implemented your library using CocoaPods using Xcode 11.4. I am testing on the simulator with iOS 13.4.
I am trying to use your library from code without storyboard at all but it doesn't seem to be working. I am not sure if it is because I am trying to add the menu to a table view cell, but no matter what I do I get a white empty box on the UI side of things and when I am debugging I always see this:
expression produced error: error: /var/folders/1w/ltx7q76130s12wkrq5_tjdxm0000gp/T/expr56-31d3d2..swift:1:88: error: 'SwiftyMenuDisplayable' is not a member type of 'SwiftyMenu'
Swift._DebuggerSupport.stringForPrintObject(Swift.UnsafePointer<Swift.Array<SwiftyMenu.SwiftyMenuDisplayable>>(bitPattern: 0x1090356e0)!.pointee)
~~~~~~~~~~ ^
SwiftyMenu.SwiftyMenu:1:20: note: 'SwiftyMenu' declared here
final public class SwiftyMenu : UIView {
Clicking any menu crashes the application:
Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value: file Pods/SwiftyMenu/SwiftyMenu/Classes/SwiftyMenu.swift, line 470
2020-03-30 11:01:34.684213-0400 ARC Bookshelf[22331:3996509] Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value: file Pods/SwiftyMenu/SwiftyMenu/Classes/SwiftyMenu.swift, line 470
Some of my code on how I am implementing the menu:
At quick glance I believe this is related to it being implemented through CocoaPods, since it seems to act as if the module is missing. I am using !use_frameworks in my Podfile. I am not sure if your library does not work in that scenario.
Hello,
I have implemented your library using CocoaPods using Xcode 11.4. I am testing on the simulator with iOS 13.4.
I am trying to use your library from code without storyboard at all but it doesn't seem to be working. I am not sure if it is because I am trying to add the menu to a table view cell, but no matter what I do I get a white empty box on the UI side of things and when I am debugging I always see this:
Clicking any menu crashes the application:
Some of my code on how I am implementing the menu:
At quick glance I believe this is related to it being implemented through CocoaPods, since it seems to act as if the module is missing. I am using !use_frameworks in my Podfile. I am not sure if your library does not work in that scenario.