DonggeunJung / AutoResize

[iOS & Swift] The library Auto Resize Layout

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AutoResize

[iOS & Swift] The library Auto Resize Layout

This Library support Auto Resize Layout for All Device Monitors.

[Image1 : iPhone 5s (Before using AutoResize)] [Image2 : iPhone 5s (After using AutoResize)]

[Image3 : iPhone 8 (Default Layout device)]

< How to use >

  1. Copy 'BaseViewController.swift' file to your Source porject.

  2. Open 'ViewController.swift' file.

  3. Change super class to 'BaseViewController'

[Before]

class ViewController: UIViewController {

[After]

class ViewController: BaseViewController {

  1. Open '*.storyboard' file.

  2. Set default Device 'View as : iPhone 8'

  3. Adjust all View's size and location.

That's all.

About

[iOS & Swift] The library Auto Resize Layout


Languages

Language:HTML 78.6%Language:Swift 21.4%