Skip to content

A 3D spherical tag cloud view for iOS and Swift.

License

Notifications You must be signed in to change notification settings

apparition47/DBSphereTagCloudSwift

Repository files navigation

DBSphereTagCloudSwift

MIT License CocoaPods

A 3D spherical tag cloud view for iOS using UIKit and Accelerate (provided by SwiftNum). Ported from the original Objective-C version written by @dongxinb.

DBSphereTagCloud

Features

  • 3D effect 3D效果
  • auto rotation 自动旋转效果
  • inertial effect after rotation 惯性滚动效果

Requirements

  • iOS 8+
  • Swift 5
  • Xcode 12

Installation

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

To integrate this into your Xcode project using CocoaPods, specify it in your Podfile:

platform :ios, '8.0'
use_frameworks!

target '<Your Target Name>' do
    pod 'DBSphereTagCloudSwift'
end

Carthage

Carthage compatible. Add the following into your Cartfile, then run carthage update.

github "apparition47/DBSphereTagCloudSwift"

Swift Package Manager

Add https://github.com/apparition47/DBSphereTagCloudSwift.git to your project. Recommended adding with Version with up to next major.

Usage

  import DBSphereTagCloudSwift

  let view: DBSphereView = DBSphereView(frame: CGRectMake(0, 100, 320, 320))
  view.setCloudTags(buttonArray)
  self.view.addSubView(view);

License

MIT License.

About

A 3D spherical tag cloud view for iOS and Swift.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •