Displaying 1 to 20 from 54 results

BonMot - Beautiful, easy attributed strings in Swift

  •    Swift

BonMot (pronounced Bon Mo, French for good word) is a Swift attributed string library. It abstracts away the complexities of the iOS, macOS, tvOS, and watchOS typography tools, freeing you to focus on making your text beautiful. To run the example project, run pod try BonMot, or clone the repo, open BonMot.xcodeproj, and run the Example-iOS target.

Sketch-Constraints - 📏 A plugin that integrates constraints in Sketch to lay out layers.

  •    Javascript

Sketch Constraints is a plugin that integrates constraints in Sketch to lay out layers. These constraints are relative to the parent, either a group or an artboard. With Sketch Runner, just go to the install command and search for Sketch Constraints. Runner allows you to manage plugins and do much more to speed up your workflow in Sketch. Download Runner here.

SnapKit - A Swift Autolayout DSL for iOS & OS X

  •    Swift

SnapKit is a DSL to make Auto Layout easy on both iOS and OS X. CocoaPods 1.1.0+ is required to build SnapKit 4.0.0+.

EasyPeasy - Auto Layout made easy

  •    Swift

In this quick tour through EasyPeasy we assume that you already know the advantages and disadvantages of the different Auto Layout APIs and therefore you won't see here a comparison of the code side by side, just read and decide whether EasyPeasy is for you or not. The example below is quite simple but shows how effortless its implementation result using EasyPeasy.




MyLinearLayout - MyLayout is a powerful iOS UI framework implemented by Objective-C

  •    Objective-C

Is equivalent to: UIStackView of iOS and LinearLayout of Android. Linear layout is a single line layout view that the subviews are arranged in sequence according to the added order(from top to bottom or from left to right). So the subviews' origin&size constraints are established by the added order. Subviews arranged in top-to-bottom order is called vertical linear layout view, and the subviews arranged in left-to-right order is called horizontal linear layout.

Stevia - :leaves: Healthy Autolayout Sugar

  •    Swift

In the project folder, you can find an example of a typical login view laid out in both native and Stevia for you to understand and compare the two approaches.

WebCola - Javascript constraint-based graph layout

  •    TypeScript

JavaScript constraint based layout for high-quality graph visualization and exploration using D3.js and other web-based graphics libraries. Note: While D3 adaptor supports both D3 v3 and D3 v4, WebCoLa's interface is styled like D3 v3. Follow the setup in our homepage for more details.


TangramKit - TangramKit is a powerful iOS UI framework implemented by Swift

  •    Swift

TGLayoutPos is represent to the position of a view. UIView provides six extension variables:tg_left, tg_top, tg_bottom, tg_right, tg_centerX, tg_centerY to set view's margin or space distance between self and others. TGLayoutSize is represent to the size of a view. UIView provides two extension variables:tg_width,tg_height to set view's width and height dimension. there are three special TGLayoutSize const object: .wrap, .fill, .average mean: wrap all subviews size, fill in to superview's residual size, average the superview's size.

dry-types - Flexible type system for Ruby with coercions and constraints

  •    Ruby

After checking out the repo, run bin/setup to install dependencies. Then, run bundle exec rake run_specs to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment. To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

rein - Database constraints made easy for ActiveRecord.

  •    Ruby

Data integrity is a good thing. Constraining the values allowed by your application at the database-level, rather than at the application-level, is a more robust way of ensuring your data stays sane. Unfortunately, ActiveRecord doesn't encourage (or even allow) you to use database integrity without resorting to hand-crafted SQL. Rein (pronounced "rain") adds a handful of methods to your ActiveRecord migrations so that you can easily tame the data in your database.

the-power-of-prolog - Introduction to modern Prolog

  •    HTML

Prolog is a programming language that is rooted in formal logic. It supports backtracking and unification as built-in features. Prolog allows us to elegantly solve many tasks with short and general programs. The goal of this material is to bridge the gap between the great traditional Prolog textbooks of the past and the language as it currently is, several decades after these books were written. You will see that many limitations of the past are no longer relevant, while several new constructs are now of great importance even though they are not yet covered in any available Prolog book.

NerdyUI - An easy way to create and layout UI components for iOS.

  •    Objective-C

An easy way to create and layout UI components for iOS 8 and above. There is also a Swift version available. You can convert nearly everything to NSString by using Str() macro. Similarly, you can log variables using Log() macro.

semver - Work with Semantic Versions in Go

  •    Go

If there is an error the version wasn't parseable. The version object has methods to get the parts of the version, compare it to other versions, convert the version back into a string, and get the original string. For more details please see the documentation.Checking a version against version constraints is one of the most featureful parts of the package.

Formidable - The PHP pragmatic forms library

  •    PHP

Formidable is a PHP library to handle forms. It parses an HTML form and allows you to manipulate it from your PHP code, and then render it.

mv-core - Migration Validators project core classes

  •    Ruby

Project Migration Validators (MV) makes it possible for RoR developer to define validations directly in db and then bubble them up to model so they available as normal ActiveModel::Validations there. And all that without code duplication. WARNING Versions lower than 2.0 are not supported anymore. As results, rails v.3 or older are not supported either.

mv-postgresql - Postgresql constraints in migrations similiar to ActiveRecord validations

  •    Ruby

Define validations directly in DB as PostgreSQL constraints and integrate them into your model transparently. See mv-core for details. There you will be able to review high level project information. Below you can see details of the migration validations that are supported by PostgreSQL driver.

semver-check - Online SemVer Checker

  •    Javascript

A basic web app coded with ReactJS to check a version against a SemVer constraint. The bigger your system grows and the more packages you integrate into your software, the more likely you are to find yourself, one day, in this pit of despair.

emeus - Constraint-based layout manager for GTK+

  •    C

Emeus is a constraint-based layout manager widget for GTK+, written using the Cassowary constraint solving algorithm. The first model works really well in ensuring that UIs are responsive to size changes, by avoiding pixel-perfect positioning on the screen, as well as ensuring that changing the font size or margins and paddings do not break the user interface; its main down side is that it requires accurate, and often verbose packing of widgets inside boxes, inside other boxes.

Arranged - Open source replacement of UIStackView for iOS 8 (100% layouts supported)

  •    Swift

Open source replacement of UIStackView for iOS 8 (100% layouts supported)