Skip to content

Universal image#109

Open
mikhailChelbaev wants to merge 3 commits intocircular-progress-improvementsfrom
universal-image
Open

Universal image#109
mikhailChelbaev wants to merge 3 commits intocircular-progress-improvementsfrom
universal-image

Conversation

@mikhailChelbaev
Copy link
Collaborator

  • Added UniversalImage — a lightweight, platform-agnostic image type that works with both UIKit and SwiftUI
  • Updated Avatar and AvatarGroup to use UniversalImage for more flexible local image handling
  • Added new image parameter to ButtonVM for simpler and clearer image configuration

Deprecations:

  • imageSrc in ButtonVM → use image: UniversalImage
  • imageRenderingMode in ButtonVM → use image.withRenderingMode(_:)
  • local(_ name: String, _ bundle: Bundle? = nil) in AvatarVM.ImageSource → use local(_ image: UniversalImage)
  • sfSymbol in AvatarVM.Placeholder → use image
  • icon in AvatarVM.Placeholder → use image

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