CostumeKit :tophat:
Base types for theming an app.
CostumeKit is made of up a set of Swift protocols. They are meant to be implemented by you in your app.
Featured in Little Bites of Cocoa Bite #270: Implementing Theming with CostumeKit
Color :art:
Includes Color
and ColorPalette
protocols.
Usage:
Font :capital_abcd:
Includes Font
protocol, and one concrete SystemFont
implementation for iOS system fonts.
Usage:
SVG :stars:
Includes SVG
Protocol and SVGMetadata
type.
Usage:
What you do with SVGMetadata
is up to you. I recommend SwiftSVG from Michael Choe. Read more here to learn how to use it.
CostumeKit's goals are to be a generic solution, so no assumptions are made about how something should be retrieved from disk, parsed, etc. You'll need to implement these anyways, so nothing is forced on you.
Costume :tophat:
Includes Costume
protocol. Usage:
Cheers.