Skip to content

Release 1.9.0: front sub-groups from parent artwork, DocC on SPI, Dependabot - #7

Merged
melihcolpan merged 4 commits into
mainfrom
release/1.9.0
Oct 8, 2026
Merged

melihcolpan merged 4 commits into
mainfrom
release/1.9.0

Conversation

@melihcolpan

Copy link
Copy Markdown
Owner

Summary

The front sub-groups are redrawn from their parent muscles, the DocC documentation is published on the Swift Package Index, and CI gains Dependabot and a documentation check.

Front sub-groups

The front sub-groups were placeholder ovals and dots placed over the parent muscle. Each one is now cut from its parent's own artwork:

  • Chest: upperChest and lowerChest split the pectoral at about 42 % of its height, with a thin seam between them.
  • Front deltoid: frontDeltoid is the part of the deltoid next to the chest.
  • Abs: upperAbs and lowerAbs are the abdominal blocks above and below the middle of the abs column.
  • Serratus: serratus is the finger-like slips on the ribs.
  • Hip flexors: hipFlexors is the top of the quadriceps, at the rectus femoris origin.
  • Quadriceps heads: innerQuad and outerQuad are the innermost and outermost quadriceps pieces (vastus medialis and lateralis).

Sub-groups are only drawn with .showSubGroups(), so the default rendering is unchanged and the existing snapshots still match. A new test checks that every sub-group lies inside its parent, and new snapshots cover the front sub-groups.

Documentation

  • Hosting: .spi.yml lets the Swift Package Index build and host the DocC documentation.
  • New articles: Sub-Groups and Regions, Accessibility, and Performance.
  • Heatmap guide: it now explains when a color scale's own interpolation is used.
  • Getting Started fix: the package URL pointed at another account and at version 1.5.0.
  • Warnings: the documentation now builds without warnings.

CI

  • Dependabot: it checks the workflow's GitHub Actions weekly.
  • Documentation check: the iOS job builds the documentation and fails on warnings, such as a link to a renamed symbol.

The front sub-groups were placeholder ovals and dots placed over the parent
muscle: two ovals inside each pectoral, a small circle on the shoulder,
dots on the ribs and hips, and ovals on the thighs. Each one is now cut
from its parent's own artwork:

- upperChest / lowerChest: the pectoral split at about 42 % of its height,
  with a thin seam between the two parts.
- frontDeltoid: the part of the deltoid next to the chest. On the male body
  the single deltoid shape is split so that part holds about 45 % of its
  area; the female artwork already separates the heads, so its inner head
  is used.
- upperAbs / lowerAbs: the abdominal blocks above and below the middle of
  the abs column, using the existing block shapes.
- serratus: the small finger-like slips in the upper half of the obliques.
- hipFlexors: the top fifth of the main quadriceps shape (the rectus
  femoris origin).
- innerQuad / outerQuad: the innermost and outermost quadriceps pieces
  (vastus medialis and vastus lateralis).

Sub-groups are only drawn with .showSubGroups(), so the default rendering
is unchanged; the existing snapshots still match.

- New test: every sub-group lies inside its parent's bounds on all views.
- New snapshots of the front sub-groups for both bodies.
- New README screenshot front_subgroups next to back_regions.
- Add .spi.yml so the Swift Package Index builds and hosts the DocC
  documentation for the MuscleMap target.
- New articles:
  - "Sub-Groups and Regions": showing sub-groups, always-visible
    sub-groups, the back regions and checking a mapping with isDrawable.
  - "Accessibility": what VoiceOver reads, per-side elements and the 11
    localizations.
  - "Performance": the path cache, BodyView.preloadArtwork() and Swift 6
    concurrency.
- Heatmap guide: a color scale's own interpolation is used unless a
  non-linear one is set on the view.
- Getting Started: the package URL pointed at another account and an old
  version; it now uses github.com/melihcolpan/MuscleMap.git, and the
  CocoaPods line was added.
- Fix an ambiguous symbol link in the UIKit article. The documentation now
  builds without warnings.
- Dependabot checks the GitHub Actions used by the workflow once a week and
  groups their updates into one pull request.
- The iOS job now builds the DocC documentation and fails when it has
  warnings, such as a link to a symbol that was renamed or removed.
  Verified by adding a broken link: the check reports it and fails.
- README: mention the documentation build, Dependabot and the hosted API
  documentation.
- Bump the podspec and the SPM / CocoaPods install snippets to 1.9.0.
@melihcolpan
melihcolpan merged commit 3aa662b into main Oct 8, 2026
4 checks passed
@melihcolpan
melihcolpan deleted the release/1.9.0 branch October 8, 2026 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant