SSHoneyCombView
a honey comb View that looks like a collection view with hexagon shaped items
Install / Use
/learn @SamehSalama/SSHoneyCombViewREADME
SSHoneyCombView
Example
To run the example project, clone the repo, and run pod install from the Example directory first.
Requirements
Minimum iOS 8, Swift 3
Screenshots

Installation
SSHoneyCombView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'SSHoneyCombView'
Make sure to: use_frameworks!
Usage
1- add SSHoneyCombView.framework to “Linked Frameworks and Libraries” under Target->General, and build
storyboard: 2- drag and drop a UIView and change both “Class” and “Module” to SSHoneyCombView
3- resize your SSHoneyCombView and add constraints to use Autoresizing
4- create an outlet in your ViewController (Ex. ssHoneyCombView)
in ViewController:
5-
import SSHoneyCombView
6- create and array of SSHoneyCombObject
var honeycombObjectsArray: [SSHoneyCombObject] = []
create and append SSHoneyCombObject to honeycombObjectsArray Ex.
for i in 0...99 {
let honeycombObject = SSHoneyCombObject()
honeycombObject.name = "Honey Object \(i)"
self.honeycombObjectsArray.append(honeycombObject)
}
and assign this array to self.ssHoneyCombView.honeyCombObjects
self.ssHoneyCombView.honeyCombObjects = self.honeycombObjectsArray
7- optional you can set numberOfItemsInRow
self.honeyCombView.numberOfItemsInRow = 7
//NOTE: numberOfItemsInRow can’t be less than 2
8- conform to SSHoneyCombViewDelegate
9- set delegate
self.ssHoneyCombView.delegate = self
10-
func SSHoneyComb(_ SSHoneyComb: SSHoneyCombView, didSelect item: SSHoneyCombObject) {
print(item.name)
}
Finally you can add variables to HoneyCombObject class to fit your needs basic HoneyCombObject has “name” property only
for more details, please refer to Example Project
Author
Sameh Salama
samehsalama@hotmail.com
https://eg.linkedin.com/in/sameh-salama-98389174
http://DaBlueAlien.com
License
SSHoneyCombView is available under the MIT license. See the LICENSE file for more info.
Related Skills
node-connect
347.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
