6420 open source UI components
for iOS, iPadOS, macOS, tvOS, and watchOS.

CKSRecordContext screenshot

CKSRecordContext

Interaction with CloudKit Records done right !

View Control

NSTextView-LineNumberView screenshot

NSTextView-LineNumberView

Add line numbers to an instance of NSTextView. The line number view is implemented as a subclass of NSRulerView.

View Control

NMDatePicker screenshot

NMDatePicker

NSDatePicker replacement allowing for appearance customisation.

View Control

SwiftPriorityQueue screenshot

SwiftPriorityQueue

SwiftPriorityQueue is a pure Swift (no Cocoa) implementation of a generic priority queue data structure, appropriate for use on both iOS and OS X projects. It features a straightforward interface and can be used with any type that implements Comparable. It utilizes comparisons between elements rather than separate numeric priorities to determine order. Internally, SwiftPriorityQueue uses a classic binary heap, resulting in O(lg n) pushes and pops. It includes in-source documentation, an A* based example maze solving program, and unit tests are in progress (pull requests are welcome for unit tests especially). Features * Easy-to-use method interface * Small, self contained, pure Swift code base * Classic binary heap implementation with O(lg n) pushes and pops * Iterable through standard Swift for...in loops (implements SequenceType and GeneratorType) * In-source documentation * A fun maze solving A* based example program

View Control

SwiftGraph screenshot

SwiftGraph

SwiftGraph is a pure Swift (no Cocoa) implementation of a graph data structure, appropriate for use on both iOS and OS X projects. It includes support for weighted, unweighted, directed, and undirected graphs. It uses generics to abstract away both the type of the vertices, and the type of the weights. It includes copious in-source documentation, some unit tests, as well as utility functions for doing things like breadth-first search, depth-first search, and djikstra's algorithm.

View Control

MABSlider (Swift) screenshot

MABSlider (Swift)

Custom Slider for OS X using Swift

View Control

Crackers screenshot

Crackers

Simple network library in Swift, for iOS and OSX

View Control

KPCTabsControl screenshot

KPCTabsControl

A multi-tabs control first designed to look and behave like the tab control in Apple's Numbers spreadsheet, with enhanced capabilities, but now with new tab styles, such as Chrome & Safari, as well as custom ones. KPCTabsControl provides the following features: Custom styles and themes! Default (Numbers.app-like), Chrome and Safari are provided. But you can easily write your own! Styles & themes comprise title styles, title editor style, (un)selected/unselectable backgrounds, borders, colors, fonts etc. Common dataSource/delegate Cocoa APIs Tabs can span the whole view width, or be flexible inside min&max. Tabs can be reordered, and renamed in place. When provided, the title can be replaced by an alternative icon when the width is too narrow for the title to be drawn.

View Control

DKAsyncImageView screenshot

DKAsyncImageView

A Swift subclass of NSImageView for loading remote images asynchronously. * Download images from the Web to DKAsyncImageView asynchronously with just 1 line of code * Set a 'Placheholder Image' to be displayed until the image is downloaded * Set an 'Error Image' to be displayed when an error occurs while downloading the image * Set ToolTips for each state -> Loading Image / Image Loaded / Error Loading Image * Display a Spinning Wheel on top of DKAsyncImageView while it's downloading the image

View Control

AudioRecorder screenshot

AudioRecorder

A simple app to record, trim and export audio for Mac. Written in Swift and took just 2 days. If you are on IRC, feel free to ping me in #iphonedev/#macdev on freenode. I'm the pretty_function that idles over there.

View Control