Skip to content

Summit 1.1.0

Choose a tag to compare

@forcequitOS forcequitOS released this 05 Nov 01:28
· 2 commits to main since this release
705dcbd

Pretty major release all things considered, buckle your seatbelts.

Changes:

  • Summit now supports macOS 13.0 Ventura!
  • SelectableItem and FooterLink are both completely dead, new alternatives have been built for them that are way simpler to integrate. We'll get to usage examples at the end.
  • Footer(text: "") has been replaced by Footer(label: ""), no actual usage changes though.
  • minorText has been renamed to subHeading, I couldn't think of the actual name for it when I was rushing to release 1.0...
  • There's now a way simpler method of using footers, but I'll also get to that at the end.
  • Two completely* brand new elements are here! MultiField (SelectableItem's replacement) and MultiSubheading. The names are both kinda self-explanatory, but pretty much, you click them to cycle through values. Now, never before seen, you can use MULTIPLE values, not artificially limited to two. This means you can do all sorts of.... stupid nonsense. But still, fun, right!
  • The minimize window button is disabled now, to bring greater authenticity to the About This Mac window.

This version of Summit took around 2 days or so to finish, not too bad.

Usage for all this new stuff:

MultiFields:

fields: [
	Field(label: "Label", value: "Value"),
	MultiField(label: "Label", values: "Value One", "Value Two", "Value Three", "etc.")
]

Footers:

footers: [
	Footer(label: "This is similar to the old way"), // You specify the label parameter now, no longer the “text” parameter
	"And this is the new way.", // Nothing else needed!
	Footer(label: "And this is a new footer WITH a link, seamless.", url: URL(string: "https://example.com")!) // Magical new replacement for the old FooterLinks
]

MultiSubheading & subHeading:

To use a standard subHeading, it's just subHeading: "Your text here", just like the previous minorText (Just that I wanted to rename it desperately.)

Here's how to use the new MultiSubheading (hint: it's very similar to the new MultiField):
multiSubheading: MultiSubheading(values: "Value One", "Value Two", "Value Three")