Archive for category User Interface

MMGridView

A Windows Phone 7- or iPhoto-style grid list view where you can show clickable images etc. with labels.

Official MMGridView repository

KTOneFingerRotationGestureRecognizer

A custom UIGestureRecognizer for doing one finger rotations in iOS apps.

Official KTOneFingerRotationGestureRecognizer repository

FontLabel

A project that includes a module for drawing arbitrary .ttf fonts for iPhone.

Official FontLabel repository

Kal

A calendar component for the iPhone (the UI is designed to match MobileCal).

Official Kal repository

CHLayoutManager

Positioning and sizing constraints on views.

Official CHLayoutManager repository

TPKeyboardAvoiding

A drop-in universal solution for moving text fields out of the way of the keyboard in iOS.

Blog post about TPKeyboardAvoiding
Official TPKeyboardAvoiding repository

NSWindow+centerHorizontallyAndVertically

A category on NSWindow to place a window at the absolute center of the screen, and not center it horizontally but slap it right under the menu bar like NSWindow’s -center method does.

Source code in the UliKit repository

DTCoreText

NSAttributedString/Core Text additions to create attributed strings from HTML source and display them in a custom view.

Official DTCoreText repository

SPMediaKeyTap

Code for handling the media keys on a Mac keyboard in a way that allows them to be shared between applications but keeps the Apple applications from accidentally being triggered.

SPMediaKeyTap web site

SPMediaKeyTap source code

ADNOrdinalNumberFormatter

A subclass of Cocoa’s NSNumberFormatter that adds ordinals to numbers.

Official ADNOrdinalNumberFormatter repository