I'm having problems with my sidebar for iPad. I need the buttons below:
Expected Result:

At the moment, my output is:
Current output:

How to delete circles and add button sets?
import UIKit import QuartzCore public protocol FrostedSidebarDelegate{ func sidebar(sidebar: FrostedSidebar, willShowOnScreenAnimated animated: Bool) func sidebar(sidebar: FrostedSidebar, didShowOnScreenAnimated animated: Bool) func sidebar(sidebar: FrostedSidebar, willDismissFromScreenAnimated animated: Bool) func sidebar(sidebar: FrostedSidebar, didDismissFromScreenAnimated animated: Bool) func sidebar(sidebar: FrostedSidebar, didTapItemAtIndex index: Int) func sidebar(sidebar: FrostedSidebar, didEnable itemEnabled: Bool, itemAtIndex index: Int) } var sharedSidebar: FrostedSidebar? public enum SidebarItemSelectionStyle{ case None se Single case All } public class FrostedSidebar: UIViewController { public var width: CGFloat = 300.0 public var showFromRight: Bool = false public var animationDuration: CGFloat = 0.25 public var itemSize: CGSize = CGSize(width: 200.0, height: 200.0) public var itemBackgroundColor: UIColor = UIColor(white: 1, alpha: 0.25) public var borderWidth: CGFloat = 2 public var delegate: FrostedSidebarDelegate? = nil public var actionForIndex: [Int : ()->()] = [:] public var selectedIndices: NSMutableIndexSet = NSMutableIndexSet() public var adjustForNavigationBar: Bool = false public var isCurrentlyOpen: Bool = false public var selectionStyle: SidebarItemSelectionStyle = .None{ didSet{ if case .All = selectionStyle{ selectedIndices = NSMutableIndexSet(indexesInRange: NSRange(location: 0, length: images.count)) } } }
source share