https://github.com/apparition47/dbspheretagcloudswift
A 3D spherical tag cloud view for iOS and Swift.
https://github.com/apparition47/dbspheretagcloudswift
accelerate ios swift uikit
Last synced: 3 months ago
JSON representation
A 3D spherical tag cloud view for iOS and Swift.
- Host: GitHub
- URL: https://github.com/apparition47/dbspheretagcloudswift
- Owner: apparition47
- License: mit
- Created: 2016-11-15T00:03:57.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-06-22T12:53:09.000Z (almost 3 years ago)
- Last Synced: 2025-04-11T19:23:00.707Z (about 1 year ago)
- Topics: accelerate, ios, swift, uikit
- Language: Swift
- Homepage:
- Size: 2.04 MB
- Stars: 93
- Watchers: 4
- Forks: 17
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
DBSphereTagCloudSwift
================
 [](https://cocoapods.org/pods/DBSphereTagCloudSwift)
A 3D spherical tag cloud view for iOS using UIKit and Accelerate (provided by [SwiftNum](https://github.com/donald-pinckney/SwiftNum)). Ported from the original [Objective-C version written by @dongxinb](https://github.com/dongxinb/DBSphereTagCloud).

## Features
* 3D effect 3D效果
* auto rotation 自动旋转效果
* inertial effect after rotation 惯性滚动效果
## Requirements
* iOS 8+
* Swift 5
* Xcode 12
## Installation
### CocoaPods
[CocoaPods](http://cocoapods.org/) is a dependency manager for Cocoa projects. You can install it with the following command:
```shell
$ gem install cocoapods
```
To integrate this into your Xcode project using CocoaPods, specify it in your Podfile:
```ruby
platform :ios, '8.0'
use_frameworks!
target '' do
pod 'DBSphereTagCloudSwift'
end
```
### Carthage
[Carthage](https://github.com/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
```Swift
import DBSphereTagCloudSwift
let view: DBSphereView = DBSphereView(frame: CGRectMake(0, 100, 320, 320))
view.setCloudTags(buttonArray)
self.view.addSubView(view);
```
## License
MIT License.