Skip to content

IBInspectable error #15

@Isuru-Nanayakkara

Description

@Isuru-Nanayakkara

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions