Platforms to show: All Mac Windows Linux Cross-Platform

NSColorListMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Cocoa Drawing MBS MacBase Plugin 7.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
A class for a Cocoa ColorList.
Example
// create a color list for the system color panel with your brand colors
Var list As New NSColorListMBS
If list.Create("My Brand") Then
list.setColor(NSColorMBS.colorWithRGB(0.1, 0.3, 0.7), "Blue")
list.setColor(NSColorMBS.colorWithRGB(0.9, 0.5, 0.1), "Orange")
Call list.writeToFile("") // save in ~/Library/Colors
End If

This class has no subclasses.

Some methods using this class:

Some properties using this class:

Some related classes:


The items on this page are in the following plugins: MBS MacBase Plugin.


NSCollectionViewUpdateItemMBS   -   NSColorMBS


The biggest plugin in space...