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

OBShapedButton screenshot

OBShapedButton

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 UIControlStateNormal is non-transparent.

View Control

JSLockScreen screenshot

JSLockScreen

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 where a lock screen may be required. It is a view controller with delegate based call backs. Implement the delegate methods, create an instance of the lock screen controller and tell it to show in a particular window and the rest is handled for you.

View Control

MarqueeLabel screenshot

MarqueeLabel

A functionally equivalent replacement for UILabel, which automatically adds a scrolling marquee effect for text longer than the available area.

View Control

MMGridView screenshot

MMGridView

MMGridView is a simple grid view / dashboard like UI component for iOS.

View Control

Kal screenshot

Kal

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 will be displayed in a table view directly below the calendar.

View Control

IBAForms screenshot

IBAForms

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 to enter data for them. It is an Objective-C library that provides an abstraction layer above common UIKit classes such as UITableView and UITableViewCell.

View Control

Gloss-Caustic Shader screenshot

Gloss-Caustic Shader

Reproduces the oft-seen glossy gradient effect.

View Control

CoreTextHyperlinkView screenshot

CoreTextHyperlinkView

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 with a 0 height frame, set the attributes, set its text, and then ask it for it's size so that the height is just correct. It will calculate based on the constraining width, and any padding that you set. There is also a Twitter specific subclass that enables @usernames and #hashtags to be linkified. Settable Attributes: textAlignment textColor linkColor highlightedLinkColor fontName fontSize paddingTop paddingLeft backgroundImage bgImageTopStretchCap bgImageLeftStretchCap

View Control

SliderPageControl screenshot

SliderPageControl

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 page jump. If you release it outside of the focus area, it jumps back to the original page. To check out a demo, you can download http://bit.ly/sgnextbus (only in the iPhone version, not iPad).

View Control

HGPageScrollView screenshot

HGPageScrollView

An extension of iOS UIScrollView that allows scrolling of multiple pages, like mobile Safari tab viewer.

View Control