You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BoomMenuButton.swift:58:31: Property cannot be marked @IBInspectable because its type cannot be represented in Objective-C
The text was updated successfully, but these errors were encountered:
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 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
}
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.
BoomMenuButton.swift:58:31: Property cannot be marked @IBInspectable because its type cannot be represented in Objective-C
The text was updated successfully, but these errors were encountered: