Swiftpack.co - Swift Packages by tbaranes

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

Packages published by tbaranes

tbaranes/SwiftyUtils 5.5.2
All the reusable code that we need in each project
⭐️ 549
🕓 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.
v5.5.2
1 year ago
#### Enhancements - UISliderExtension: ```swift func value(for gestureRecognizer: UITapGestureRecognizer) -> Float ``` #### Bugfixes - Xcode 14 support
v5.5.1
3 years ago
#### Bugfixes - Fixed builds targeting armv7 using SPM
v5.5.0
3 years ago
#### Enhancements - UIViewControllerExtension: ```swift func addSubSwiftUIView<Content>(_ swiftUIView: Content, to view: UIView) where Content: View ``` - UIViewExtension: ```swift var parentViewController: UIViewController? func findView<T>() -> T? func addSubSwiftUIView<Content>(_ swiftUIView: Content) where Content: View func addBorders(to edges: UIRectEdge, borderColor: UIColor, borderWidth: CGFloat) ```
v5.4.0
3 years ago
Bump min iOS version to 10 when using SPM. This is just to fix a warning from Xcode 12.
v5.3.0
3 years ago
#### Enhancements - UIViewControllerExtension: ```swift var preview: some View ``` - BindingExtension: ```swift static func mock(_ value: Value) -> Self { ``` - MutableCollection: ```swift mutating func sort<T: Comparable>(by keyPath: KeyPath<Element, T>, order: (T, T) -> Bool = (<)) ``` - SequenceExtension: ```swift func sorted<T: Comparable>(by keyPath: KeyPath<Element, T>, order: (T, T) -> Bool = (<)) -> [Element] ``` - UITableViewExtension: ```swift func register<T: UITableViewCell>(cellType: T.Type) where T: Reusable & NibLoadable func register<T: UITableViewCell>(cellType: T.Type) where T: Reusable func dequeueReusableCell<T: UITableViewCell>(for indexPath: IndexPath, cellType: T.Type = T.self) -> T where T: Reusable func register<T: UITableViewHeaderFooterView>(headerFooterViewType: T.Type) where T: Reusable & NibLoadable func register<T: UITableViewHeaderFooterView>(headerFooterViewType: T.Type) where T: Reusable func dequeueReusableHeaderFooterView<T: UITableViewHeaderFooterView>(_ viewType: T.Type = T.self) -> T? where T: Reusable ``` - UICollectionViewCellExtension: ```swift func register<T: UICollectionViewCell>(cellType: T.Type) where T: Reusable & NibLoadable func register<T: UICollectionViewCell>(cellType: T.Type) where T: Reusable T.self) -> T where T: Reusable func register<T: UICollectionReusableView>(supplementaryViewType: T.Type, ofKind elementKind: String) where T: Reusable & NibLoadable func register<T: UICollectionReusableView>(supplementaryViewType: T.Type, ofKind elementKind: String) where T: Reusable func dequeueReusableSupplementaryView<T: UICollectionReusableView>(ofKind elementKind: String, for indexPath: IndexPath, viewType: T.Type = T.self) -> T where T: Reusable ``` - Protocols: ```swift protocol NibLoadable: AnyObject protocol NibOwnerLoadable: AnyObject protocol Reusable: AnyObject typealias NibReusable = Reusable & NibLoadable ```
v5.2.0
3 years ago
#### Enhancements - UIFontExtension: ```swift class func dynamicStyle(_ style: UIFont.TextStyle, traits: UIFontDescriptor.SymbolicTraits?, sizeCategory: UIContentSizeCategory = .large) -> UIFont ``` - UILabelExtension: ```swift func configureDynamicStyle(_ style: UIFont.TextStyle, traits: UIFontDescriptor.SymbolicTraits? = nil, minimumScaleFactor: CGFloat = 0.8) ``` - UITextFieldExtension: ```swift func configureDynamicStyle(_ style: UIFont.TextStyle, traits: UIFontDescriptor.SymbolicTraits? = nil, adjustToFit: Bool = true) ``` - UITextViewExtension: ```swift func configureDynamicStyle(_ style: UIFont.TextStyle, traits: UIFontDescriptor.SymbolicTraits? = nil) ``` #### Bugfixes - Fixed missing swift sources added to the targets when using CocoaPods to embed SwiftyUtils
v5.1.0
3 years ago
#### Enhancements - Completing missing unit tests - Adding documentation to the code - Adding `UIElementPreview`, an easy way to generate mulitple SwiftUI previews with different configuration - BundleExtension: ```swift var displayName: String ``` - DictionaryExtension ```swift func toData(options: JSONSerialization.WritingOptions = []) throws -> Data? ``` - DataExtension: ```swift func toDictionary(options: JSONSerialization.ReadingOptions = []) throws -> [String: Any]? ``` - NSAttributedStringExtension: ```swift func isAttributeActivated(_ attribute: NSAttributedString.Key, appliedOn text: String, value: Any) -> Bool ``` - UIApplicationExtension: ```swift func openAppSettings() func openAppStoreReviewPage(_ url: URL) ``` - UIButtonExtension: ```swift func addRightImage(_ image: UIImage?, offset: CGFloat) ``` - UICollectionViewCellExtension: ```swift func applyCornerRadius(_ radius: CGFloat) func animate(scale: Bool, duration: TimeInterval = 0.35, transformScale: CGFloat = 0.97, damping: CGFloat = 0.7, options: UIView.AnimationOptions = [], delay: TimeInterval = 0.0, velocity: CGFloat = 0.0, completion: ((Bool) -> Void)? = nil) ``` - UIViewExtension: ```swift func findView(forIdentifier identifier: String) -> UIView? func addConstraints(to edges: UIRectEdge = .all, insets: UIEdgeInsets = .zero) func applyCornerRadius(_ radius: CGFloat, maskedCorners: CACornerMask [.layerMaxXMaxYCorner, .layerMaxXMinYCorner, .layerMinXMaxYCorner, .layerMinXMinYCorner]) ``` - UIViewController: ```swift var isModal: Bool func addChildController(_ controller: UIViewController, to subview: UIView, animated: Bool = true, duration: TimeInterval = 0.35, options: UIView.AnimationOptions = [.curveEaseInOut, .transitionCrossDissolve]) func addChild(_ child: UIViewController, in containerView: UIView) func removeChildController(_ child: UIViewController) func openSafariVC(withURL url: URL, delegate: SFSafariViewControllerDelegate, tintColor: UIColor = .black, barTintColor: UIColor = .white, barCollapsing: Bool = true) ``` - PropertyWrappers: ```swift @UserDefaultsBacked(key: "defaults_key", defaultValue: 20) var defaultValue: Int @UserDefaultsBacked(key: "default_key2") var defaultKey2: String? ```
v5.0.1
4 years ago
#### Bugfixes Fixed SPM compilation
v5.0.0
4 years ago
#### API breaking changes - Xcode 11 and Swift 5 support #### Enhancements - Moving from Travis to Github Actions - Updating Swiftlint and fix all related warnings #### Bugfixes - Fixed SPM support
v4.0.0
5 years ago
#### API breaking changes - Xcode 10.2 and Swift 5 support #### Enhancements - Added Data extensions - data to hex string - hex string to data - data to UInt8 array - Added SystemUtility struct with shell command access - added ip address validation extension to String
iOS macOS watchOS tvOS
tbaranes/AudioPlayerSwift 2.0.0
AudioPlayer is a simple class for playing audio in iOS, macOS and tvOS apps.
⭐️ 274
🕓 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.
v2.0.0
5 years ago
#### API breaking changes - Swift 5 and Xcode 10.2 support #### Enhancements - SoundDidFinishPlayingNotification now includes SoundDidFinishPlayingSuccessfully boolean in the notification's userInfo
v1.6.1
6 years ago
Same as the 1.6.0 but deployed for CocoaPods as well.
v1.6.0
6 years ago
#### Enhancements - Refactoring project to use one target to generate iOS, macOS, and tvOS framework #### Bugfixes - Carthage won't failed anymore due to code signin
v1.5.1
7 years ago
#### Fixed - Fixed `handleFadeTo` to avoid an infinite calls situation - #11
v1.5.0
7 years ago
#### Enhancements - Carthage support
v1.4.0
7 years ago
#### API breaking changes - Swift 3 support. README is up to date, please report if you find any diffs - Some APIs have been updated to be more swifty, check out the README for more information
1.3.0
8 years ago
- Swift 2.2 support: warnings & errors fixed - Fixed `fadeTo` which wasn't working well
1.2.2
8 years ago
- Make the object name mutables (by default, the audio file will be used) - #3
1.2.1
8 years ago
- `completionHandler` is now a public property
1.2.0
8 years ago
- Add initializer from NSURL - Added by @pjay in pull request #1
iOS macOS tvOS
tbaranes/FittableFontLabel 3.0.0
UILabel (extension or subclass) that adjust the font size to fit a frame
⭐️ 97
🕓 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.
v3.0.0
5 years ago
Support for Swift 4.2 and Xcode 10
v2.0.0
6 years ago
Xcode 9.1 and Swift 4 support
v1.4.0
7 years ago
#### API breaking changes - Swift 3 compatibility #### Bugfixes - Improved issue with long strings in small labels getting truncated
1.3.0
7 years ago
#### Enhancements - Improving performance by using binary search instead of simple loop. That may prevent xcode freezing #### Bugfixes - Fixed `fontSizeThatFits` when used with empty strings
1.2.0
7 years ago
#### Enhancements - Improvign default value of `fontSizeToFit` in `UILabelExtension`. Default value is now explicitly 100 - Added `fontSizeThatFits` method in `UILabelExtension` that returns a font size of the given text which can just fit the given `CGSize`.
1.1.0
7 years ago
#### Enhancements - `FittableFontLabel` now support `topInset`, `leftInset`, `bottomInset`, `rightInset` #### Bugfixes - Fixed interface builder freeze
1.0.1
8 years ago
- Renaming the extension class - Fixed inspectable attributes for `FittableFontLabel`
1.0.0
8 years ago
First released
tbaranes/VersionTrackerSwift 3.0.1
Versions tracker for your iOS, macOS, and tvOS app
⭐️ 87
🕓 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.
3.0.1
2 years ago
Fixed Swift Package Manager usage.
v3.0.0
5 years ago
Xcode 10.2 and Swift 5 support
v2.0.0
5 years ago
#### API breaking changes - Swift 4 and Xcode 9 support - Updating module name: `VersionTrackerSwift` -> `VersionTracker` - API cleanup, a few methods have been removed, and modified. Please check out the README to update your app #### Enhancements - Officially supporting Carthage #### Bugfixes - `isFirstLanch` for versions and builds are now working as expected
v1.1.0
7 years ago
#### API breaking changes - Module name `VersionTracking` has been renamed `VersionTrackerSwift` - `VersionTracking` has been renamed `VersionTracker` - Swift 3 support - Some APIs have been updated to be more swifty, check out the README for more information #### Enhancements - `watchOS` support
1.0
8 years ago
First released
tbaranes/IncrementableLabel 4.0.0
Incrementable UILabel for iOS and tvOS
⭐️ 80
🕓 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.
v4.0.0
5 years ago
#### API breaking changes - Xcode 10.2 and swift 5 support #### Enhancements - Added optional variables for three increment methods to add color change animations. Created the UIColor+Blend extension to calculate the color at a certain percentage.
v3.0.0
5 years ago
Swift 4.2 and Xcode 10 support
v2.0.0
6 years ago
Swift 4 and Xcode 9 support
v1.2.0
7 years ago
#### API breaking changes - Swift 3 support. README is up to date, please report if you find any diffs - Some APIs have been updated to be more swifty, check out the README for more information
1.1.0
7 years ago
#### API breaking changes - Use `Double` instead of `Float` - #4 - The completion block is passed as a parameter in the `Increment***` methods #### Enhancements - `format` and `easingRate` are now inspectable from the interface builder
1.0.1
8 years ago
- All properties are now public - Fixed swift 2.2 warnings
1.0.0
8 years ago
First released

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