Extremely Fast views layouting without auto layout. No magic, pure code, full control and blazing fast. Concise syntax, intuitive, readable & chainable. PinLayout can layouts UIView, NSView, and CALayer. UIImageView's size is 100x100 and the layout is below the UINavigationBar with a margin of 10 pixels all around. UISegmentedControl is at the right of the logo image, use the remaining horizontal space with a left and right margin of 20 pixels. UILabel is below the UISegmentedControl with a top margin of 10 pixels. Its width matched the UISegmentedControl's width. The label is multiline, so its height must be adjusted to fit its width.

Features

  • Add pin.keyboardArea property [iOS 15+]
  • New chainable Objective-C syntax
  • Automatic Sizing, use PinLayout to compute view size
  • Add methods to position a view between two other views
  • Add pin.readableMargins and pin.layoutMargins properties
  • Add sizeToFit() method

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow PinLayout

PinLayout Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of PinLayout!

Additional Project Details

Operating Systems

Apple iPhone

Programming Language

Swift

Related Categories

Swift User Interface (UI) Software

Registered

2023-06-08