Swiftpack.co - Swift Packages by theoriginalbit

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

Packages published by theoriginalbit

theoriginalbit/PreviewView 3.0.1
Make use of SwiftUI Previews for UIKit!
⭐️ 143
🕓 48 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.
Legacy OS deployment target and Xcode 14
48 weeks ago
If your project is targeting iOS versions earlier than iOS 13 you may have run into the following error: ``` Compiling failed: '__designTimeString(_:fallback:)' is only available in iOS 13.0 or newer ``` You may see variations on the above with `__designTimeInteger`, `__designTimeBoolean`, or `__designTimeFloat`. This update introduces a new `PreviewViewLegacyOSCompileFix` target to fix #3. Simply import it and you're back up and running. Example for supporting iOS versions earlier than iOS 13: ```swift #if canImport(SwiftUI) && DEBUG import PreviewView import PreviewViewLegacyOSCompileFix import SwiftUI @available(iOS 13, *) struct YourNavigationController_Previews: PreviewProvider { static var previews: some View { ViewControllerPreview(YourNavigationController()) .edgesIgnoringSafeArea(.all) } } #endif ```
Declarative Previews!
2 years ago
A rewrite from the ground up, your UIKit previews are now defined from a SwiftUI-inspired DSL. Replicating a complex in-app design has never been easier, whether the screen you're previewing should show tab bars, large navigation bars, back buttons, toolbars, or all of them at once! Simply declare how the preview should look… ```swift struct YourViewController_Previews: PreviewProvider { static var previews: some View { TabBarControllerPreview(selectedIndex: 1) { PreviewBlankTabItem(title: "First", symbolNamed: "capsule") NavigationControllerPreview(barStyle: .largeTitle, showsToolbar: true) { YourViewController() YourViewController() } PreviewBlankTabItem(title: "Third", symbolNamed: "diamond") } .ignoresSafeArea(.all) } } ``` …and let PreviewView do the rest <img src="https://user-images.githubusercontent.com/1377564/129372268-6c9fe1df-366d-47e9-b0e8-2f092c2c434f.png" alt="A screenshot of a SwiftUI preview canvas showing a large titled navigation bar with a back arrow, a view controller with a list of items, a toolbar, and a tab bar with 3 tabs" width="50%" />
Type Erasure not required
2 years ago
Through the powers of `@ViewBuilder` I've finally gone ahead and removed the erasure via `AnyView`. It should have always been this way, so now it is.
Preview all the Things!
2 years ago
Not only can you preview your `UIViewController`s, but now there is support for your `UIView`s as well! ![image](https://user-images.githubusercontent.com/1377564/127796112-cf2de72e-0b32-4b55-ac19-c7388ed18a6d.png) ## API Breaking changes: - Renamed `PreviewView` to `Preview` - You can no longer use `.wrapInNavigationController()`, instead make use of the second parameter `Preview(for:navigationControllerStyle:)` _Before:_ ```swift PreviewView(for: YourViewController()) .wrapInNavigationController() ``` _After:_ ```swift Preview(for: YourViewController(), navigationControllerStyle: .wrap()) ```
Rapid Prototyping Begins
2 years ago
🎉🎉🎉 You can now preview your `UIViewControllers` using the SwiftUI preview canvas.
iOS
theoriginalbit/VariableDateCodable 2.0.0
Supporting mixed date formats within `Codable` entities through property wrappers.
⭐️ 6
🕓 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.
Add support for optional dates in models
2 years ago
## Added Changes Add `@OptionalDateCodable` to support `Date?` in models. ## Breaking Changes Renamed `@DateValue` to `@DateCodable` to better represent the purpose of the property wrapper.
Add missing license file
3 years ago
iOS macOS
theoriginalbit/UIButtonActivityIndicatorExtension 1.1.2
A simple UIButton extension library that provides the ability to show a UIActivityIndicatorView over the button
⭐️ 2
🕓 3 years ago
iOS
theoriginalbit/NSLayoutConstraintBuilderDSL v0.1.0
Use the vanilla Auto Layout API, just a little bit easier.
⭐️ 2
🕓 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.
Version 1.0.0
40 weeks ago
Ok, I lied, there is another release…this one! It adds docs, as the last release kinda promised. But it also adds a bunch more convenience for constraint creation.
Initial Release
2 years ago
This is the initial release, and almost definitely the last release, except to add docs.
iOS
theoriginalbit/UIDeviceModel 4.0.0
A µframework to detect the device model.
⭐️ 2
🕓 1 year ago
iOS
theoriginalbit/UIButtonFeedbackExtension 1.0.1
A simple UIButton extension library that provides the ability to enable haptic feedback on the button
⭐️ 2
🕓 8 weeks ago
iOS
theoriginalbit/ShapeButton 1.1.1
A very simple library that provides a `UIButton` implementation that allows you to set stateful background colors.
⭐️ 2
🕓 8 weeks ago
iOS
theoriginalbit/UIDeviceIcon 2.0.0
A µframework to provide an icon to represent the device model.
⭐️ 1
🕓 3 years ago
iOS
theoriginalbit/BorderButton 1.0.0
A very simple library that provides a `UIButton` implementation that at rest has a tint colored border and when pressed a solid background.
⭐️ 1
🕓 8 weeks ago
iOS
theoriginalbit/ReflectableSwift 1.0.0
Taken and tweaked straight from the core of Vapor
⭐️ 0
🕓 4 years ago
iOS
theoriginalbit/StringCaseConverter 1.0.0
A string extension to convert an input to camelCase, PascalCase, snake_case, kebab-case, and other variations of those
⭐️ 0
🕓 4 years ago
iOS
theoriginalbit/split-flap-view 1.0.0
An interactive split flap
⭐️ 0
🕓 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.
3 years ago
Initial release
iOS

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