BubblePicker
An easy-to-use picker view built on UIKitDynamics which can be used for content picking for iOS
Install / Use
/learn @ronneldavis/BubblePickerREADME
BubblePicker
A similar library for Android made by Irina Galata can be found here

Example
To run the example project, clone the repo, and run pod install from the Example directory first.
Upgrade Warning
Version 1.0 of this library has undergone a comeplete rewrite and will require significant changes to your codebase if you were using the previous version. It now uses a delegate based architecture rather than the previous version which required closures.
Requirements
BubblePicker requires a deployment target of atleast iOS 9.0 for UIKitDynamics and Swift 4.
Usage
Setup the BubblePicker view
let arr = ["TV Shows", "Sports", "Technology", "Science", "People", "Places", "Music", "Photography"]
bubblePicker = BubblePicker() // Or use a storyboard
bubblePicker.delegate = self;
bubblePicker.reloadData();
Implement the delegate methods
extension ViewController: BubblePickerDelegate {
func numberOfItems(in bubblepicker: BubblePicker) -> Int {
return items.count;
}
func bubblePicker(_: BubblePicker, nodeFor indexPath: IndexPath) -> BubblePickerNode {
let node = BubblePickerNode(title: items[indexPath.item], color: UIColor.red, image: UIImage());
return node;
}
}
Delegate callbacks for when a user selects or deselects a bubble
func bubblePicker(_: BubblePicker, didSelectNodeAt indexPath: IndexPath) {
}
func bubblePicker(_: BubblePicker, didDeselectNodeAt indexPath: IndexPath) {
}
Set and get selected nodes
bubblePicker.setSelected([0, 2, 3, 4]);
bubblePicker.getSelected();
Bubble picker node properties
public var font: UIFont = UIFont(name: "Avenir-Heavy", size: 14)!
public var selectedFont: UIFont = UIFont(name: "Avenir", size: 22)!
public var textColor: UIColor = UIColor.white
Installation
BubblePicker is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "BubblePicker"
Author
Ronnel Davis: ronneldavis1996@gmail.com
License
BubblePicker is available under the MIT license. See the LICENSE file for more info.
Copyright (c) 2018 Ronnel Davis
Related Skills
qqbot-channel
348.2kQQ 频道管理技能。查询频道列表、子频道、成员、发帖、公告、日程等操作。使用 qqbot_channel_api 工具代理 QQ 开放平台 HTTP 接口,自动处理 Token 鉴权。当用户需要查看频道、管理子频道、查询成员、发布帖子/公告/日程时使用。
docs-writer
100.2k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
348.2kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
Design
Campus Second-Hand Trading Platform \- General Design Document (v5.0 \- React Architecture \- Complete Final Version)1\. System Overall Design 1.1. Project Overview This project aims t
