VHBoomMenuButton
VHBoomMenuButton copied to clipboard
IBInspectable error
I installed the library using CocoaPods. Here is my Podfile
.
platform :ios, '9.0'
target 'BMBDemo' do
use_frameworks!
pod 'VHBoomMenuButton/Swift', '2.0.0'
end
It installs the project successfully but when I build it in Xcode 9.1, it fails with the following compile error.
/Users/Admin/Developer/Xcode Projects/Swift/BMBDemo/Pods/VHBoomMenuButton/VHBoomMenuButtonSwift/BoomMenuButton/BoomMenuButton.swift:536:31: Property cannot be marked @IBInspectable because its type cannot be represented in Objective-C
Here is a demo project demonstrating the issue.
I'm having the same problem, can someone help us? :C
I just removed @IBInspectable keyword from where that error appeared (it was twice for me). This will require you to unlock the VHBoomMenuButton library so you can make changes.