Swiftpack.co - Swift Packages by gonzalezreal

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.

Packages published by gonzalezreal

gonzalezreal/swift-markdown-ui 2.3.0
Display and customize Markdown text in SwiftUI
⭐️ 2,075
πŸ•“ 15 weeks ago
πŸ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
MarkdownUI 2.3.0
15 weeks ago
## What's Changed * Added: Mac Catalyst support (#287) * Added: `FontWidth`, a text style that adjusts the font width (thanks @kirkbig #266) * Changed: Use `#if canImport(...)` instead of `#if os(...)` (thanks @MojtabaHs #268) * Fixed: Mac Catalyst build failures (thanks @kirkbig #283) * Changed: Use `assertSnapshot(of:...)` instead of the deprecated `assertSnapshot(matching:...)` (thanks @kirkbig #284) **Full Changelog**: https://github.com/gonzalezreal/swift-markdown-ui/compare/2.2.0...2.3.0
MarkdownUI 2.2.0
31 weeks ago
## What's Changed * Fixed: Apply the current text style foreground color to code blocks (#228) * Fixed: Unexpected code block truncation (#256) * Added: Support for visionOS (thanks @Rminsh, #252) * Infra: Adopt [gonzalezreal/NetworkImage](https://github.com/gonzalezreal/NetworkImage) as the default image provider (#258) * Added: `MarkdownContent` HTML rendering (thanks @srna, #253) * Infra: Enable text selection in Demo (#259) ## New Contributors * @Rminsh made their first contribution in https://github.com/gonzalezreal/swift-markdown-ui/pull/252 * @srna made their first contribution in https://github.com/gonzalezreal/swift-markdown-ui/pull/253 **Full Changelog**: https://github.com/gonzalezreal/swift-markdown-ui/compare/2.1.0...2.2.0
MarkdownUI 2.1.0
1 year ago
## What's Changed * Infrastructure: Refactor Markdown parsing (#210) * Infrastructure: Bump CI workflow's Xcode to 14.2 (#212) * Fixed: Deprecation message (#214) * Added: Provide access to the language and the content of a code block from the body of the `codeBlock` style (#215) * Added: Provide access to the block's Markdown content from the body of most of the block styles (#220) * Added: Render HTML line breaks `<br>` (#221) * Changed: Move the `fixedSize` modifier from the paragraph view to the block style in all the bundled themes (#222) **Full Changelog**: https://github.com/gonzalezreal/swift-markdown-ui/compare/2.0.2...2.1.0
MarkdownUI 2.0.2
1 year ago
## What's Changed * Render first level inline images by @gonzalezreal in https://github.com/gonzalezreal/swift-markdown-ui/pull/193 * Remove `Markdown` view `@State` property by @gonzalezreal in https://github.com/gonzalezreal/swift-markdown-ui/pull/197 * Add `ImageRenderer` demo by @gonzalezreal in https://github.com/gonzalezreal/swift-markdown-ui/pull/198 **Full Changelog**: https://github.com/gonzalezreal/swift-markdown-ui/compare/2.0.1...2.0.2
MarkdownUI 2.0.1
1 year ago
## What's Changed * Fix the image cache in the default image provider by @gonzalezreal in https://github.com/gonzalezreal/swift-markdown-ui/pull/187 **Full Changelog**: https://github.com/gonzalezreal/swift-markdown-ui/compare/2.0.0...2.0.1
MarkdownUI 2.0.0
1 year ago
## Overview MarkdownUI 2 has been rewritten from scratch and brings a ton of new features and improvements like: - [GitHub Flavored Markdown](https://github.github.com/gfm/) (tables, task lists, strikethrough text, and autolinks) - Native SwiftUI rendering - Customization support via themes, text styles, and block styles. These new features come with the cost of a few **breaking changes** that these notes will help you to address. ## Minimum requirements You can use MarkdownUI 2 on the following platforms: - macOS 12.0+ - iOS 15.0+ - tvOS 15.0+ - watchOS 8.0+ Some features, like displaying tables or multi-image paragraphs, require macOS 13.0+, iOS 16.0+, tvOS 16.0+, and watchOS 9.0+. ## Updated package name To reflect the Swift community naming conventions, the package has been renamed from `MarkdownUI` to `swift-markdown-ui`. So, you may eventually need to update any Xcode projects or `Package.swift` files that depend on MarkdownUI. ## Rendering MarkdownUI 2 uses SwiftUI primitives to render Markdown and no longer depends on [gonzalezreal/AttributedText](https://github.com/gonzalezreal/AttributedText). ## Creating Markdown content MarkdownUI 2 introduces a new domain-specific language to create Markdown content and no longer depends on [gonzalezreal/SwiftCommonMark](https://github.com/gonzalezreal/SwiftCommonMark). One significant difference when using MarkdownUI 2 is that `MarkdownContent` replaces `Document` by providing similar functionality. Another thing to be aware of is the different naming of some of the types you use to compose Markdown content: - Use `Blockquote` instead of `BlockQuote`. - Use `NumberedList` instead of `OrderedList`. - Use `BulletedList` instead of `BulletList`. - Use `InlineImage` instead of `Image`. - Use `InlineLink` instead of `Link`. - Use `Code` instead of `InlineCode`. ## Loading asset images MarkdownUI 2 introduces the `ImageProvider` protocol and its conforming types `DefaultImageProvider` and `AssetImageProvider`. These types and the new `markdownImageProvider(_:)` modifier replace the `MarkdownImageHandler` type and the `setImageHandler(_:forURLScheme:)` modifier. The following example shows how to configure the asset image provider to load images from the main bundle. ```swift Markdown { "![A dog](dog)" "― Photo by AndrΓ© Spieker" } .markdownImageProvider(.asset) ``` ## Customizing link behavior The `onOpenMarkdownLink(perform:)` modifier in MarkdownUI 1.x was provided to enable link behavior customization in macOS 11.0, iOS 14.0, and tvOS 14.0. This modifier is no longer available in MarkdownUI 2 since it does not support those platforms. However, you can customize the link behavior by setting the `openURL` environment value with a custom `OpenURLAction`. ## Styling Markdown MarkdownUI 1.x offered a few options to customize the content appearance. In contrast, MarkdownUI 2 brings the new `Theme`, `TextStyle`, and `BlockStyle` types that let you apply a custom appearance to blocks and text inlines in a Markdown view. Consequently, the `MarkdownStyle` type, all of its subtypes, and the `markdownStyle(_:)` modifier are no longer available in MarkdownUI 2.
MarkdownUI 1.1.1
1 year ago
## What's Changed * Update GitHub actions by @gonzalezreal in https://github.com/gonzalezreal/MarkdownUI/pull/110 * Fix custom font resolution by @gonzalezreal in https://github.com/gonzalezreal/MarkdownUI/pull/111 * Fix crash when rendering a code block without a closing fence by @gonzalezreal in https://github.com/gonzalezreal/MarkdownUI/pull/112 * Fix hang when trying to load invalid image by @gonzalezreal in https://github.com/gonzalezreal/MarkdownUI/pull/113 * Fix rendering thematic break with centered or right aligned text by @gonzalezreal in https://github.com/gonzalezreal/MarkdownUI/pull/114 **Full Changelog**: https://github.com/gonzalezreal/MarkdownUI/compare/1.1.0...1.1.1
MarkdownUI 1.1.0
2 years ago
## What's Changed * Remove MarkdownStyle.Color by @gonzalezreal in https://github.com/gonzalezreal/MarkdownUI/pull/93 * Resolve fonts considering the environment's size category by @gonzalezreal in https://github.com/gonzalezreal/MarkdownUI/pull/94 * Use the environment's line spacing by @gonzalezreal in https://github.com/gonzalezreal/MarkdownUI/pull/95 **Full Changelog**: https://github.com/gonzalezreal/MarkdownUI/compare/1.0.0...1.1.0
1.0.0
2 years ago
## What's Changed * Breaking change: New stable API and simplified customization appearance * Changed: New rendering implementation. * Added: Enable loading images from bundles * Added: Render thematic breaks * Added: Enable custom markdown link handling * Added: Make text not selectable on iOS * Changed: Improved list rendering. * Removed: `NSAttributedString` based HTML block rendering * Infrastructure: Remove watchOS scheme, remove unnecessary availability attributes and replace SwiftFormat with swift-format. * Infrastructure: Use Xcode 13.2 for CI * Infrastructure: New demo app with tvOS and Catalyst targets * Infrastructure: Improved README and documentation * Bug fixed: View update issues on iOS 15
MarkdownUI 0.5.2
2 years ago
- Set platform requirements - Add snapshot test for markdown images - Fix an issue with image loading
iOS macOS watchOS tvOS macCatalyst
gonzalezreal/DefaultCodable 1.2.1
A convenient way to handle default values with Swift Codable types
⭐️ 354
πŸ•“ 2 years ago
πŸ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
DefaultCodable 1.2.1
2 years ago
Add `Hashable` conditional conformance to the `Default` property wrapper.
DefaultCodable 1.2.0
3 years ago
Add `EmptyDictionary` default value provider.
DefaultCodable 1.1.1
4 years ago
Fix unit tests.
DefaultCodable 1.1.0
4 years ago
Add `Zero` and `One` default value providers.
DefaultCodable 1.0.2
4 years ago
Add `Equatable` conformance to `@Default` property wrapper.
DefaultCodable 1.0.1
4 years ago
Added LICENSE
DefaultCodable 1.0.0
4 years ago
gonzalezreal/AttributedText 1.0.1
Render attributed strings in SwiftUI
⭐️ 121
πŸ•“ 1 year ago
πŸ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
1.0.1
1 year ago
## What's Changed * Fix Publishing changes from within view updates is not allowed, this … by @kaylanx in https://github.com/gonzalezreal/AttributedText/pull/25 ## New Contributors * @kaylanx made their first contribution in https://github.com/gonzalezreal/AttributedText/pull/25 **Full Changelog**: https://github.com/gonzalezreal/AttributedText/compare/1.0.0...1.0.1
AttributedText 1.0.0
2 years ago
## What's Changed * Allow overriding how links are opened * Disable text selection and implement a gesture recognizer for link interaction in iOS
AttributedText 1.0.0-beta.2
2 years ago
## What's Changed * Fix platform requirements * Allow overriding how links are opened * Add documentation
AttributedText 1.0.0-beta
2 years ago
## What's Changed * Relax platform requirements to macOS 10.15, iOS 13.0 and tvOS 13.0 * Allow overriding how links are opened * Add documentation
AttributedText 0.3.1
2 years ago
* Set platform requirements and remove playgrounds
AttributedText 0.3.0
3 years ago
- Refactor the implementation to remove the need for a preference and simplify the code in general.
AttributedText 0.2.3
3 years ago
- Take into account safe area insets
AttributedText 0.2.2
3 years ago
- Add support for macCatalyst
AttributedText 0.2.1
3 years ago
- Fix macOS resize issue - More simple layout strategy
AttributedText 0.2.0
3 years ago
* Refactor the view layout using a store shared between the main view and the native view wrapper. Now the height of the view is updated during the layout phase. This has positive side-effects like proper previews and faster updates. On top of that, we can now do proper snapshot testing.
iOS macOS tvOS
gonzalezreal/Markup 2.3.0
Lightweight markup text formatting in Swift
⭐️ 95
πŸ•“ 4 years ago
πŸ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Markup 2.3.0
4 years ago
Add proper support for Swift Package Manager and Xcode 11 / Swift 5.1
Markup 2.2
4 years ago
* Swift 5.0 support
Markup 2.1
5 years ago
- Swift 4.2 support (thanks to @khose ✨) - Add SwiftFormat to Build Phases
Markup 2.0
6 years ago
Add support for Xcode 9 and Swift 4.
Markup 2.0 beta 1
6 years ago
Add support for Xcode 9 and Swift 4.
Markup 1.0
6 years ago
Initial release!
iOS macOS watchOS tvOS
gonzalezreal/AdaptiveCardUI 0.1.3
Snippets of UI, authored in JSON and rendered with SwiftUI
⭐️ 90
πŸ•“ 3 years ago
πŸ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
AdaptiveCardUI 0.1.3
3 years ago
- Fix iOS build - Fix watchOS build in Swift Package Index
AdaptiveCardUI 0.1.2
3 years ago
- Run snapshot tests separately - Update for Xcode 12.2 and macOS Big Sur
AdaptiveCardUI 0.1.1
3 years ago
This release adds `ImageSet` element rendering
AdaptiveCardUI 0.1.0
3 years ago
This release implements the following Adaptive Cards features: * Decoding and encoding Adaptive Card JSON format * Content adaptation - `fallback` and `requires` * `TextBlock` element rendering * `RichTextBlock` element rendering * `Image` element rendering * `ActionSet` element rendering * `Container` element rendering * `ColumnSet` and `Column` elements rendering * `FactSet` element rendering * Extensibility through `CustomCardElement`s * Overridable and extensible image styles Tested with iOS 14.0 and macOS 11.0. Builds on tvOS 14.0 and watchOS 7.0 targets.
iOS macOS watchOS tvOS linux macOS iOS
gonzalezreal/NetworkImage 6.0.0
Asynchronous image loading in SwiftUI
⭐️ 58
πŸ•“ 31 weeks ago
πŸ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
NetworkImage 6.0.0
31 weeks ago
## What's Changed * Rewrite the library using Swift concurrency by @gonzalezreal in https://github.com/gonzalezreal/NetworkImage/pull/30 **Full Changelog**: https://github.com/gonzalezreal/NetworkImage/compare/5.0.0...6.0.0
NetworkImage 5.0.0
2 years ago
## What's Changed * Use a state object to load images by @gonzalezreal in https://github.com/gonzalezreal/NetworkImage/pull/28 **Full Changelog**: https://github.com/gonzalezreal/NetworkImage/compare/4.0.1...5.0.0
NetworkImage 4.0.1
2 years ago
## What's Changed * Fix infinite loop in iOS 14 when embedding NetworkImage inside HStack by @gonzalezreal in https://github.com/gonzalezreal/NetworkImage/pull/27 **Full Changelog**: https://github.com/gonzalezreal/NetworkImage/compare/4.0.0...4.0.1
NetworkImage 4.0.0
2 years ago
## What's Changed * Use a UIScheduler to drive image updates by @gonzalezreal in https://github.com/gonzalezreal/NetworkImage/pull/23 * Allow specifying the scale to use for the image by @gonzalezreal in https://github.com/gonzalezreal/NetworkImage/pull/24 * Update NetworkImage API to resemble the new AsyncImage in iOS 15 by @gonzalezreal in https://github.com/gonzalezreal/NetworkImage/pull/26 **Full Changelog**: https://github.com/gonzalezreal/NetworkImage/compare/3.1.2...4.0.0
NetworkImage 3.1.2
2 years ago
## What's Changed * Update project configuration
NetworkImage 3.1.1
2 years ago
* Set platform requirements * Bump dependencies
NetworkImage 3.1.0
2 years ago
- Image store improvements - Relax platform requirements to macOS 10.15, iOS 13.0, tvOS 13.0 and watchOS 6.0
NetworkImage 3.0.1
2 years ago
Update cached images immediately #17: - If the image is already in the cache, we update the state immediately, avoiding a thread hop and an unnecessary animation.
NetworkImage 3.0.0
2 years ago
New features: - Use an explicit animation for `NetworkImage` state changes. - Add `networkImageScheduler(_:)` and `networkImageLoader(_:)` modifiers for animations and UI testing. Breaking changes: - `NetworkImageCache` replaces both `ImageCache` and `ImmediateImageCache`. - `NetworkImageLoader` replaces `ImageDownloader`. - The `NetworkImage.synchronous()` method has been removed and is superseded by the new `networkImageScheduler(_:)` view modifier.
NetworkImage 2.1.0
3 years ago
- Allow URL updates in parent views - Replace `isSynchronous` global property with `synchronous()` modifier.
iOS macOS watchOS tvOS
gonzalezreal/SimpleNetworking 2.0.0
Scalable and composable API Clients using Swift Combine
⭐️ 51
πŸ•“ 2 years ago
πŸ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
SimpleNetworking 2.0.0
3 years ago
This release contains significant improvements and breaking changes: - Relax deployment target and use `@available` attribute where needed (#12). - Remove deprecated image loading code (#12). - Unified error handling and error response decoding (#13). - Rename `Endpoint` to `APIRequest`, for the sake of consistency (#15). - Add convenience factory methods for `GET`, `POST`, `PUT`, `PATCH` and `DELETE` requests (#17). - Better API for stubbing response (#18). - Write documentation for all the public types in the library (#16) and update the README (#19).
SimpleNetworking 1.3.0
3 years ago
- Deprecate image loading functionality, as it has been moved to [NetworkImage](https://github.com/gonzalezreal/NetworkImage). - Export Logging module
SimpleNetworking 1.2.0
4 years ago
- Add headers parameter to `Endpoint` public initializers - Add `logLevel` parameter in `APIClient` public initializer - Add support for data URIs in `ImageDownloader` - Add test coverage to `ImageDownloader`
SimpleNetworking 1.1.0
4 years ago
* Fix immediate cache issue (#2) * Add request and response logging (#3)
SimpleNetworking 1.0.0
4 years ago
- `Endpoint` - `APIClient` - `ImageDownloader` - `ImagePrefetcher` - `HTTPStubProtocol` - A few unit tests
iOS macOS watchOS tvOS
gonzalezreal/SwiftCommonMark 1.0.0
Parse and create CommonMark documents in Swift.
⭐️ 23
πŸ•“ 2 years ago
πŸ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
SwiftCommonMark 1.0.0
2 years ago
Breaking changes: - Updated `Document` initializers. - Removed `Document.applyingTransform(:)` method. - Removed `Document.imageURLs` property. - Use element types as the associated values in `Inline` and `Block` enums. - `@BlockBuilder` has been replaced by `@BlockArrayBuilder`. - `@InlineBuilder` has been replaced by `@InlineArrayBuilder`. - `@ItemBuilder` has been replaced by `@ItemArrayBuilder`. New: - Added `renderCommonMark()` and `renderHTML(options:)` to `Document`, `Block` and `Inline`. - Added documentation for public APIs - Embedded cmark C library.
SwiftCommonMark 1.0.0-beta.2
2 years ago
Breaking changes: - Use element types as the associated values in `Inline` and `Block` enums.
SwiftCommonMark 1.0.0-beta
2 years ago
Breaking changes: - Updated `Document` initializers. - Removed `Document.applyingTransform(:)` method. - Removed `Document.imageURLs` property. - Added argument labels to `Block` and `Inline` cases. - `Block.list` no longer uses the `List` type, which has been repurposed for multi-expression closures in `@BlockArrayBuilder`. - `Item` has been repurposed for multi-expression closures in `@ItemArrayBuilder`. - `@BlockBuilder` has been replaced by `@BlockArrayBuilder`. - `@InlineBuilder` has been replaced by `@InlineArrayBuilder`. - `@ItemBuilder` has been replaced by `@ItemArrayBuilder`. New: - Added `renderCommonMark()` and `renderHTML(options:)` to `Document`, `Block` and `Inline`. - Added documentation for public APIs - Embedded cmark C library.
SwiftCommonMark 0.1.2
2 years ago
- Fixed: Parse image URLs within links (thanks to @GyroJoe)
SwiftCommonMark 0.1.1
3 years ago
- Adds a method to apply text transformations in a document.
SwiftCommonMark 0.1.0
3 years ago
- Backwards compatibility with Swift 5.3 - Documentation - CI jobs
SwiftCommonMark 0.1.0-beta
3 years ago
- Parse and create CommonMark documents - Requires Xcode 12.5 beta
gonzalezreal/Reusable 1.0.0
iOS cell registration and reusing with generics and protocol extensions
⭐️ 13
πŸ•“ 4 years ago
πŸ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Reusable 1.0.0
4 years ago
iOS tvOS
gonzalezreal/swift-any-value 2.0.0
A Swift Codable type that serves as a placeholder for any JSON value
⭐️ 3
πŸ•“ 50 weeks ago
πŸ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
AnyValue 2.0.0
50 weeks ago
## Updated package name To reflect the Swift community naming conventions, the package has been renamed from `AnyValue` to `swift-any-value`. So, you may eventually need to update any Xcode projects or `Package.swift` files that depend on AnyValue.
AnyValue 1.0.0
4 years ago
gonzalezreal/UnifiedLogging 1.0.0
SwiftLog unified logging backend
⭐️ 0
πŸ•“ 4 years ago
πŸ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
UnifiedLogging 1.0.0
4 years ago
Basic UnifiedLogHandler
iOS macOS watchOS tvOS

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics