Skip to content
João Cardoso edited this page Dec 4, 2019 · 24 revisions

This is a list of all Sushi classes, divided into categories exactly as they are in the classes directory. Keep in mind that all classes inherit the methods from their frame types and parent classes, unless overwritten. Classes are implemented using Poncho-2.0, so they also inherit the methods provided by the library.

⚠️ Documentation for multiple classes originally written for 3.0 not be up to date.

Core

These are the simplest base abstract classes, which cannot be initialized and simply exist to be inherited by others.

Class Abstract Inherits
Callable ✔️
Labeled ✔️ Tipped
Tipped ✔️ Callable

Buttons

Here are listed classes that exist for the sole purpose of creating simple clickable buttons.

Class Abstract Inherits
Clickable ✔️ Tipped
GrayButton RedButton
Header Clickable
Help Clickable
RedButton TextedClickable
TextedClickable ✔️ Clickable

CheckButtons

Here are listed classes that implement more complex buttons, with a checkable behavior.

Class Abstract Inherits
Check TextedClickable
ColorPicker TextedClickable
ExpandCheck Check
IconChecck Check

Dropdowns

Here are listed classes that implement or make use of dropdown menus. They are extremely useful to avoid generating taint from using the default UIDropDownMenu API.

Class Abstract Inherits
DropButton Clickable
DropChoice Labeled
Dropdown Group

Sushi-3.1 🍣

Documentation
Class Reference
Best Practices

Feedback
Post an issue

Clone this wiki locally