iOS & macOS development
131.9K views | +0 today
Follow
iOS & macOS development
cool tips and source code for Cocoa, Swift and Objective-C
Curated by Alessio Nonni
Your new post is loading...
Your new post is loading...
Scoop.it!

TinyConstraints - syntactic sugar that makes Auto Layout sweeter for human use

TinyConstraints - syntactic sugar that makes Auto Layout sweeter for human use | iOS & macOS development | Scoop.it

Features:

  • Shortest possible syntax for creating layout constraints.
  • Constraints are active by default.
  • 100% compatible with Auto Layout.
  • Optionally store your constraints.
  • Set constraint priorities upon creation.
  • Stack views together with one line of code.
No comment yet.
Scoop.it!

LayoutKit - Fast view layout library for iOS, macOS, and tvOS

LayoutKit - Fast view layout library for iOS, macOS, and tvOS | iOS & macOS development | Scoop.it
  • Fast: LayoutKit is as fast as manual layout code and is significantly faster than Auto Layout.
  • Asynchronous: Layouts can be computed in a background thread so user interactions are not interrupted.
  • Declarative: Layouts are declared with immutable data structures. This makes layout code easier to develop, document, code review, test, debug, profile, and maintain.
  • Cacheable: Layout results are immutable data structures so they can be precomputed in the background and cached to increase user perceived performance.
No comment yet.