Skip to content

Releases: forcequitOS/Summit

Summit 1.1.1

05 Nov 01:50
460f020

Choose a tag to compare

Minor bug fix for something I discovered after I started trying to use the new version of the library

Changes:

  • Variables for the current index that a MultiField or MultiSubheadline is currently on are no longer persistent and they reset upon the view appearing. Whoops.

Summit 1.1.0

05 Nov 01:28
705dcbd

Choose a tag to compare

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")

Summit 1.0.0

03 Nov 02:16
0807029

Choose a tag to compare

The first official public release of Summit! Check the readme for a usage example!
This took me around 3 days (Obviously not constantly working on it) to make, with some assistance from ChatGPT and the internet.

My MacBook is at 6% and it's 10 PM. Have fun.