Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Xcode9:Swift4 using pod:@IBInspectable because its type cannot be #17

Open
jigs777 opened this issue Feb 21, 2018 · 3 comments
Open

Comments

@jigs777
Copy link

jigs777 commented Feb 21, 2018

BoomMenuButton.swift:58:31: Property cannot be marked @IBInspectable because its type cannot be represented in Objective-C

@jigs777 jigs777 changed the title @IBInspectable because its type cannot be Error Xcode9:Swift4 using pod:@IBInspectable because its type cannot be Feb 21, 2018
@moonlsd
Copy link

moonlsd commented Mar 28, 2018

Same issue here, any news? @Nightonke

@jigs777
Copy link
Author

jigs777 commented Mar 28, 2018

@moonlsd i removed library and using below line of code to tableview.
let cells = tableview.visibleCells
let tableHeight: CGFloat = tableview.bounds.size.height

    for i in cells {
        let cell: UITableViewCell = i as UITableViewCell
        cell.transform = CGAffineTransform(translationX: 0, y: -tableHeight)
    }

    var index = 0

    for a in cells {
        let cell: UITableViewCell = a as UITableViewCell
        UIView.animate(withDuration: 1.0, delay: 0.05 * Double(index), usingSpringWithDamping: 0.5, initialSpringVelocity: 0, animations: {
            cell.transform = CGAffineTransform(translationX: 0, y: 0);
        }, completion: nil)
        
        index += 1
    }

@aclaussen1
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants