GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — CodeExamples/AutoLayout at main · kharrison/CodeExamples

Expand file tree

/

AutoLayout

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

AutoLayout

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
AutoLayout.xcodeproj
AutoLayout.xcodeproj
 
 
AutoLayout
AutoLayout
 
 
README.md
README.md
 
 

README.md

Outline

AutoLayout

Auto Layout examples using Interface Builder and in code.

  • Proportional spacing using Interface Builder
  • Proportional spacing using code
  • Proportional spacing using a stack view
  • Layout Anchors
  • Layout Guides as spacer views
  • Adaptive constraints using Interface Builder and code
  • Support for Right-To-Left languages such as Arabic (run with Arabic scheme)

See the following posts further details:

  • Proportional Spacing with Auto Layout
  • Adapting Images for Size Classes
  • Pain Free Constraints with Layout Anchors
  • Goodbye Spacer Views Hello Layout Guides
  • Adapting AutoLayout Without Interface Builder
  • Natural Text Alignment for RTL Languages

Version History

  • Version 1.6 29 Jul 2016 Update for Xcode 8 and Swift 3
  • Version 1.5 12 Apr 2016 Add example of RTL Language Support
  • Version 1.4 28 Mar 2016 Adapting constraints to size classes
  • Version 1.3 27 Feb 2016 Using layout guides to space views
  • Version 1.2 22 Feb 2016 Example of using layout anchors
  • Version 1.1 31 Jan 2016 Custom Asset catalog for size classes.
  • Version 1.0 15 Jan 2016 Initial Version
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.