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

SPAlert: Apple Music-Style Popups for iOS

Check out this lovingly crafted Apple Music-style popup library. SPAlert is written in clean, beautiful, modern Swift code by Ivan Vorobei, a prolific and talented open source developer.

This open source project contains a ton of preset styles, including "done," "heart," "message," and more. If the presets don't fit your needs, you can customize the popups with custom images and duration. Includes support for light and dark modes, and installable via Swift Package Manager and CocoaPods.

Open on GitHub.com
OBGradientView screenshot

OBGradientView

April 13, 2011 • MIT License
OBGradientView is a simple UIView wrapper for CAGradientLayer. It is a plain UIView whose layer is a CAGradientLayer. It is useful if using a view is more convenient than using a layer, e.g. becaus...
OBShapedButton screenshot

OBShapedButton

April 13, 2011 • MIT License
OBShapedButton is a UIButton subclass optimized for non-rectangular button shapes. Instances of OBShapedButton respond to touches only in areas where the image that is assigned to the button for UI...
JSLockScreen screenshot

JSLockScreen

April 13, 2011 • BSD License
JSLockScreen is an iOS UI component that replicates iOS's lock screen functionality. It aims to be as close to the original lock screen UI as possible and be easy to use in almost any situation ...
MarqueeLabel screenshot

MarqueeLabel

April 10, 2011 • MIT License
A functionally equivalent replacement for UILabel, which automatically adds a scrolling marquee effect for text longer than the available area.
MMGridView screenshot

MMGridView

April 10, 2011 • MIT License
MMGridView is a simple grid view / dashboard like UI component for iOS.
Kal screenshot

Kal

April 06, 2011 • MIT License
This project aims to provide an open-source implementation of the month view in Apple's mobile calendar app (MobileCal). When the user taps a day on the calendar, any associated data for that day w...
IBAForms screenshot

IBAForms

April 06, 2011 • Apache 2.0 License
IBAForms is a framework for building data entry screens on the iPhone. You can quickly make forms using the built-in form field types or create your own custom fields and the user interfaces used t...
Gloss-Caustic Shader screenshot

Gloss-Caustic Shader

April 06, 2011 • MIT License
Reproduces the oft-seen glossy gradient effect.
CoreTextHyperlinkView screenshot

CoreTextHyperlinkView

April 05, 2011 • BSD License
Uses AutoHyperlinks code from Adium http://code.google.com/p/maccode/wiki/AutoHyperlinks Project includes an example of how to use the core text view. It's pretty simple - create the view wit...
SliderPageControl screenshot

SliderPageControl

April 05, 2011 • MIT License
Alternative for UIPageControl. Instead of tapping on the page control, you drag the thumb to the page you want while previewing the title of the page before you release the thumb to confirm the pag...
HGPageScrollView screenshot

HGPageScrollView

April 05, 2011 • MIT License
An extension of iOS UIScrollView that allows scrolling of multiple pages, like mobile Safari tab viewer.
ComboBox for UITableView screenshot

ComboBox for UITableView

April 05, 2011 • Unspecified License
This XCode project is intended to demonstrate the usage of custom UITableViewCells as kind of combo boxes (as known from [X]HTML) or dropdown boxes. The code used to provide this is just a rough pr...
ReorderTableViewController screenshot

ReorderTableViewController

March 30, 2011 • Custom License
Add drag and drop reordering to a UITableView.
PINView screenshot

PINView

March 29, 2011 • Unspecified License
This project gives you a drop-in PIN code entry screen that looks like the entry screen seen in Settings.app.
OHAttributedLabel screenshot

OHAttributedLabel

March 28, 2011 • MIT License
This class allows you to use a UILabel with NSAttributedStrings, in order to display styled text with mixed style (mixed fonts, color, size, ...) in a unique label. It can also detect links, add...
PSBackgroundCurtain screenshot

PSBackgroundCurtain

March 28, 2011 • MIT License
Try to activate the multitasking bar, notice the animated fade to dark. Suspend the App and start it, and it fades back from black. This is useful if you have a PinLock Controller. Works with iOS4 ...
FlatWebView screenshot

FlatWebView

March 25, 2011 • MIT License
A ludicrously simple subclass of UIWebView that hides the drop shadows behind said UIWebView.
NoodleLineNumberView screenshot

NoodleLineNumberView

March 24, 2011 • MIT License
Displays line numbers for an NSTextView.
NoodleIPhoneTableView screenshot

NoodleIPhoneTableView

March 24, 2011 • MIT License
An NSTableView subclass that simulates UITableView's look and feel.
Chameleon screenshot

Chameleon

March 22, 2011 • BSD License
Chameleon is a port of Apple's UIKit (and some minimal related frameworks) to Mac OS X. It is meant to be as much of a drop-in replacement for the real UIKit as possible. It also adapts some iOS us...