christoff-1992 / ModernAppKit

An assortment of enhancements to AppKit to support modern app development.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ModernAppKit

An assortment of enhancements to AppKit to support modern app development. Addresses deficiencies in Auto Layout support, layer-backed views, and shadows.

Requires at least Swift 4.1. Tested on macOS 10.13. MIT license.

AutoLayoutTextView

An NSTextView subclass that implements intrinsicContentSize so that the text view can participate in layout outside of a scroll view.

Label

An AutoLayoutTextView subclass that acts like a label. Specifically, it is non-editable, does not draw a background by default, allows vibrancy, etc.

LayerView

A layer-backed view with additional APIs for setting background color, border width, border color, and corner radius. Use if you do not need to do custom drawing. Supports animations.

ShadowView

A container view that draws a rectangular shadow underneath its content view in a performant manner.

About

An assortment of enhancements to AppKit to support modern app development.


Languages

Language:Swift 82.8%Language:Objective-C 17.2%