DefaultStringConvertible alternatives and similar libraries
Based on the "Utility" category.
Alternatively, view DefaultStringConvertible alternatives based on common mentions on social networks and blogs.
-
swift-algorithm-club
Algorithms and data structures in Swift, with explanations! -
SwifterSwift
A handy collection of more than 500 native Swift extensions to boost your productivity. -
BlocksKit
The Objective-C block utilities you always wish you had. -
libextobjc
A Cocoa library to extend the Objective-C programming language. -
MMWormhole
Message passing between iOS apps and extensions. -
InAppSettingsKit
This iOS framework allows settings to be in-app in addition to or instead of being in the Settings app. -
EKAlgorithms
EKAlgorithms contains some well known CS algorithms & data structures. -
EZSwiftExtensions
:smirk: How Swift standard types and classes were supposed to work. -
DifferenceKit
💻 A fast and flexible O(n) difference algorithm framework for Swift collection. -
Reusable
A Swift mixin for reusing views easily and in a type-safe way (UITableViewCells, UICollectionViewCells, custom UIViews, ViewControllers, Storyboards…) -
ObjectiveSugar
ObjectiveC additions for humans. Ruby style. -
WhatsNew
Showcase new features after an app update similar to Pages, Numbers and Keynote. -
SwiftTweaks
Tweak your iOS app without recompiling! -
SwiftLinkPreview
It makes a preview from an URL, grabbing all the information such as title, relevant texts and images. -
Sugar
:coffee: Something sweet that goes great with your Cocoa -
BFKit-Swift
BFKit-Swift is a collection of useful classes, structs and extensions to develop Apps faster. -
BFKit
BFKit is a collection of useful classes and categories to develop Apps faster. -
RateLimit
Simple utility for only executing code every so often. -
ios_system
Drop-in replacement for system() in iOS programs -
VTAcknowledgementsViewController
Acknowledgements screen displaying a list of licenses, for example from CocoaPods dependencies. -
ReadabilityKit
Preview extractor for news, articles and full-texts in Swift -
ObjectiveKit
Swift-friendly API for a set of powerful Objective C runtime functions. -
SwiftFoundation
Cross-Platform, Protocol-Oriented Programming base library to complement the Swift Standard Library. (Pure Swift, Supports Linux) -
SwiftRandom
A tiny generator of random data for swift -
AssistantKit
Easy way to detect iOS device properties, OS versions and work with screen sizes. Powered by Swift. -
Validated
A Swift μ-Library for Somewhat Dependent Types -
DeviceGuru
DeviceGuru is a simple lib (Swift) to know the exact type of the device, e.g. iPhone 6 or iPhone 6s. Please ⭐️ this repo on the top right corner to make this repo popular. -
Eject
An eject button for Interface Builder to generate swift code -
SwiftyUtils
All the reusable code that we need in each project -
Retry
Haven't you wished for `try` to sometimes try a little harder? Meet `retry` -
AppVersionMonitor
Monitor iOS app version easily. -
YAML.framework
Proper YAML support for Objective-C. Based on recommended libyaml. -
Standard Template Protocols
Protocols for your every day iOS needs -
ReflectableEnum
Reflection for enumerations in Objective-C. -
SBConstants
Generate a constants file by grabbing identifiers from storyboards in a project. -
ZamzamKit
A Swift package for rapid development using a collection of micro utility extensions for Standard Library, Foundation, and other native frameworks. -
OrderedSet
A Swift collection of unique, ordered objects -
SwiftRouter
A URL Router for iOS, written in Swift -
XestiMonitors
An extensible monitoring framework written in Swift
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of DefaultStringConvertible or a related project?
README
:warning: DEPRECATED :warning:
DefaultStringConvertible
A default CustomStringConvertible
implementation for Swift types
About
Never implement var description: String
again. Simply import DefaultStringConvertible
and conform to CustomStringConvertible
and get a default type description for free.
This micro-library is based on this post from Erica Sadun.
Requirements
- Swift 3
- Xcode 8
- iOS 8.0+
- macOS 10.10+
- tvOS 9.0+
- watchOS 2.0+
- Ubuntu 14.04+
Installation
CocoaPods (recommended)
use_frameworks!
# For latest release in cocoapods
pod 'DefaultStringConvertible'
# Feeling adventurous? Get the latest on develop
pod 'DefaultStringConvertible', :git => 'https://github.com/jessesquires/DefaultStringConvertible.git', :branch => 'develop'
Carthage
github "jessesquires/DefaultStringConvertible"
Swift Package Manager
Add DefaultStringConvertible as a dependency to your Package.swift
. For example:
let package = Package(
name: "YourPackageName",
dependencies: [
.Package(url: "https://github.com/jessesquires/DefaultStringConvertible.git", majorVersion: 2)
]
)
Documentation
Read the docs. Generated with jazzy. Hosted by GitHub Pages.
Generate
$ ./build_docs.sh
Preview
$ open index.html -a Safari
Getting Started
import DefaultStringConvertible
class MyClass: CustomStringConvertible {
// ...
// You *do not* need to implement `var description: String`
// by importing `DefaultStringConvertible`, you get a default `description` for free
}
Unit tests
There's a suite of unit tests for DefaultStringConvertible
. Run them from Xcode by opening DefaultStringConvertible.xcodeproj
.
Contribute
Please follow these sweet contribution guidelines.
Credits
Created and maintained by @jesse_squires.
License
DefaultStringConvertible
is released under an MIT License. See LICENSE
for details.
Copyright © 2016-present Jesse Squires.
Please provide attribution, it is greatly appreciated.
*Note that all licence references and agreements mentioned in the DefaultStringConvertible README section above
are relevant to that project's source code only.