153 Commits

Author SHA1 Message Date
github-actions[bot] 1029aba1ad Bump version to 2.2.0 2.2.0 2026-03-08 07:27:27 +00:00
Antoine van der Lee 0e9e13a9ee Merge pull request #38 from AvdLee/full-width-frame-rule 2026-03-07 21:40:44 +01:00
Antoine van der Lee d0a436dafa Merge pull request #35 from AvdLee/refrencing-macos-apis 2026-03-07 21:39:58 +01:00
Omar Elsayed fe8fd76790 Update layout-best-practices.md 2026-03-07 16:25:22 +02:00
Omar Elsayed a416747cb5 Add full-width frame rule to layout best practices
Prefer .frame(maxWidth: .infinity, alignment:) over wrapping views
in HStack + Spacer for full-width layout.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 16:18:35 +02:00
Omar Elsayed e20a5c2aed Update weekly installs badge from 7.0k to 7.1k 2026-03-07 11:23:19 +02:00
Omar Elsayed c270ea7183 Update swiftui-expert-skill/references/macos-window-styling.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-07 11:17:57 +02:00
Omar Elsayed 587622aceb Update swiftui-expert-skill/references/latest-apis.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-07 11:15:57 +02:00
Omar Elsayed 6107089b47 Update swiftui-expert-skill/references/macos-scenes.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-07 11:14:31 +02:00
Omar Elsayed 13f034c0ce Update swiftui-expert-skill/references/list-patterns.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-07 11:13:03 +02:00
Omar Elsayed edbe0e9eef Update README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-07 11:11:45 +02:00
github-actions[bot] 4e76c465fd Bump version to 2.1.1 2.1.1 2026-03-07 09:10:08 +00:00
Omar Elsayed 8210c5b8aa Merge pull request #36 from AvdLee/feature/compositing-group-clipshape-guidance
Add .compositingGroup() + .clipShape() antialiasing fringe guidance
2026-03-07 11:08:48 +02:00
Omar Elsayed 8b1e89ef9f Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-07 11:06:26 +02:00
Omar Elsayed e99a89151b Merge pull request #34 from lanserxt/main
onGeometryChange usage suggestion
2026-03-07 11:04:16 +02:00
Omar Elsayed 5320a611d7 Update weekly installs badge from 6.6k to 7.0k 2026-03-07 05:54:56 +02:00
Antoine van der Lee 51e8e2ee11 Merge pull request #37 from AvdLee/fix/stars-badge
Fix stars badge showing as invalid
2026-03-06 22:15:45 +01:00
Antoine van der Lee c993f77ded Fix stars badge showing as invalid
The GitHub stars shields.io endpoint defaults to the "social" style,
which intermittently renders as "invalid". Adding ?style=flat forces
the standard flat style consistent with the other badges. Also updated
the link to point to the stargazers page.
2026-03-06 22:04:41 +01:00
Antoine van der Lee b6022c5e7f Add compositingGroup + clipShape antialiasing fringe guidance
When layered views (overlay/background) are clipped with clipShape,
each layer is antialiased separately, producing visible color fringes
at rounded corners. Adding .compositingGroup() before .clipShape()
composites all layers first so antialiasing is applied only once.

Credit: Axel Le Pennec for surfacing this issue.
2026-03-06 21:59:19 +01:00
Anton Gubarenko f400713574 More precise suggestion 2026-03-06 23:14:35 +03:00
github-actions[bot] 9ddc34ec0b chore: sync README references [skip ci] 2026-03-06 19:36:17 +00:00
Omar Elsayed 981a23ac1f Add macOS references; update Table & clipboard 2026-03-06 21:34:01 +02:00
github-actions[bot] 6e321a61c6 Bump version to 2.1.0 2.1.0 2026-03-06 13:06:20 +00:00
Antoine van der Lee d7b28abb01 Merge pull request #33 from AvdLee/feature/wwdc25-transcript-improvements
Enrich skill with WWDC25 SwiftUI session insights
2026-03-06 14:05:08 +01:00
Antoine van der Lee 25078ed06d Update swiftui-expert-skill/SKILL.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-06 14:04:43 +01:00
Antoine van der Lee 0f1e993469 Address PR #33 review feedback from Copilot and EngOmarElsayed
- Replace "view models" with architecture-neutral language in
  SKILL.md and performance-patterns.md (per AGENTS.md guidelines)
- Fix presentationBackground -> presentationBackground(_:) in
  liquid-glass.md for consistent Swift symbol naming
- Fix concentric corner style example (.continuous -> .concentric)
  in latest-apis.md
- Use full signature scrollEdgeEffectStyle(_:for:) in quick lookup
  table
- Add Scene Bridging code example in latest-apis.md
2026-03-06 13:43:49 +01:00
Anton Gubarenko ac5e5ac3df onGeometryChange usage suggestion 2026-03-06 14:18:49 +03:00
Antoine van der Lee 0507a9e844 Enrich skill with WWDC25 SwiftUI session insights via Sosumi
Analyzed 7 WWDC25 session transcripts fetched via sosumi.ai to
identify new APIs, patterns, and best practices not yet covered
by the skill.

- latest-apis.md: Add ~15 new iOS 26+ APIs (ToolbarSpacer,
  tabViewBottomAccessory, Tab search role, searchToolbarBehavior,
  @Animatable macro, sheet morphing, rich text TextEditor, WebView,
  dragContainer, slider ticks, scene bridging, and more)
- performance-patterns.md: Add @Observable dependency granularity
  pattern, environment update cost, nested lazy scroll optimization,
  and off-main-thread closure guidance
- animation-advanced.md: Add @Animatable/@AnimatableIgnored macro
  section with before/after examples
- liquid-glass.md: Explain glass sampling region (why
  GlassEffectContainer matters), toolbar monochrome icons, sheet
  presentation changes, scroll edge effects
- SKILL.md: Update core guidelines and review checklist with new
  patterns

Sources:
- What's new in SwiftUI (WWDC25, 256)
- Optimize SwiftUI performance with Instruments (WWDC25, 306)
- Explore concurrency in SwiftUI (WWDC25, 266)
- Build a SwiftUI app with the new design (WWDC25, 323)
- Cook up a rich text experience (WWDC25, 280)
- Meet WebKit for SwiftUI (WWDC25, 231)
2026-03-06 11:36:16 +01:00
Omar Elsayed 020c48af27 Add badges to README for license and stats 2026-03-03 11:39:29 +02:00
Omar Elsayed b6027399e6 Enhance README with GitHub badges
Added GitHub release and stars badges to README.
2026-03-03 11:34:56 +02:00
Omar Elsayed 711dc303bc Add weekly installs badge to README 2026-03-03 11:23:58 +02:00
Omar Elsayed e8e2e81fdf Merge pull request #32 from rob/fix-urls
Fix repository URLs in .claude-plugin/ files
2026-03-03 06:46:29 +02:00
Rob Gabaree a61e2e39c1 Fix repository URL 2026-03-02 20:47:45 -05:00
Rob Gabaree 9a632f5a8b Fix repository URL 2026-03-02 20:47:30 -05:00
github-actions[bot] 3b1c69a885 Bump version to 2.0.1 2.0.1 2026-03-02 09:31:46 +00:00
Omar Elsayed 5b592c0bbe Merge pull request #30 from AvdLee/fix/issue-23
Add @ObservationIgnored guidance for property wrappers in @Observable classes
2026-03-02 11:30:35 +02:00
Antoine van der Lee ae851607fe Merge pull request #31 from mehmetbaykar/patch-1
Fix Sosumi MCP link in README
2026-03-02 10:12:58 +01:00
Mehmet Baykar 1937547a3f Fix Sosumi MCP link in README
Updated the link to the Sosumi MCP repository in the README.
2026-03-01 15:17:07 +01:00
Omar Elsayed 43b532da1a Update state-management.md 2026-02-28 17:01:20 +02:00
github-actions[bot] b4d29fba36 Bump version to 2.0.0 2.0.0 2026-02-27 17:28:46 +00:00
Antoine van der Lee 304573bea2 Merge pull request #29 from AvdLee/feature/update-swiftui-apis-skill 2026-02-27 18:28:15 +01:00
Antoine van der Lee b693c27aac Merge pull request #28 from AvdLee/feature/latest-apis-deprecation-guide 2026-02-27 18:27:59 +01:00
Antoine van der Lee a3a97242f1 Merge pull request #27 from AvdLee/swiftlee-articles-optimization 2026-02-27 18:27:30 +01:00
Antoine van der Lee f68f50d939 Restore iOS 26+ section, replace Liquid Glass with cross-reference
Only the Liquid Glass subsection should have been removed (it
duplicates references/liquid-glass.md). The other iOS 26+ entries
(scroll edge effects, background extension, tab bar minimize) are
new API guidance and belong here.

- Re-add iOS 26+ to Table of Contents
- Replace Liquid Glass code examples with a link to liquid-glass.md
- Keep Scroll Edge Effects, Background Extension, Tab Bar subsections
2026-02-27 15:57:50 +01:00
Antoine van der Lee 6cd95aa1b6 Address Omar's review: move animation(_:value:) to Always Use, remove Liquid Glass section
- Move animation(_:value:) from iOS 17+ to Always Use section since
  it back-deploys to iOS 13+
- Remove entire "When Targeting iOS 26+" section (Liquid Glass, scroll
  edge effects, background extension, tab bar) since it duplicates
  the existing references/liquid-glass.md and these are new APIs,
  not deprecated-to-modern transitions
- Update Table of Contents and Quick Lookup Table accordingly
2026-02-27 15:53:32 +01:00
Antoine van der Lee 4cbd9e0655 Add maintenance skill to scan and update SwiftUI API deprecations
Adds a cross-IDE agent skill at .agents/skills/update-swiftui-apis/
that uses the Sosumi MCP to systematically scan Apple's documentation
for deprecated SwiftUI APIs and update the latest-apis.md reference.

Includes a categorized scan manifest covering navigation, appearance,
state management, gestures, animations, tabs, accessibility, Liquid
Glass, and WWDC session paths.
2026-02-27 14:20:52 +01:00
Antoine van der Lee da2fffa489 Remove redundant checklist items covered by latest-apis.md
The @Observable and onChange checklist items are specific instances
already covered by "No deprecated modifiers used" + the required
latest-apis.md reference. Keeping them would imply they're more
important than the other 20+ transitions in the guide.
2026-02-27 13:36:02 +01:00
Antoine van der Lee 3111eb3e07 Address Codex review: fix @Entry availability, reframe GeometryReader
- Move @Entry macro to "Always Use" section: Apple docs confirm it
  back-deploys to iOS 13+ (Xcode 16 macro, not iOS 18+ only)
- Remove GeometryReader from deprecated lookup table: it is not
  deprecated, containerRelativeFrame/visualEffect are alternatives
  for specific use cases, not replacements
- Reframe GeometryReader prose as a suggestion per AGENTS.md guidelines
2026-02-27 13:27:20 +01:00
github-actions[bot] 9759da70ff chore: sync README references [skip ci] 2026-02-27 12:20:29 +00:00
Antoine van der Lee ed6cb9be04 Add version-segmented deprecated API guide (latest-apis.md)
Based on a comparison of Apple's documentation using the Sosumi MCP,
we found the latest recommended APIs to use. This adds a comprehensive
deprecated-to-modern API reference with 25+ transitions organized by
minimum deployment target (iOS 15+ through iOS 26+).

- Create references/latest-apis.md with version-segmented code examples
- Elevate latest-apis.md as required first step in all SKILL.md workflows
- Add Latest APIs review checklist section
2026-02-27 13:19:39 +01:00