Swiftpack.co - Swift Packages by danielsaidi

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

Packages published by danielsaidi

danielsaidi/Sheeeeeeeeet 3.2.2
Sheeeeeeeeet is a Swift library for creating menus, custom action sheets, context menus etc.
⭐️ 1,435
🕓 12 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.
12 weeks ago
This version fixes a bug that caused sheets to get initial empty frames.
41 weeks ago
### 🐛 Bug Fixes This version fixes a bug that could cause multiple dismissals when in popover.
45 weeks ago
This version makes it possible to build Sheeeeeeeeet from Xcode 13. It does so by removing `UIApplication.shared` dependencies and instead use the view controller. These changes required the removal of some deprecated `Menu` logic. ### 💡 Behavior changes * The `ActionSheet` init presenter is now optional instead of the default one. ### 💥 Breaking changes * Some deprecated `Menu` logic had to be removed. * The `ActionSheet` `presenter` is now optional and is resolved when presenting instead of when creating the sheet.
46 weeks ago
This version temporarily downgrades the Quick dependency to 3.0 to make Sheeeeeeeeet work with packages that haven't upgraded.
46 weeks ago
This version updates external dependencies.
46 weeks ago
This version fixes a bug that caused regular items to not apply right to left text alignment if the device locale requested it. * `ActionSheetItemCell` now uses `.natural` instead of `.left` by default. * The standard appearance doesn't apply `.left` to the base cell or section titles.
2 years ago
This version prepares the library for Xcode 11.4 and Swift 5.2 and upgrades external dependencies.
2 years ago
Thanks to @BinaryDennis, this version adds support for auto dismissing context menus and action sheets when an app is sent to the background. ### New stuff: * `ActionSheet` has a new `ActionSheet.Configuration` that replaces `Menu.Configuration`. You specify it when you create an action sheet. * There is a new `ActionSheetPresenterBase` base class that you can use when creating custom presenters. * `ActionSheetStandardPresenter` and `ActionSheetPopoverPresenter` inherits `ActionSheetPresenterBase`. * `ActionSheetPopoverPresenter` has moved its popover delegate logic to another class and no longer inherits `NSObject`. * There is a new `DestructiveItem` type that makes it possible to have destructive options in a menu, not just destructive buttons. * `DestructiveItem` is automatically styled by the `ActionSheetAppearance` base class. * `DestructiveItem` is automatically annotated when it's converted to a context menu item. ### Deprecations: * `Menu.Configuration` is deprecated and have no affect anymore. * `Menu.presentAsActionSheet` is deprecated. Use `toActionSheet` instead, then present it. * `ActionSheet.HeaderViewConfiguration` is renamed to `ActionSheet.HeaderConfiguration` * `ActionSheet.headerViewConfiguration` is renamed to `ActionSheet.headerConfiguration` * `ActionSheetDangerItemCell` is renamed to `ActionSheetDestructiveItemCell` ### Breaking changes: I tried but couldn't avoiding breaking changes, since some protocols had to change. Hopefully, you can easily work around these changes: * `ActionSheetPresenter` no longer has an `isDismissable` property. Instead, use a `.nonDismissable` configuration when creating an action sheet. * `ActionSheetPresenter` convenience presenters are now part of `ActionSheetPresenterBase` no longer `open` for extension.
2 years ago
This version adjusts the secondary action signature to also provide the affected item. It's a breaking change, but a small one, so deal with it I guess ¯\\\_(ツ)\_/¯ This version also makes the `ActionSheetItemHandler` protocol implementations `open` so they're possible to override.
2 years ago
This version adds a new `SecondaryActionItem` which lets you specify a secondary action for an item. It also adds a new `MenuCreator` protocol that can be implemented to postpone the creation of a menu, which may be good for prestanda when adding a context menu to every item in a large view collection.
iOS
danielsaidi/SwiftUIKit 2.7.0
SwiftUIKit contains additional functionality for SwiftUI.
⭐️ 667
🕓 1 week 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 week ago
### ✨ New features * `Color` has new hex string- and int-based initializers. * `ColorRepresentable` is a new typealias that bridges NSColor and UIColor. * `ColorRepresentable` has new hex string- and int-based initializers. * `ErrorAlerter` is a new protocol that can be implemented by any type that can alert errors using an `AlertContext`. * `ErrorAlertConvertible` is a new protocol that can be implemented by any error that can describe itself as an error `Alert`. * `FontRepresentable` is a new typealias that bridges NSFont and UIFont. * `Persisted` can now be used with SwiftUI and will properly update observing views. ### 💡 Behavior changes * `PresentationContext` is now `open` instead of `public`. * `DocumentCamera` now passes on its actions instead of itself. * Unit tests no longer use Quick and Nimble. ### 🗑 Deprecations * `DocumentGroupOnboardingScreen` has been renamed to `DocumentGroupSheet`. * `DocumentGroupOnboardingScreenError` has been renamed to `DocumentGroupSheetError`. * `DocumentGroupOnboardingScreen` `presentAsOnboarding` has been renamed to `presentFromDocumentGroup`. * `ImageResource` has been renamed to `ImageRepresentable`. * `ShadowStyle` has been renamed to `ViewShadowStyle` to not conflict with the new SwiftUI 4 ShadowStyle that comes in Xcode 14.
8 weeks ago
This version adds focus and printing utils, makes the system font picker work better on multiple platforms and deprecates web views. Web views can be found in the new [WebViewKit](https://github.com/danielsaidi/WebViewKit) from now on. ### ✨ New features * `AlertContextFocusedValueKey` is a new type that can be used to bind and access an focused alert. * `FullScreenModalContextFocusedValueKey` is a new type that can be used to bind and access a focused full. * `ItemPrinter` is a new protocol that can be implemented by types that can print printable items. * `ItemPrintingView` is a view protocol that adds item printing functionality to any view. * `PrintableItem` defines a list of printable items, currently only pdf documents. * `SheetContextFocusedValueKey` is a new type that can be used to bind and access a focused sheet. * `StandardItemPrinter` is an multi-platform `ItemPrinter` implementation that prints using `UIPrintInteractionController`. ### 💡 Behavior changes * `SystemFontPicker` has been adjusted to work better on various platforms. * `SystemFontPickerFont` has been adjusted to work better on various platforms. ### 🐛 Bug fixes * `SystemFontPicker` now uses the provided fonts instead of all. ### 🗑 Deprecations * `SafariWebView` has been deprecated - use WebViewKit instead. * `WebView` has been deprecated - use WebViewKit instead.
12 weeks ago
### ✨ New features * `PageIndicator` is a new view that mimics the page dots in a page view. * `PageIndicatorDisplayMode` is a new enum that can be used to control indicator views. * `PageIndicatorStyle` is a new enum that can be used to style indicator views. * `PageView` is now available for macOS as well. ### 💡 Behavior changes * `PageView` is now generic and no longer generates `AnyView` views. ### 💥 Breaking Changes * `PageView` for iOS is now generic with new initializer signatures. * `PageView` `indexDisplayMode` is now called `pageIndicatorDisplayMode`.
13 weeks ago
This release adds a bunch of new views and features as well as new macOS utils. This release also deprecates a bunch of stuff to make the library more focused. Note that `WebView` now wraps a `WKWebView` instead of a `SFSafariViewController`. If you want the old behavior, use the new `SafariWebView`. ### ✨ New features * `DetailPanel` is a new macOS view that mimics a trailing detail panel. * `DetailPanelButtonGroup` is a new macOS view that can be used to mimic a native, segmented button group. * `DetailPanelContainer` is a new macOS view with a main content view and a trailing detail panel. * `DetailPanelContext` is a new macOS class that can be used with the new `DetailPanelPresenter`. * `DetailPanelForm` is a new macOS view that can be used to wrap form content within a `SideBar`. * `DetailPanelHeader` is a new macOS view that can adjust the provided text to look like a native detail panel header. * `DetailPanelPresenter` is a new macOS protocol that can be implemented to add detail panel functionality to the implementing type. * `ForEachPicker` is a new view that works like the `ListPicker`, but doesn't wrap the content in a `List`. * `ForEachMultiPicker` is a new view that works like the `MultiListPicker`, but doesn't wrap the content in a `List`. * `Form` has a new `detailPanelForm` modifier. * `FormActionButtonStyle` now has mutable properties. * `ListItemSubtitle` is a new view that copies its behavior from the deprecated `MenuListSubtitle`. * `ListText` has a new icon and subtitle parameter. * `ListTextContent` is a new view that just renders the content of a `ListText`. * `SafariWebView` is a new name for the previous version of `WebView`. * `ScanCodeGenerator` `generateCodeView` is now a protocol implementation. * `ScanCodeType` now supports `aztek` and `pdf417` as well. * `ScanCodeType` now implements more protocols to make it more versatile. * `ScanCodeType` has a new `code128` case that replaces `barcode`. * `ScanCodeType.name` is now the capitalized version of the raw string value. * `SidebarPresenter` is a new macOS protocol that can be implemented to add sidebar functionality to the implementing type. * `SystemFontPicker` is a new view that uses a `Picker`. * `SystemFontForEachPicker` is a new view that uses a `ForEach` picker instead of a `List`. * `SystemFontListPicker` now has a `fonts` init parameter. * `SystemFontListPicker` now has an `itemFontSize` init parameter. * `SystemFontListPicker` now has a `dismissAfterPick` init parameter. * `SystemFontPickerFont`s initializer and properties are now public. * `SystemFontPickerFont` is a new public struct that is used by the various font pickers. * `SystemFontPickerItem` is a new view that can be used to display a picked system font. * `Text` has a new `detailPanelHeader` modifier. * `UrlOpener` now supports macOS as well. ### 💡 Behavior changes * `ListItem` now only applies a min height on iOS. * `ListPicker` now uses a `ForEachPicker` for each section. * `ListMultiPicker` now uses a `ForEachMultiPicker` for each section. * `ScanCodeType.barcode` is now an alias for `ScanCodeType.code128`. * `WebView` now wraps a `WKWebView` instead of a `SFSafariViewController`. ### 🗑 Deprecations * `AsyncImage` has been deprecated. Use SwiftUI AsyncImage instead. * `AsyncImageLoader` has been deprecated. Use SwiftUI AsyncImage instead. * `BlurView` and `View+Blur` is deprecated. Use the native material approach instead. * `ColorBadge` has been deprecated. * `FontListPicker` has been renamed to `SystemFontListPicker`. * `FullHeightView` has been deprecated. * `FullSizeView` has been deprecated. * `FullWidthView` has been deprecated. * `ListPicker` no longer has a `title`. * `ListMultiPicker` no longer has a `title`. * `SystemFontListPicker` no longer has a `title`. * `Presentation/Toast` has been deprecated. Use the new [SystemNotification](https://github.com/danielsaidi/SystemNotification) library instead. * `View+Alert` `alert(context:)` has been renamed to `alert(_ :)`. * `View+FullScreenCover` `fullScreenCover(context:)` has been renamed to `fullScreenCover(_ :)`. * `View+Sheet` `sheet(context:)` has been renamed to `sheet(_ :)`. ### 💥 Breaking Changes * `Color.clearInteractable` has been deprecated and should not be used anymore. * `Picker` has been removed, since it caused conflicts with SwiftUI. * `UrlOpener` default functions are no longer part of the protocol definition. * `View.clearInteractable` has been deprecated and should not be used anymore.
24 weeks ago
### 💡 Behavior changes * `ListNavigationButton` is now available on all platforms. * `ListDisclosureIndicator` is now available on all platforms. ### 🗑 Deprecations * `ListButtonLink` has been renamed to `ListNavigationButton`.
24 weeks ago
This release adjust the `ListToggle`. ### 💡 Behavior changes * `ListToggle` now applies `.labelsHidden()` to the toggle, to make it take up less space.
32 weeks ago
This release adds a brand new "list item" concept that replaces the previous "menu list" one. `NOTE` This release was revised, with some list view names shortened and a few more list view items added. This is the official 2.1, but it is also released as a 2.1.1 to avoid dependency cache problems. ### ✨ New features * `EdgeInsets` has a new `init(all:)` initializer. * `EdgeInsets` has a new `init(horizontal:,vertical:)` initializer. * `Label` has a new `init(String, Image)` initializer. * `View+Frame` has a new `frame(square:)` view extension. * `View+DynamicType` has a new `disableDynamicType()` view extension. * `ListItem` is a new view that can be used to make items in a list get the same style and behavior. * `ListButton` is a new view that wraps its content in a `ListItem` that is embedded in a `Button`. * `ListButtonLink` is a new view that wraps its content in a `ListButton` and appends a trailing `ListDisclosureIndicator`. * `ListDisclosureIndicator` is a new view that imitates and iOS navigation link arrow. * `ListNavigationLink` is a new view that wraps its content in a `ListItem` that is embedded in a `NavigationLink`. * `ListSelectItem` is a new view that wraps its content in a `ListItem` and applies a checkmark if the item is selected. * `ListText` is a new view that wraps a `Text` view in a `ListItem`. * `ListToggle` is a new view that wraps its content in a `ListItem` and appends a trailing `Toggle`. ### 🗑 Deprecations * The `MenuList` namespace is deprecated and replaced with the new `List` namespace.
39 weeks ago
This version requires Xcode 13 and later, since it refers to the latest api:s. Parts of the library that have native corresponding parts in newer versions of SwiftUI, like `SearchBar`. They will be around until the library targets the versions of SwiftUI where they were introduced. ### ✨ New features * `Color+Codable` is a new extension that makes Color codable. * `Color+Random` now lets you randomize the color opacity as well. * `EnvironmentValues+SafeAreaInsets` lets you read the safe are insets of the key window. * `FormActionButton` can now be provided with a custom style. * `FormActionButtonStyle` can now be configured with a custom style. * `MenuListIcon` has a new emoji-based initializer. * `MenuListItem` now lets you use any custom content builder. * `MenuListItemStack` is a new view that lets you reuse the spacing and tap behavior. * `MenuListSection` is a new view for menu list sections. * `MenuListSlider` is a new view for menu list sliders. * `MenuListSubtitle` is a new view for menu list subtitles. * `MenuListToggle` is a new view for menu list toggles. * `MultilineText` is a new text view that can be used when a multiline text is cut off with ... * `MultiPicker` is a new, generic multi item picker. It will probably replace `SimpleMultiPicker` in due time. * `Persisted` now lets you inject a custom store. * `Picker` is a new, generic single item picker. It will probably replace `SimplePicker` in due time. * `PickerListItem` is a new protocol that can be used in `Picker` lists. * `PickerSection` is a new, generic struct that can be used to divide a `Picker` and `MultiPicker` into sections. * `ShadowStyle` has a new `formActionButton` type. * `ShadowStyle` has zero defaults for `x` and `y`. * `SystemColor` has a bunch of new colors. * `SystemColor` is now `Codable` and `Equatable`. * `Text+Markdown` is a new view extension that provides a new `Text(markdown:)` initializer. * `UrlSharing` is a new protocol that any view can implement to easily be able to share urls. * `View+Autosave` is a new view extension that provides a customizable autosave view modifier. ### 💡 Behavior changes * `FormActionButtonStyle` no longer applies a primary text color. * `FormActionButtonStyle` no longer applies a shadow by default. You can define one with the static `shadowStyle` property. ### 💥 Breaking Changes * All deprecated parts of the library have been removed. * `MenuListItemIcon` has been renamed to `MenuListIcon`. * `SystemColor` no longer auto-implements `SimplePickerValue`. * `UserDefaultsPersisted` has been renamed to `Persisted`.
44 weeks ago
### ✨ New features * `FlipView` has a new `isFlipped` binding, so that it can be read from outside as well. * `FormText` now supports iOS 13. * `FormText` has a new `trailingView` property. * There is a new `UIImage+Rotated` extension. ### 💥 Breaking Changes * `ScanCodeGenerator` functions `of` parameter name is not omitted.
44 weeks ago
### 💡 Behavior changes This release renames `ActionButton` and `ActionButtonStyle` to `FormActionButton` and `FormActionButtonStyle`, since the name "action button" is too general. ### 🐛 Bug fixes * This release fixes build errors on tvOS and macOS. ### 🗑 Deprecations * `ActionButton` and `ActionButtonStyle` has been deprecated.
iOS macOS watchOS tvOS
danielsaidi/Tutti 4.1.0
Tutti is a Swift library that lets you create tutorials, hints and onboarding experiences.
⭐️ 293
🕓 8 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.
8 weeks ago
This version deprecates the `OnboardingPresenter` concept and adds a `tryPresent` function to the `Onboarding` instead. This makes the library really lightweight. ### ✨ New features * `Onboarding` has a new `tryPresent` function that takes a custom presentation action. * `TutorialPage` now implements `Identifiable`. ### 🗑 Deprecations * `OnboardingPresenter` has been deprecated. * `HintPresenter` has been deprecated. * `TutorialPresenter` has been deprecated.
39 weeks ago
This major version prepares the library for Xcode 13 and SwiftUI 5.5. It also removes some UIKit-specific parts of the library, which makes the entire library run on all platforms. If you need the removed `UIKit` parts, you can grab them from the `3.1.1` release. ### 💡 Behavior changes * `OnboardingPresenter` no longer requires `AnyObject` conformance. ### 💥 Breaking changes * `Tutorial` is no longer generic. * The `UIKit` folder has been removed in this version.
45 weeks ago
### 💡 Behavior changes * `CalloutView` no longer depends on `UIApplication.shared`.
45 weeks ago
### ✨ New features * `Onboarding` has a new `hasBeenPresented` property.
1 year ago
In this version adds support for presenting titles in `CalloutView`: * `Hint` has a default, empty `title` init value. * `Hint` implements `Equatable`. * `Hint` has a new `hasTitle` property. * `CalloutViewPresenter` now supports presenting titles. * `CalloutViewPresenter` has new `titleFont` and `titleTextSpacing` properties. The demo has been updated with new onboarding demos.
1 year ago
This version adds a new `ConditionalOnboarding` type.
1 year ago
This version adds support for macOS, tvOS and watchOS, with several breaking changes. `UIKit` is now only required in `UIKit`-specific files, which means that the rest of the model supports watchOS and macOS. New functionality: * `Onboarding` has more logic. Breaking changes: * `Onboarding` has been disconnected from `Hint` and `Tutorial`. * `Onboarding`, `Hint` and `Tutorial` are now base classes instead of protocols. * `Hint` and `Tutorial` no longer implements `Onboarding`, and are only data carriers. * `StandardOnboarding`, `StandardHint` and `StandardTutorial` have been removed. * `DeferredOnboarding` has been renamed to `DelayedOnboarding`. * `HintPresenter` and `TutorialPresenter` now extend `OnboardingPresenter`, but add no extra logic. * `Tutorial` no longer have the `resourceName(for:at:)` logic, but is now built up by generic pages. * All hint presenters now require both a hint and an onboarding. * All tutorial presenters now require both a tutorial and an onboarding. * `AlertingHintPresenter` now only contains presentation logic. The demo has been rewritten from scratch, but it still UIKit-based until Xcode 12 is released.
1 year ago
This version updates all external test dependenies to the latest versions.
2 years ago
This version makes Package use https references instead of ssh.
2 years ago
This version adds Xcode 11 and iOS 13 support, including support for dark mode and high contrast color variants.
iOS macOS watchOS tvOS
danielsaidi/DeckKit 0.3.0
DeckKit makes it easy to create deck-based apps in SwiftUI.
⭐️ 213
🕓 8 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.
8 weeks ago
### ✨ New features * `Deck` now lets you specify id. ### 💥 Breaking Changes * `BasicItem` has been renamed to `BasicCard.Item`. * `CardItem` has been renamed to `DeckItem`.
1 year ago
The `deck` init params for `StackedDeck` and `HorizontalDeck` has been changed to a binding. This gives you better control over the deck, removes UI glitches and helped me remove a bunch of state for visible cards in `StackDeck`, which means that deck modifications now instantly trigger UI changes. I have added a shuffle button to the demo to demonstrate how much better the stacked deck performs. The `StackedDeck` has been improved in more ways: * I have changed the order of how the vertical offset and scale effect are applied, which fixes a UI glitch. * I have added `swipeLeft/Right/Up/Down` actions, which let you trigger actions depending on how a card is swiped off the top. The `DeckContext` class is still in the library, but is not used by the library itself.
1 year ago
This version is the first public release of DeckKit. It contains components that are used in apps that have been pushed to production, which is why I decided to release it as a first minor.
iOS macOS watchOS tvOS
danielsaidi/BottomSheet 0.3.0
BottomSheet lets you add custom bottom sheets to your SwiftUI apps.
⭐️ 149
🕓 24 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.
24 weeks ago
### ✨ New Features * `BottomSheetStyle` and `BottomSheetHandleStyle` are now mutable. * `BottomSheetStyle.standard` is now mutable and lets you change the standard style.
30 weeks ago
This release adds macOS support and tweaks the design and behavior of the bottom sheet. The handle was previously placed in a non-designable area, under which the sheet content scrolled. Now, the area has a divider that separates the handle from the content, with the entire handle bar area being customizable with the handle style. ### 💥 New Features * The library now compiles for macOS. * There is a new `BottomSheetHandleBar` view. * `BottomSheetHandleStyle` has a new `backgroundColor` property. * `BottomSheetHandleStyle` has a new `dividerColor` property. * `BottomSheetHandleStyle` has a new `padding` property. ### 💡 Behavior Changes * The sheet handle is now placed in a bar, with padding and a divider. ### 🗑 Deprecations * `BottomSheetHandleStyle` `color` has been renamed to `handleColor`.
1 year ago
This is the first public release of BottomSheet. Check out the readme and the demo app for information about how to use it.
iOS macOS
danielsaidi/SystemNotification 0.5.1
SystemNotification is a SwiftUI library that lets you mimic the native iOS system notification.
⭐️ 137
🕓 13 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.
22 weeks ago
This release greatly improves how notifications are presented and dismissed and simplifies usage. The demo app now uses a local package, which makes it a lot easier to develop the library. ### 📖 Documentation SystemNotification has a brand new DocC documentation. Due to the new documentation, the package now requires Swift 5.5. ### ✨ New features * `SystemNotificationContext` has a new completion-based dismiss function. * `SystemNotificationMessageConfiguration` has new `iconTextSpacing` and `titleTextSpacing` properties. * `SystemNotificationUIKitOverlay` is a new view that simplifies adding a system notification to a UIKit view. * `View+SystemNotification` has a new parameter-based extension that replaces the old notification-based one. ### 💡 Behavior changes * `SystemNotificationMessageConfiguration` is adjusted to make a message look more like an iPhone system notification. * Presenting a new notification first dismisses the current notification, if any. * The auto-dismiss logic is moved from the system notification to the notification context. ### 🐛 Bug fixes * This version fixes a bug, where the message configuration padding was incorrectly applied. ### 🗑 Deprecated * The notification-based `systemNotification(:)` function is deprecated. ### 💥 Breaking changes * `SystemNotification+Message` has been deprecated. * `SystemNotificationConfiguration` `minWidth` is no longer used and has been removed. * `View+SystemNotification` has deprecated the `SystemNotification`-based extension.
40 weeks ago
### ✨ New features * `SystemNotificationConfiguration` has a new `isSwipeToDismissEnabled` parameter. * `SystemNotification` can now be swiped to be dismissed, if `isSwipeToDismissEnabled` is `true`.
41 weeks ago
This relase makes it possible to provide a `nil` title to `SystemNotificationMessage`.
41 weeks ago
This relase makes it possible to use plain `String` values when creating `SystemNotification` and `SystemNotificationMessage`.
46 weeks ago
### ✨ New features * The context-based view modifier no longer requires a `context` parameter name. ### 🗑 Deprecated * systemNotification(context:) is deprecated. ### 🐛 Bug fixes * This version fixes a bug, where the configuration duration wasn't applied. * This version fixes a bug, where the default dark mode background was transparent.
1 year ago
This version fixes a preview bug that caused the library not to build for macOS.
1 year ago
Thanks to Christian Mitteldorf, system notifications now use localized string keys, which makes it super simple to create localized notifications. The demo is updated with an example.
1 year ago
This release has some breaking name changes and makes it easier to present multiple notifications with a single modifier. ### ✨ New features * `SystemNotificationContext` makes it easy to present multiple notifications with a single modifier. ### 💥 Breaking changes * `SystemNotification.Configuration` has been renamed to `SystemNotificationConfiguration` * `SystemNotificationMessage.Configuration` has been renamed to `SystemNotificationMessageConfiguration`
1 year ago
This release improves platform supports, adds convenience utils and tweaks design. ### ✨ New features * The library now supports macOS, tvOS and watchOS as well. * `SystemNotification.Configuration` has new shadow properties. ### 💡 Behavior changes * The configuration types are no longed nested, to avoid generic limitations. ### 🎨 Design changes * `SystemNotification.Configuration` has removed the background opacity modifier. * `SystemNotification.Configuration` has now applies a more subtle standard shadow. * `SystemNotificationMessage.Configuration` now uses `title3` as standard icon font. ### 🐛 Bug fixes * The corner radius now works even when no image is provided.
1 year ago
This is the first public release of SystemNotification. Check out the readme and the demo app for information about how to use it.
iOS macOS watchOS tvOS
danielsaidi/SwiftUIBlurView 0.2.0
This view is also part of SwiftUIKit: https://github.com/danielsaidi/SwiftUIKit
⭐️ 123
🕓 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.
2 years ago
This release adds a stable blur effect that you can apply to any `View` using the `.systemBlur` modifier.
iOS
danielsaidi/MockingKit 1.1.0
MockingKit is a Swift-based library that lets you mock protocols and classes. It lets you register function results, invoke and inspect method calls etc.
⭐️ 52
🕓 6 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.
7 weeks ago
This version adds support for Swift concurrency and `async` functions.
34 weeks ago
This version bumps the package Swift version to 5.5 to enable extended DocC support. It also removes previously deprecated parts of the library and removes `call` functions with implicitly unwrapped args.
1 year ago
This version replaces the accidental SSH dependencies to Quick and Nimble with HTTPS ones. Big thanks to Dave Verwer and [SPI](https://swiftpackageindex.com) for noticing this!
1 year ago
`MockTextDocumentProxy` no longer modifies its state when calling its functions.
1 year ago
`MockTextDocumentProxy` has a new `keyboardAppearance` property.
1 year ago
Thanks to [@jinuman](https://github.com/jinuman) this version fixes the incorrectly high deployment targets. This version also annotates another invoke function as deprecated.
1 year ago
This version renames invoke/invocation to call/calls to make the code cleaner and less technical: * `AnyInvokation` → `AnyCall` * `MockInvokation` → `MockCall` * `Mock` `registeredInvokations` → `registeredCalls` * `Mockable` `hasInvoked(_)` → `hasCalled(_)` * `Mockable` `hasInvoked(_, numberOfTimes:)` → `hasCalled(_, numberOfTimes:)` * `Mockable` `invoke` → `call` * `Mockable` `invokations(of:)` → `calls(to:)` * `Mockable` `resetInvokations` → `resetCalls` * `Mockable` `resetInvokations(for:)` → `resetCalls(to:)` This also solves that with my Swedish eyes spelled invocation as invokation, which is how it's spelled here :) The old invoke/invokation parts are marked as deprecated and will be removed in 1.0.
1 year ago
This version adds a MockPasteboard and a MockTextDocumentProxy.
1 year ago
This version adds `stringArray` support to `MockUserDefaults`.
1 year ago
This version renames Mockery to MockingKit.
iOS macOS watchOS tvOS
danielsaidi/SwiftKit 1.2.0
SwiftKit adds extra functionality to the Swift programming language.
⭐️ 40
🕓 6 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.
6 weeks ago
This version bumps the iOS deployment target to 13.0 and adds new auth utils. ### ✨ New features * `LAContext+Async` adds an async policy evaluation function. * `LocalAuthenticationService` is a new service that lets you use any local authentication policy. ### 💡 Behavior changes * `BiometricAuthenticationService` now inherits and specializes `LocalAuthenticationService`.
9 weeks ago
### ✨ New features * `FileManager+UniqueFileName` contains functionality for generating a unique file name. * `String+Capitalize` contains functionality for capitalizing the first char in a String. * `String+Characters` contains single-char characters like `newLine` and `tab`. * `String+Paragraph` contains functionality for finding paragraphs in the text. * `String+Subscript` contains functionality for accessing chars in a String. ### 💡 Behavior changes * `String+UrlEncode` now handles + as well.
30 weeks ago
I think it's finally time to push the major release button. This version drastically improves documentation and ships with a DocC documentation archive. This version also introduces a new `StoreKit` namespace with handy utils for managing StoreKit products and purchases. ### ✨ New features * `Bundle` has a new `displayName` extension. * `Collection` has new `asyncCompactMap` and `asyncMap` extensions. * `Date` has a new `components` extension for retrieving year, month, hour etc. * `NSAttributedString` has a new `init(keyedArchiveData:)` that can initialize an attributed string from `NSKeyedArchiver` generated data. * `NSAttributedString` has a new `init(plainText:)` that can initialize an attributed string from plain .utf8 text data. * `NSAttributedString` has a new `init(rtfData:)` that can initialize an attributed string from RTF data. * `NSAttributedString` has a new `getKeyedArchiveData()` function that can be used to generate RTF formatted data from an attributed string. * `NSAttributedString` has a new `getPlainTextData()` function that can be used to generate plain .utf8 formatted text data from an attributed string. * `NSAttributedString` has a new `getRtfData()` function that can be used to generate RTF formatted data from an attributed string. * `String` has new `boolValue` extension. * `StoreService` is a new protocol for managing StoreKit products and purchases. * `StoreContext` is a new class for managing StoreKit products and purchases. * `StandardStoreService` is a new class that implements the `StoreService` protocol.
39 weeks ago
This version requires Xcode 13 and later, since it refers to the latest api:s. This version also cleans up the code and makes changes to conform to the latest standards. ### ✨ New features * `Calendar+Date` has new `same` functions to provide the comparison date. * `DispatchQueue+Throttle` has new `throttle` and `debounce` functions. * `String+Split` has a new `split(by:)` components splitting function. * `Url+Global` has a new `userSubscriptions` url. ### 💥 Breaking changes * All previously deprecated features have been removed. * `ApiService` moves the `type` param before the `httpMethod`, since `httpMethod` now has a default value. * `ApiRoute` and `ApiService` now use enum-based HTTP methods instead of string-based ones. * `DispatchQueue+Async` now requires that you explicitly define `seconds` when using that `asyncAfter` function. * `URL+Global` `appStoreUrl(forAppId:)` now returns an optional url.
1 year ago
### ✨ New features * `ApiRoute` has more explicit properties for working with post data. * `ApiRoute` has a new `shouldUrlEncodeParams` parameter. * `iCloudDocumentSync` is a new protocol for syncing iCloud document changes. * `String+Slugify` is a new extension that can convert a string to a slugified version. * `StandardiCloudDocumentSync` is a new class for syncing iCloud document changes. * `URL+iCloud` contains iCloud-specific URLs and fallback URLs. ### 💡 Behavior changes * `ApiRoute` has more required properties. * `URL+setQueryParameter` no longer url encodes the strings you send in. ### 💥 Breaking changes * `ApiRoute` requires new post properties to be defined.
1 year ago
This version adjusts code that made the demo not being able to use the SPM package instead of the source files. ### ✨ New features * `ApiError` is a new enum that replaces the old `ApiServiceError`. * `FileExporter` is a new protocol for exporting data to the file system. * `MimeType` is a new enum for simplifying working with mime types. * `MFMailComposeViewController` has a new `addAttachmentData` that uses the new `MimeType`. * `StandardFileExporter` is a new `FileExporter` implementation. ### 🗑 Deprecations * `ApiServiceError` has been deprecated in favor of `ApiError`. ### 💥 Breaking changes * `ApiError` is a lot easier than before, with many cases gone and more info in the remaining ones.
1 year ago
This version adds a new `HttpMethod` enum that can be used with the network components.
1 year ago
This version adds new `ApiRoute` request functions and adjusts the url of form data requests.
1 year ago
This version adds missing initializers to map services.
1 year ago
This version updates dependencies, adjusts project setup, tweak icons and display names etc.
iOS macOS watchOS tvOS
danielsaidi/WebViewKit 0.2.1
WebViewKit adds a WebView to SwiftUI.
⭐️ 19
🕓 Yesterday
🔖 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.
Yesterday
### ✨ New features * `WebView` now supports providing an empty url and no config block.
9 weeks ago
This version adds a new `SafariWebView`. ### ✨ New features * `SafariWebView` is a new iOS view that wraps an `SFSafariViewController` and can be used to load a custom url.
12 weeks ago
This is the first public beta of the library. ### ✨ New features * `WebView` is a new view that wraps an `WKWebView` and can be used to load a custom url.
iOS macOS
danielsaidi/StoreKitPlus 0.1.0
StoreKitPlus contains additional functionality for working with StoreKit 2.
⭐️ 15
🕓 1 week 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 week ago
This is a first beta release of StoreKitPlus. This version introduces a bunch of types that makes it easier to work with StoreKit in an abstract, protocol-driven way. ### ✨ Features * `StoreContext` is a new, observable type. * `StoreService` is a new protocol for comunicating with StoreKit. * `StandardStoreService` is a new class for comunicating with StoreKit. * `ProductRepresentable` is a new protocol for providing local products. * `ValidatableTransaction` is a new protocol for transaction validation.
iOS macOS watchOS tvOS
danielsaidi/Vandelay 1.0.0
Vandelay is an iOS importer/exporter, written in Swift.
⭐️ 6
🕓 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 year ago
This version updates the Swift version in the podspec.
1 year ago
This version adds support for Swift 5.2 and bumps all test dependencies.
2 years ago
This version makes a url calculation function public.
2 years ago
This version adds support for Swift 5.1 and Swift Package Manager.
3 years ago
This version moves stuff around between Vandelay and its add-ons. This means that I have had some trial and error getting it to work, but the `0.8.1` version works with both CocoaPods and Carthage. I version bump `VandelayQr` and `VandelayDropbox` to `0.8.1` as well. The add-ons no longer have their own demo projects, since this meant I had to duplicate code en-masse. I moved the demo code to this repo and disabled it for now, since I could not get Carthage to ignore building the example app, which had a bunch of private dependencies. I will add it as a GitHub issue for future fixing.
iOS macOS watchOS tvOS
danielsaidi/VandelayQr 0.9.2
VandelayQr adds QR code support to Vandelay.
⭐️ 1
🕓 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 year ago
This version updates external dependencies to the latest versions.
2 years ago
This version adds support for Swift 5.1 and Swift Package Manager.
2 years ago
This version moves stuff around between Vandelay and its add-ons. This means that I have had some trial and error getting it to work, but the `0.8.1` version works with both CocoaPods and Carthage. I version bump `VandelayQr` and `VandelayDropbox` to `0.8.1` as well. The add-ons no longer have their own demo projects, since this meant I had to duplicate code en-masse. I moved the demo code to this repo and disabled it for now, since I could not get Carthage to ignore building the example app, which had a bunch of private dependencies. I will add it as a GitHub issue for future fixing.
iOS

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