VHBoomMenuButton icon indicating copy to clipboard operation
VHBoomMenuButton copied to clipboard

IBInspectable error

Open Isuru-Nanayakkara opened this issue 7 years ago • 2 comments

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.

Isuru-Nanayakkara avatar Dec 25 '17 10:12 Isuru-Nanayakkara

I'm having the same problem, can someone help us? :C

stephysama3000 avatar Jan 13 '18 05:01 stephysama3000

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.

aclaussen1 avatar Jun 07 '18 20:06 aclaussen1