private func makeNode() {
congifureMagneticView()
for (_, element) in genreArray.enumerated() {
let node = ImageNode(text: element.name, image: nil, color: Color.TextColor, radius: 40)
node.label.fontName = FontsName.Avenir.DemiBold
node.label.fontColor = Color.MainBackGroundColor
node.label.fontSize = 14
magnetic.addChild(node)
}
}
private func congifureMagneticView() {
magneticView = MagneticView()
mageneticSubView.addSubview(magneticView)
magneticView.fillSuperview()
magnetic = magneticView.magnetic
magnetic.calculateAccumulatedFrame()
magnetic.magneticDelegate = self
}
New Issue Checklist
Issue Description
Environment
genreArray count 20 sets of Objects when I added to the magnetic node it's showing only 10 results mean half of the array count.
Refer screenshots