SkillAgentSearch skills...

ASBubbleDrag

round icon drag control (made in swift) dock style

Install / Use

/learn @Aku-n06/ASBubbleDrag
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

ASBubbleDrag

Bubble drag control integrate in storyboard :

alt tag

Installation

CocoaPods

You can use CocoaPods to install ASBubbleDrag by adding it to your Podfile:

platform :ios, '8.0'
use_frameworks!
    pod 'ASBubbleDrag', :git => 'https://github.com/scamps88/ASBubbleDrag.git'

To get the full benefits import ASBubbleDrag wherever you import UIKit

import UIKit
import ASBubbleDrag

Manually

  1. Download and drop /ASBubbleDragfolder in your project.
  2. Congratulations!

implementation :

  • to implement ASBubbleMenu, first create a UIView and add it to your UIViewController in storyboard; then set the class as ASBubbleDrag : alt tag

  • then attach it to an iboutlet

    @IBOutlet var bubbleDragView : ASBubbleDrag!
    
  • and populate it with an array of UIImage

    self.bubbleDragView.populate(icons)
    
  • the ASBubbleDragDelegate protocol will return the index selected :

    self.bubbleDragView.delegate = self
    
    func ASBubbleDragSelectedMenuItemAtIndex(index: NSInteger) {
    }
    

licence :

ASBubbleDrag is available under the MIT license. See the LICENSE file for more info.

View on GitHub
GitHub Stars46
CategoryDevelopment
Updated1y ago
Forks10

Languages

Swift

Security Score

75/100

Audited on Oct 17, 2024

No findings