Traits alternatives and similar libraries
Based on the "Tools" category.
Alternatively, view Traits alternatives based on common mentions on social networks and blogs.
-
Awesome-Design-Tools
The best design tools and plugins for everything 👉 -
R.swift
Strong typed, autocompleted resources like images, fonts and segues in Swift projects -
SwiftGen
The Swift code generator for your assets, storyboards, Localizable.strings, … — Get rid of all String-based APIs! -
Lona
A tool for defining design systems and using them to generate cross-platform UI code, Sketch files, and other artifacts. -
Tweaks
An easy way to fine-tune, and adjust parameters for iOS apps in development. -
Xcodes.app
The easiest way to install and switch between multiple versions of Xcode - with a mouse click. -
FBSimulatorControl
idb is a flexible command line interface for automating iOS simulators and devices -
SourceKitten
An adorable little framework and command line tool for interacting with SourceKit. -
GDPerformanceView-Swift
Shows FPS, CPU and memory usage, device model, app and iOS versions above the status bar and report FPS, CPU and memory usage via delegate. -
ProvisionQL
Quick Look plugin for mobile apps and provisioning profiles -
LicensePlist
A license list generator of all your dependencies for iOS applications -
AppDevKit
AppDevKit is an iOS development library that provides developers with useful features to fulfill their everyday iOS app development needs. -
DBDebugToolkit
Set of easy to use debugging tools for iOS developers & QA engineers. -
ThisCouldBeUsButYouPlaying
:black_joker: Generate Swift Playgrounds for any library. -
iSimulator
iSimulator is a GUI utility to control the Simulator, and manage the app installed on the simulator. -
Blade
Better asset workflow for iOS developers. Generate Xcode image catalogs for iOS / OSX app icons, universal images, and more. -
Realm Browser
DEPRECATED - Realm Browser for Mac OS X has been replaced by realm-studio which is cross platform. -
Cookiecutter
A template for new Swift iOS / macOS / tvOS / watchOS Framework project ready with travis-ci, cocoapods, Carthage, SwiftPM and a Readme file -
Swift Package Index
The Swift Package Index is the place to find Swift packages! -
SuperDelegate
SuperDelegate provides a clean application delegate interface and protects you from bugs in the application lifecycle -
WatchdogInspector
Shows your current framerate (fps) in the status bar of your iOS app -
abandoned-strings
Command line program that detects unused resource strings in an iOS or OS X application. -
fastlane-plugin-appicon
Generate required icon sizes and iconset from a master application icon. -
AVXCAssets-Generator
AVXCAssets Generator takes path for your assets images and creates appiconset and imageset for you in just one click -
Shark
Swift CLI for strong-typing images, colors, storyboards, fonts and localizations
InfluxDB - Power Real-Time Data Analytics at Scale
* 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 Traits or a related project?
Popular Comparisons
README
Traits - Modify your native iOS app properties in real time.
What are Traits?
Traits allows you to modify the design and behavior of native iOS apps without having to restart them, even across the globe.
Wouldn't it be great if we could adjust designs of our native apps without having to sit back to Xcode, change code, recompile and navigate back to the screen we were at?
Traits is a library that provides you the ability to change many properties of your apps (not only design) without having to recompile the application, even via network across the globe.
Using it offers many benefits:
- Immediate feedback
- Ability to update running applications remotely
- Requires almost no code changes in your app
- Both Code and Interface Builder designs are supported
- Can tweak more than just UI
- Fully tested
- Supports code injection and real-time programming
[Gif](Images/demo.gif)
Article describing design and implementation details of this tool
Usage
1. Add the library into your project
2. Assign proper view identifiers either via code:
view.traitSpec = "article.containerView"
or via interface builder:
[IBInspectable demo](Images/interface-builder.png)
3. [Optional] If you want live-reloading:
While running on simulator you can observe file on your desktop:
TraitsProvider.setupDesktopDaemon()
While running on device, you can observe remote URL:
TraitsProvider.setupRemoteDaemon(url: myFileURL)
Extending
Traits
supports extending the library in real-time, without even having to recompile your project and without unsigning your Xcode 8.
Just install Injection app and code away: [Gif](Images/realtime.gif)
Adding new Trait
that is specific to your project is really simple:
- Create a new subclass of
Trait
- Declares the target types that are supported.
- Provide
apply
function that returns a reversal closure - Declare data mapping using
ObjectMapper
- Compile. (or code inject as we support that as well)
final public class Constraint: Trait {
private(set) var constant: CGFloat?
open override class var restrictedTypes: [AnyClass]? { return [NSLayoutConstraint.self] }
open override func apply(to target: Trait.Target, remove: inout RemoveClosure) throws {
let target = target as! NSLayoutConstraint
remove = { [weak target, constant = target.constant] in
guard let target = target else { return }
target.constant = constant
}
if let constant = constant {
target.constant = constant
}
}
public init(constant: CGFloat) {
super.init()
self.constant = constant
}
public required init?(map: Map) {
super.init(map: map)
}
open override func mapping(map: Map) {
super.mapping(map: map)
constant <- map["constant"]
}
}
Requirements
This library requires a deployment target of iOS 8.0 or greater.
Installation
Traits is available through CocoaPods.
To install it, simply add the following line to your Podfile:
pod "Traits"
Origin
Created by [Krzysztof Zabłocki]([email protected]) (twitter | website) during Maker Week at The New York Times
Article describing design and implementation details of this tool
Contributing
Contributions to Traits are welcomed and encouraged! Please see the Contributing guide.
A list of contributors is available through GitHub.
To give clarity of what is expected of our members, we adopted the code of conduct defined by the Contributor Covenant. This document is used across many open source communities, and we think it articulates my values well. For more, see the Code of Conduct.
License
Traits is available under the MIT license. See LICENSE for more information.
Attributions
This tool is powered by
Thank you goes to:
- Véronique Brossier and Chrys Wu from NYT because they helped me clarify expectations for this library.
Other Libraries / Tools
Make sure to check my other libraries and tools, especially:
- Sourcery - Tool that introduces type-safe meta-programming for swift, allowing you to avoid boilerplate code.
- KZPlayground - Powerful playgrounds for Swift and Objective-C.
- KZFileWatchers - Daemon for observing local and remote file changes, used for building other developer tools (Traits uses it)
You can follow me on twitter for news/updates about other projects I am creating.
*Note that all licence references and agreements mentioned in the Traits README section above
are relevant to that project's source code only.